How
can devices on different VLAN’s communicate?
Devices on different VLAN’s can
communicate with a router or a Layer 3 switch. As each VLAN is its own subnet,
a router or Layer 3 switch must be used to route between the subnets.
What
is a trunk port?
When there is a link between two
switches or a router and a switch that carries the traffic of more than one
VLAN, that port is a trunk port.
A trunk port must run a special
trunking protocol. The protocol used would be Cisco’s proprietary Inter-switch
link (ISL) or the IEEE standard 802.1q.
How
do I create a VLAN?
Configuring VLAN’s can vary even
between different models of Cisco switches. Your goals, no matter what the
commands are, is to:
- Create the new VLAN’s
- Put each port in the proper VLAN
Let’s say we wanted to create VLAN’s
5 and 10. We want to put ports 2 & 3 in VLAN 5 (Marketing) and ports 4 and
5 in VLAN 10 (Human Resources). On a Cisco 2950 switch, here is how you would
do it:
At this point, only ports 2 and 3
should be able to communicate with each other and ports 4 & 5 should be
able to communicate. That is because each of these is in its own VLAN. For the
device on port 2 to communicate with the device on port 4, you would have to
configure a trunk port to a router so that it can strip off the VLAN
information, route the packet, and add back the VLAN information.
What
do VLAN’s offer?
VLAN’s offer higher performance for
medium and large LAN’s because they limit broadcasts. As the amount of traffic
and the number of devices grow, so does the number of broadcast packets. By
using VLAN’s you are containing broadcasts.
VLAN’s also provide security because
you are essentially putting one group of devices, in one VLAN, on their own
network.
No comments:
Post a Comment