Vlan
Vlan
Vlan
LAN
When we connect devices into the switch ports, switch creates separate collision domain
for each port and single broadcast domain for all ports.
Switch forwards a broadcast frame from all possible ports.
In a large network having hundreds of computers, it could create performance issue.
we could use routers to solve broadcast problem, but that would be costly solution since
each broadcast domain requires its own port on router.
Switch has a unique solution to broadcast issue known as VLAN.
In practical environment we use VLAN to solve broadcast issue instead of router.
Each VLAN has a separate broadcast domain.
Logically VLANs are also subnets. Each VLAN requires a unique network number known as
VLAN ID. Devices with same VLAN ID are the members of same broadcast domain and
receive all broadcasts.
These broadcasts are filtered from all ports on a switch that aren’t members of the same
VLAN.
Reduce the size of broadcast domains
VLAN increase the numbers of broadcast domain while reducing their size.
For example we have a network of 100 devices.
Without any VLAN implementation we have single broadcast domain that
contain 100 devices.
We create 2 VLANs and assign 50 devices in each VLAN.
Now we have two broadcast domains with fifty devices in each.
Thus more VLAN means more broadcast domain with less devices.
Allow us to add additional layer of
security
VLANs enhance the network security.
In a typical layer 2 network, all users can see all devices by default.
Any user can see network broadcast and responds to it.
Users can access any network resources located on that specific network.
Users could join a workgroup by just attaching their system in existing switch.
This could create real trouble on security platform.
Properly configured VLANs gives us total control over each port and users.
With VLANs, you can control the users from gaining unwanted access over the
resources.
We can put the group of users that need high level security into their own VLAN
so that users outside from VLAN can’t communicate with them.
Make device management easier
Trunk link connection is the connection where switch port is connected with
a device that is capable to understand multiple VLANs. Usually trunk link
connection is used to connect two switches or switch to router. Remember
that VLAN can span anywhere in network, that is happen due to trunk link
connection. Trunking allows us to send or receive VLAN information across
the network. To support trunking, original Ethernet frame is modified to carry
VLAN information.
Inter-VLAN Routing