In this guide we will configure four IP subnets in the Vigor3200 and assign them to a VLAN. Since the Vigor3200 only has one LAN port we will need to configure an 802.1Q VLAN trunk between the Vigor3200 and the Planet GSW-2404SF switch. On the switch we will allocate ports for each VLAN. The diagram below shows the topology being used.
|LAN||Subnet||VLAN||VLAN TAG (VID)|
Planet Switch Settings
|Switch Port||Assigned VLAN ID||Tagged or Untagged||Comment|
|1||1, 2, 3, 4||Tagged||801.1Q trunk (Uplink)|
|2 – 6||1||Untagged|
|7 – 12||2||Untagged|
|13 – 18||3||Untagged|
|19 – 24||4||Untagged|
Step1: Enable VLANS
Go to “LAN >> VLAN Configuration”menu.
- Enable VLAN configuration
- Enable VLAN tagging for VLANs 1, 2 and 3
- Assign VID for enabled VLANs (2, 3, 4)
- Select LAN port to be assigned to the VLAN
- Click OK to save
Note: Do not enable VLAN tag for VLAN0 and LAN1 at this stage or you will lose access to the router. We enable this VLAN after we get the switch going.
Step2: Configure LANS
Go to “LAN >> General Setup” configuration menu
- Assign IP address for each LAN as shown in the diagram below. You will need to click on the details page option for each LAN to make the changes.
- If you require Inter-LAN routing select the required routing option required in the Inter-LAN Routing section of the menu.
- Click OK to save.
Step3: Enable Remote Management
Go to “System Maintenance >> Management” configuration menu and enable “Allow management from the Internet” as shown in the diagram below. This is required to allow access to the router from one of the other VLANS. (This is due to a bug in firmware version 3.3.7)
Step 4: Enable Tagged VLAN for VLAN0 (LAN1)
Note: Carry out this step after the switch has been configured and you are able to access the router via LAN2, LAN3 or LAN4. Refer to the last section “Testing and Finalising Configuration”
Tick Enable for VLAN0 and assign VID 1.
Planet Switch Configuration
Step 1: Log into the Planet Switch
Planet switch default IP address is 192.168.0.100. Default password is “admin”
Once you have logged into the switch you can change the default IP address to match the IP subnet for LAN1. Here we have used the IP address 192.168.10.100.
Step 2: Configure VLAN Membership
Go to VLAN Membership configuration menu and create VLAN ID’s and port association.
- Enter new VLAN ID and click Add
- On the next page that appears select the ports to be associated with the VLAN
- Click Apply to save. (We have assigned 6 ports for each VLAN as shown in the screen shots below)
- Repeat the steps for each VLAN (VLAN’s 1 to 4)
- Ensure port 1 is associated with all VLANs as this will be the trunk port
Note: VLAN1 is enabled by default and all ports are associated with VLAN1
Note: Port 1 must be a member of all VLAN ID’s since this will be used as the 802.1Q VLAN Trunk (uplink) from the Vigor3200 router.
Step 3: Configure VLAN Port Configuration
Go to VLAN Port configuration menu and assign VLAN ID’s for each port
- For Port 1, set this to be a Tagged port as shown below. This is required to allow the 802.1Q trunk from the Vigor3200 to work.
- For other ports configure them as Untagged
- Set PVID for each port as shown in the diagram below
- Click Apply to save.
Testing and Finalising Configuration
Before completing the configuration check that LANs 2, 3 & 4 can be accessed from the switch.
- Connect the uplink between the Vigor3200 LAN port and port 1 on the switch.
- Connect your PC to each switch port and check that the PC is assigned the correct IP address for the pre-configured VLAN.
- From each VLAN test that you can ping each router LAN IP to verify that inter-VLAN routing is working
- Check that you can log into the router web interface from LAN2 (VLAN2).
If above steps successful then carry out Step 4: Enable Tagged VLAN for VLAN0 (LAN1)