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.
Topic: Networking in IT Infrastructure · Explainer
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?
- What Are the Main Types of VLANs?
- What Are Private VLANs?
- What Does a Sample VLAN Plan Look Like?
- How Do You Keep VLANs Secure?
- What Comes After VLANs at Large Scale?
- References
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?
| Type | Purpose | Example |
|---|---|---|
| Default VLAN | Factory VLAN for all ports, usually VLAN 1 | Leave unused after setup |
| Data (user) VLAN | Normal user and application traffic | VLAN 10 Staff, VLAN 20 Finance |
| Voice VLAN | IP phones, with QoS priority | VLAN 30 Voice on the same access port as a PC |
| Management VLAN | Switch, AP and firewall administration | VLAN 99 reachable only from admin hosts |
| Native VLAN | Carries untagged frames on a trunk | Set to an unused ID such as 999 |
| Black hole VLAN | Parking place for unused ports | VLAN 666, shut down, no routing |
| Guest and IoT VLANs | Untrusted devices with internet only | VLAN 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 ID | Name | Subnet | Allowed to reach |
|---|---|---|---|
| 10 | Staff | 10.10.10.0/24 | Internet, internal apps |
| 30 | Voice | 10.10.30.0/24 | Call manager only |
| 50 | Guest | 10.10.50.0/24 | Internet only |
| 99 | Management | 10.10.99.0/24 | From admin jump host only |
| 999 | Native (unused) | None | Nothing |
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
What's Your Reaction?
Like
0
Dislike
0
Love
0
Funny
0
Wow
0
Sad
0
Angry
0