What is VLAN?
As LAN segments tend to increase and need to have logically separate entities within the same office environment, the requirement for VLANs picked up the pace.
Virtual LANs (VLANs) allows network administrators to divide a physical network into separate logical broadcast domains. By default, all hosts connected to a switch are members of the same broadcast domain.
A Virtual LAN represents a broadcast domain. These are identified by a VLAN ID (a number up to 4096), with the default VLAN on any network being VLAN 1.
Each port on a switch or router can be assigned to be a member of a VLAN (i.e. to allow receiving and sending traffic on that VLAN).
Related – VLAN vs SVI
These are implemented to achieve scalability, security and ease of network management and can quickly adapt to change in network requirements and relocation of workstations and server nodes.
Concept of VLAN –
In 1st diagram, all the ports on the switch are configured as part of common Virtual Local Area Network. This means that all the hosts i.e. PC1, PC2, PC3 and PC4 can communicate with each other directly and will be able to hear each other’s broadcast traffic.
In 2nd diagram, 1st 2 ports of Switch (SW1) are configured as part of Vlan 10 while next 2 ports configured as Vlan 20 members.
Related – VLAN vs Subnet
So now, PC1 and PC2 will directly be able to communicate with each other and hear each other’s broadcast. Same is the case with PC3 and PC4 which are part of Vlan 20.
However, nodes in Vlan 10 can’t hear Vlan 20 node’s broadcast. In case PC1 (Vlan 10) wants to communicate with PC3 (Vlan 20), the traffic will have to pass through a layer 3 device – In this case, a Router (R1) will perform inter Vlan communication.
Benefits of VLAN –
Increased security –
Separating systems having sensitive data from the rest of the network assets decreases the chances that people gaining access to confidential information.
Increased Performance –
Decreasing the latency and traffic load on the network and the network devices, offering increased performance.
Improved manageability –
flexibility for network administrators to be able to configure network switches remotely in a centralized environment while the devices might be located in different geographical locations.
More scalability –
Making expansion and relocation of a network or a network device easier
Reduced Broadcast –
VLAN based separation will limit the broadcast traffic local to the VLAN and will not be heard by nodes that are not part of different VLAN, it automatically reduces broadcasts.
Continue Reading:
Voice VLAN Configuration on Cisco
VLAN Turning Protocol, VTP Pruning
Are you preparing for your next interview?
If you want to learn more about VLAN, then check our e-book on VLAN System Interview Questions and Answers in easy to understand PDF Format explained with relevant Diagrams (where required) for better ease of understanding.
For more information related VLAN or Virtual LAN watch this video –
ABOUT THE AUTHOR
I am here to share my knowledge and experience in the field of networking with the goal being – “The more you share, the more you learn.”
I am a biotechnologist by qualification and a Network Enthusiast by interest. I developed interest in networking being in the company of a passionate Network Professional, my husband.
I am a strong believer of the fact that “learning is a constant process of discovering yourself.”
– Rashmi Bhardwaj (Author/Editor)