Last modified at 5/7/2014 6:48 PM by Koen Zomers

It is possible to configure VLANs on a Linksys SRW2016 or Linksys SRW2024 switch to create different subnets while using only one physical switch. This allows you to seperate network traffic for like your DMZ, LAN and WLAN. You will assign a different subnet for each of these and connect the subnets using a router. pfSense fits that router role perfectly, but it can be any routing device. This tutorial uses firmware v1.22.

To set up these VLANs on the SRW2016 or SRW2024, follow these steps:

  1. Connect to the webbased configuration of the SRW2016 or the SRW2024 and log in
  2.  In the menu, click on VLAN Management followed by a click on Create VLAN

  3. Enter the number you wish to identify the VLAN with and enter a descriptive name followed by a click on Add and after that Save Settings at the bottom.

  4. In the menu click on Port Setting
  5. For the network port you're going to connect your router to, change its mode from Access to Trunk. On the following screenshot, this is done for port # 12. Click Save Settings at the bottom once done.
  6. In the menu, go to Ports to VLAN
  7. At Select VLAN select the VLAN you created at step 3
  8. Now change all the ports you want to be in this VLAN/subnet to untagged and change the port being the router between the VLANs/subnets to Tagged. In the following screenshot port # 4 lies within my selected WLAN VLAN and port # 12 is the router between the VLANs.

  9. Click Save Settings at the bottom. Your VLAN has now been set up. If you want to create more VLANs, just repeat these steps. You can now configure your routing device to communicate using 802.1Q VLAN tagging towards all the VLAN subnets.