Time to Read

2 minutes

Diffrence Types of VLANs

VLANs (Virtual Local Area Networks) can be categorized into several types based on their implementation and purpose. Here are some common types of VLANs:

  1. Port-Based VLANs:
    • In port-based VLANs, network ports on a switch are assigned to a specific VLAN. Devices connected to these ports become members of the corresponding VLAN.
    • Each port on the switch can belong to only one VLAN at a time.
    • Port-based VLANs are simple to configure and commonly used in small to medium-sized networks.
  2. 802.1Q VLANs:
    • 802.1Q VLANs, also known as trunk-based VLANs, are based on the IEEE 802.1Q standard for VLAN tagging.
    • In 802.1Q VLANs, VLAN information is inserted into the Ethernet frame header, allowing switches to identify VLAN membership.
    • This type of VLAN allows for the transportation of multiple VLANs over a single physical link (trunk).
    • VLAN tags contain a VLAN ID, which helps switches to properly route traffic to the correct VLAN.
    • 802.1Q VLANs are commonly used in larger networks and are essential for interconnecting switches from different vendors.
  3. Protocol-Based VLANs:
    • Protocol-based VLANs group devices based on the type of network protocol they are using.
    • For example, you can configure a separate VLAN for Voice over IP (VoIP) traffic, video conferencing traffic, or multicast traffic.
    • This type of VLAN allows for the prioritization and optimization of specific types of traffic.
    • Protocol-based VLANs are useful in networks where different types of traffic require different quality of service (QoS) treatments.
  4. MAC Address-Based VLANs:
    • MAC address-based VLANs dynamically assign VLAN membership based on the MAC address of the device.
    • When a device connects to a switch port, the switch examines its MAC address and assigns it to the appropriate VLAN based on predefined criteria.
    • This type of VLAN allows for dynamic VLAN assignment without manual configuration.
    • MAC address-based VLANs are useful in environments where devices move frequently or where VLAN assignments need to be flexible.
  5. Private VLANs (PVLANs):
    • Private VLANs further segment VLANs into subgroups to enhance security and isolation.
    • In a PVLAN setup, there are primary VLANs and secondary VLANs. Devices within a primary VLAN can communicate with each other, but they are isolated from devices in other primary VLANs.
    • Secondary VLANs, also known as isolated VLANs, can communicate only with devices in the primary VLAN and are isolated from each other.
    • PVLANs are commonly used in environments such as shared hosting environments, where customers need to be isolated from each other for security reasons.

Each type of VLAN serves specific purposes and can be implemented based on the requirements of the network. VLANs are a fundamental technology in modern networking, providing flexibility, security, and scalability in managing network traffic.


Discover more from Sanchit Gurukul

Subscribe to get the latest posts to your email.



Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.



Discover more from Sanchit Gurukul

Subscribe now to keep reading and get access to the full archive.

Continue reading