background image
Identifying VLANs
329
Trunk links
Trunks can carry multiple VLANs and originally gained
their name after the telephone system trunks that carry multiple telephone
conversations.
A
trunk link
is a 100- or 1000Mbps point-to-point link between two
switches, between a switch and router, or between a switch and server.
These carry the traffic of multiple VLANs--from 1 to 1005 at a time. You
can't run them on 10Mbps links.
Trunking allows you to make a single port part of multiple VLANs at the
same time. This can be a real advantage. For instance, you can actually set
things up to have a server in two broadcast domains simultaneously, so
that your users won't have to cross a layer-3 device (router) to log in and
access it. Another benefit to trunking is when you're connecting switches.
Trunk links can carry some or all VLAN information across the link, but
if the links between your switches aren't trunked, only VLAN 1 informa-
tion will be switched across the link by default. This is why all VLANs are
configured on a trunked link unless cleared by an administrator by hand.
Figure 6.5 shows how the different links are used in a switched network.
Both switches can communicate to all VLANs because of the trunk link
between them. And remember, using an access link only allows one
VLAN to be used between switches. As you can see, these hosts are using
access links to connect to the switch, so that means they're communicat-
ing in one VLAN only.
F I G U R E 6 . 5
Access and trunk links in a switched network
SYSTEM
RPS
1x
2x
3x
4x
5x
6x
7x
8x
9x
10x
11x
12x
13x
14x
15x
16x
17x
18x
19x
20x
21x
22x
23x
24x
10BaseT
MODE
CISCO YSTEMS
S
Ж
UTL FDUP
STAT
Catalyst 1900
Ax
Bx
100BaseTX
SYSTEM
RPS
1x
2x
3x
4x
5x
6x
7x
8x
9x
10x
11x
12x
13x
14x
15x
16x
17x
18x
19x
20x
21x
22x
23x
24x
10BaseT
MODE
CISCO YSTEMS
S
Ж
UTL FDUP
STAT
Catalyst 1900
Ax
Bx
100BaseTX
Trunk Link
VLANs can span across multiple switches
by using trunk links, which carry traffic
for multiple VLANs
Red VLAN
Blue VLAN Green VLAN
Red VLAN
Blue VLAN Green VLAN
Copyright ©2002 SYBEX, Inc., Alameda, CA
www.sybex.com