What's the point of VLANs if everything works without them?
I built a network in the lab with multiple PCs and switches and everything pings fine without VLANs. So why bother? What real problem do VLANs solve? My instructor says they're essential but I don't see why when the flat network already works.
- Without VLANs, every device is in one broadcast domain. One PC sending an ARP request hits EVERY device on the network. With 500 devices that's a huge amount of broadcast traffic eating bandwidth. VLANs segment the network so broadcasts stay within their VLAN. — NivSa,
- Security too. Put your servers on VLAN 100, printers on VLAN 200, guest WiFi on VLAN 300. Now you can use ACLs between them to control who reaches what. Without VLANs, any device can talk to any other device directly at Layer 2 — there's no way to filter. — 22maya2n2,
- Try building a flat network with 10 PCs in the lab here, then ping and watch the broadcast traffic in the capture tab. Then add VLANs and see the difference — broadcasts stay contained. It's very visual and makes the point immediately. — ben31833,
1 Answer
It "works" without them because one flat switch = one broadcast domain, and at three PCs on a bench that's fine. VLANs earn their keep the moment you scale or care about isolation. What they actually buy you:
- Broadcast containment. Every ARP, DHCP DISCOVER, and broadcast storm floods the whole domain. Split into VLANs and each is its own broadcast domain — less noise, better performance.
- Segmentation / security. Hosts in different VLANs can't reach each other at L2. A compromised or misconfigured host in VLAN 20 doesn't touch VLAN 10 unless a router (with ACLs) lets it.
- Logical grouping. Group by function (voice / staff / guest) regardless of which switch or floor a device physically plugs into.
- Fault domain. A loop or broadcast issue stays inside one VLAN instead of taking down everyone.
Different VLANs = different subnets, so crossing them needs L3 (router or SVI) — that's inter-VLAN routing. To carry several VLANs over one switch-to-switch link you use an 802.1Q trunk, which tags each frame with its VLAN ID.
Lab it: two switches, an access port in VLAN 10 and one in VLAN 20 on each, make the interconnect a trunk. Ping across — dead at L2 until you add routing. Watch a broadcast stay penned inside its VLAN.
- The broadcast-containment demo made it click for me — pinging a broadcast in VLAN 10 and seeing VLAN 20 stay silent was way more convincing than the textbook definition. — 22maya2n2,