The Big Picture

VLANs (Virtual Local Area Networks) let you logically separate network traffic without buying separate switches for each department. Think of it as creating invisible walls inside your network.

One physical switch can act like multiple separate switches - Sales traffic stays with Sales, Engineering stays with Engineering, and Guests are isolated from everyone!

The Problem: Broadcast Chaos

Imagine an office with 500 computers all on the same network. Every time one computer sends a broadcast (like "Who has this IP?" or "I'm looking for a printer!"), ALL 500 computers receive it.

  • Network becomes slow from constant broadcast traffic
  • Security nightmare - anyone can see everyone's traffic
  • Accounting can sniff Engineering's data packets
  • Guest WiFi users can scan your entire network

The Solution: VLANs Create Boundaries

With VLANs, you create separate broadcast domains. A broadcast from VLAN 10 (Sales) stays in VLAN 10 - it never reaches VLAN 20 (Engineering).

"Think of VLANs like separate radio frequencies. Sales is on FM 101.1, Engineering is on FM 102.3. They can't hear each other even though they're using the same radio tower (switch)!"

Now if someone in Sales sends a broadcast, only the 50 Sales computers receive it - not all 500 computers. 90% less broadcast traffic!

Why Use VLANs?

Benefit How It Helps
Security Isolate sensitive traffic (payroll, HR, servers)
Performance Smaller broadcast domains = less noise
Cost Savings One switch does the work of many
Flexibility Move users by changing port config, not cables
Organization Group by function, not physical location

VLAN Quick Facts

Property Value
Standard IEEE 802.1Q
VLAN Range 1-4094 (0 and 4095 reserved)
Normal Range 1-1005 (stored in vlan.dat)
Extended Range 1006-4094 (requires VTP transparent)
Default VLAN VLAN 1 (cannot delete)
Tag Size 4 bytes added to frame

Want More Detail?

Ready to see tagging in action? Try the interactive tabs above! →

Watch how frames get tagged and untagged as they travel through the network!

Send a Frame

Current Frame Structure

Dest MAC
6 bytes
Src MAC
6 bytes
Type
2 bytes
Data
46-1500
FCS
4 bytes

Untagged frame at source PC

How Tagging Works

1. PC sends untagged frame → Access port

2. Switch adds 802.1Q tag → Frame enters trunk

3. Frame travels tagged → Between switches

4. Switch removes tag → Before delivery to PC

Click on switches or devices to see their port configurations!

Port Types

Access Single VLAN, end devices
Trunk Multiple VLANs, switch-to-switch

VLANs

VLAN 10 - Sales
VLAN 20 - Engineering
VLAN 30 - Guest

Click a switch or device to view
its port configuration

VLANs are isolated! Select a routing method to see how traffic flows between VLANs.

Routing Method

Test Traffic

No Inter-VLAN Routing

VLANs are isolated at Layer 2

Current: No Routing

Without Layer 3 routing, VLANs cannot communicate. Each VLAN is a separate broadcast domain.