With my planning complete, it's time to create the VLANs. Creating VLANs in the SRW is simply a matter of clicking the "Create VLAN" menu and numbering and naming your VLANs. I'm splitting Voice and Data on this network, yet I'm going to create three VLANs so I can name and fully manage all VLANs in use.
Figure 7 shows my created VLANs (2,3,4). Note that VLAN1 already existed in the SRW's default configuration; this is the VLAN of the management interface of the SRW.
Figure 7: Created VLANs named appropriately
The next step is to map the physical switch ports to the appropriate VLANs. This is a multistep process, and involves a couple of terms specific to the SRW. The Linksys SRW has several port types for VLANs: Access, General, and Trunk. Other switches may use different terminology, so I'll describe what these terms mean.
Linksys defines Access and Trunk ports similar to Cisco's definitions—which makes sense, as Linksys is a division of Cisco. An Access port is one that belongs to a single VLAN. Frames received on ports configured as Access cannot be modified, and more advanced VLAN port features such as filtering are disabled.
A Trunk port is defined by Linksys as belonging to multiple VLANs in which all ports are "Tagged" with a VLAN ID. Two or more VLAN capable switches can be configured with VLANs, connected together with trunks, and the frames passed between them Tagged by the sending switch to identify the destination VLAN.
I'm using Linksys' port type of General, which allows a port to be a member of multiple VLANs, and have the option of Tagging. I'm going to use the UnTagged option for all VLANs in this example.
Changing a port's type on the SRW is done in the Port Setting menu (Figure 8), and there is a simple drop down selector for each port. I changed all eight ports to a Mode of General, and clicked Save.
Figure 8: Selecting the General port mode
Now that the VLANs are created, and we've configured the ports to allow membership to multiple VLANs, we can assign ports to VLANs. The end result (summarized in Table 1) I want is:
- Ports 1 and 8 to be members of the Network (2), Data (3), and VoIP (4)VLANs
- SRW management interface on the Network VLAN 2
- Ports 2–5 on the Network and Data VLAN 3
- Ports 6–7 on the Network and VoIP VLAN 4
|VLAN 1 (Default)|
|VLAN 2 (Network)||X||X||X||X||X||X||X||X|
|VLAN 3 (Data)||X||X||X||X||X||X|
|VLAN 4 (VoIP)||X||X||X||X|
Table 1: Port to VLAN mapping summary
The quickest way to do this on the SRW is via the Ports to VLAN menu. At the top, you select VLAN. You can't edit any of the settings on VLAN1, so I selected the VLAN indicated as "2, Network." I want all ports to be members of VLAN2, so I changed each port from the default "Excluded" button, to the "UnTagged" button, as in Figure 9.
Figure 9: Configuring access to VLAN2
Next, I want ports 1–5 and 8 to be members of the Data VLAN, so I selected UnTagged for those ports for the VLAN indicated as "3, Data," as in Figure 10.
Figure 10: Configuring access to VLAN3
Last, I want ports 1 and 6–8 to be members of the VoIP VLAN, so I selected UnTagged for those ports for the VLAN indicated as "4, VoIP," as in Figure 11.