VLANs (Virtual Local Area Networks) & 802.1Q
A VLAN is a logically segmented broadcast domain configured on Layer 2 switches that isolates network traffic without requiring physical cabling separation.
1 VLAN = 1 Broadcast Domain = 1 IP Subnet. Access ports connect end hosts (untagged); Trunk ports connect switches (802.1Q tagged).
In Simple Terms
Visual Diagram & Flow
192.168.10.0/24
(Tags: 10, 20)
192.168.20.0/24
VLANs provide vital department security, contain broadcast storms, optimize bandwidth, and simplify network management.
How It Works (Technical Breakdown)
A physical switch is like an apartment building. Creating VLANs is like installing secure keycard access on different floors so guests on Floor 2 cannot walk onto Floor 3.
Switch 1 has VLAN 10 (Sales: `192.168.10.0/24`) and VLAN 20 (Finance: `192.168.20.0/24`). Port Gi0/24 is configured as an 802.1Q trunk carrying VLANs 10 and 20 to Switch 2.
Assigning different VLANs to the same IP subnet, or forgetting that devices in different VLANs CANNOT communicate without a Layer 3 routing device.
Prerequisites
Concept Mastery Quiz
Test your comprehension with active-recall questions.
Active Recall Flashcards
Click each flashcard to reveal the answer and test your memory.
Content Versioning
Audit trail of revisions and updates for this knowledge topic.
| Version | Change Summary | Author | Timestamp |
|---|---|---|---|
| v1 (Current) | Active production content | system | Sun, Aug 23, 2026 11:09 AM |