A
PPLICATION
E
XAMPLES
2-5Making VLAN Connections
VLANs can be based on port groups, or each data frame can be explicitly
tagged to identify the VLAN group to which it belongs. When using
port-based VLANs, ports can either be assigned to one specific group or
to all groups. Port-based VLANs are suitable for small networks. A single
switch can be easily configured to support several VLAN groups for
various organizational entities (such as Finance and Marketing).
When you expand port-based VLANs across several switches, you need to
make a separate connection for each VLAN group. This appr oach is,
however, inconsistent with the Spanning Tree Protocol, which can easily
segregate ports that belong to the same VLAN. When VLANs cross
separate switches, it is therefore better to use VLAN tagging. This allows
you to assign multiple VLAN groups to the “trunk” por ts (that is, tagged
ports) connecting different switches.
Figure 2-4. Making VLAN Connections
Finance
Marketing
VLAN3
UntaggedPorts
VLAN
unaware
switch
TaggedPort
VLAN
aware
switch
Tagged
Ports
Finance
VLAN3
R&D
VLAN2
Testing R&D
Testing
VLAN1
VLAN2
VLAN4
VLAN1
PWR
Diag
M1
M2
1
23
45
67
89
10 11
12 13
14 15
16 17
18 19
20 21
22 23
24