Types of VLANs Explained with Examples: Default, Data, Voice and More

A VLAN (virtual LAN) splits one physical switch network into separate logical broadcast domains using the IEEE 802.1Q tag.

Jul 01, 2025 - 12:11
Updated: 
108k

Networking in IT Infrastructure · Explainer

Types of VLANs Explained with Examples: Default, Data, Voice and More

Quick answer: A VLAN (virtual LAN) splits one physical switch network into separate logical broadcast domains using the IEEE 802.1Q tag. The common types are the default VLAN (VLAN 1, where every port starts), data or user VLANs for normal traffic, voice VLANs that keep IP phones on their own segment with priority, a management VLAN for switch and router administration, the native VLAN that carries untagged frames on a trunk, an unused or black hole VLAN for parked ports, and private VLANs that isolate hosts inside one subnet. Good design moves everything off VLAN 1 and routes between VLANs through filtering.

Key takeaways

  • 802.1Q adds a 4-byte tag with a 12-bit VLAN ID, so IDs run from 1 to 4094 in practice.
  • VLAN 1 is the default on most switches; do not use it for users or management.
  • Voice VLANs separate phone traffic and let QoS prioritise it.
  • Private VLANs isolate hosts that share one subnet, such as guest rooms or servers.
  • VLANs are segmentation, not a full security control; filter traffic between them.

Table of Contents

What Is a VLAN and How Does Tagging Work?

A switch normally forwards broadcasts to every port. A VLAN limits that to ports in the same group, so a finance PC and a CCTV camera on the same switch never see each other's broadcasts. The IEEE 802.1Q standard defines a tag inserted into the Ethernet frame. It carries a 12-bit VLAN ID (0 and 4095 are reserved) and a 3-bit priority field used for quality of service.

An access port belongs to one VLAN and sends untagged frames to the end device. A trunk port carries many VLANs between switches, routers and firewalls, with tags kept on the frames.

What Are the Main Types of VLANs?

TypePurposeExample
Default VLANFactory VLAN for all ports, usually VLAN 1Leave unused after setup
Data (user) VLANNormal user and application trafficVLAN 10 Staff, VLAN 20 Finance
Voice VLANIP phones, with QoS priorityVLAN 30 Voice on the same access port as a PC
Management VLANSwitch, AP and firewall administrationVLAN 99 reachable only from admin hosts
Native VLANCarries untagged frames on a trunkSet to an unused ID such as 999
Black hole VLANParking place for unused portsVLAN 666, shut down, no routing
Guest and IoT VLANsUntrusted devices with internet onlyVLAN 50 Guest Wi-Fi, VLAN 60 Cameras

What Are Private VLANs?

Private VLANs, described in RFC 5517, split one primary VLAN into secondary VLANs while hosts keep the same IP subnet:

  • Promiscuous port: talks to everyone, typically the gateway.
  • Isolated VLAN: hosts reach only the promiscuous port, never each other.
  • Community VLAN: hosts talk within their community and to the promiscuous port.

Hotels, hosting providers and DMZ server farms use them to stop one compromised host from reaching its neighbours.

What Does a Sample VLAN Plan Look Like?

VLAN IDNameSubnetAllowed to reach
10Staff10.10.10.0/24Internet, internal apps
30Voice10.10.30.0/24Call manager only
50Guest10.10.50.0/24Internet only
99Management10.10.99.0/24From admin jump host only
999Native (unused)NoneNothing

A Cisco-style access port with a data and voice VLAN looks like this (syntax varies by vendor):

interface GigabitEthernet1/0/5
 switchport mode access
 switchport access vlan 10
 switchport voice vlan 30
 spanning-tree portfast

How Do You Keep VLANs Secure?

  • Move users and management off VLAN 1 and set the native VLAN to an unused ID.
  • Disable automatic trunk negotiation; set ports to access or trunk explicitly.
  • Prune trunks so they carry only the VLANs needed.
  • Shut unused ports and assign them to the black hole VLAN.
  • Route between VLANs through a firewall or ACLs, as advised in the NSA Network Infrastructure Security Guide.

These steps block the double tagging and switch spoofing risks explained in our guide to VLAN hopping attacks and prevention. For how VLANs fit with other network types, see LANs, WANs, VLANs, VPNs and MANs.

What Comes After VLANs at Large Scale?

The 12-bit ID limits a network to about 4,094 VLANs. Data centres and clouds use overlays such as VXLAN (RFC 7348), which has a 24-bit identifier for about 16 million segments. NIST SP 800-215 and NIST SP 800-207 also describe microsegmentation and zero trust, where access is checked per user and device rather than per VLAN. To practise VLAN design in a lab, explore WebAsha's CCNA and networking training.

References

Frequently Asked Questions

A VLAN is a logical group of switch ports that behaves like a separate network, keeping broadcasts and traffic apart from other groups.

The default VLAN is the VLAN every port belongs to out of the box, usually VLAN 1, and it should not carry user or management traffic.

A voice VLAN carries IP phone traffic on its own segment so quality of service can prioritise calls over ordinary data traffic.

The native VLAN carries untagged frames on an 802.1Q trunk. Setting it to an unused ID reduces double tagging risk.

A management VLAN carries administrative access to switches, access points and firewalls, and should be reachable only from approved admin hosts.

Private VLANs isolate hosts inside one subnet, so guests or servers cannot talk to each other while still reaching the gateway.

The 802.1Q VLAN ID field is 12 bits, giving usable IDs from 1 to 4094, although individual switch models may support fewer.

VLANs provide segmentation, but they must be combined with firewall rules, trunk hardening and access control to give real protection.

What's Your Reaction?

Like Like 0
Dislike Dislike 0
Love Love 0
Funny Funny 0
Wow Wow 0
Sad Sad 0
Angry Angry 0
Vaishnavi

Vaishnavi is a skilled tech professional at the Ethical Hacking Training Institute in Pune, responsible for managing and optimizing the technical infrastructure that supports advanced cybersecurity education. With deep expertise in network security, backend operations, and system performance, she ensures that practical labs, online modules, and assessments run smoothly and securely. Her behind-the-scenes contributions play a vital role in delivering a seamless and secure learning experience for aspiring ethical hackers.