Switching · 6 min read · 26 November 2026
What Is a VLAN? Virtual LANs Explained With Simple Examples
A VLAN splits one physical network into separate virtual networks, so staff, guests, cameras and phones cannot see each other. How VLANs work, tagging, and when you need them.
A VLAN (virtual LAN) divides one physical network into several separate networks, so devices in one VLAN cannot talk to devices in another unless a router or firewall allows it. One set of switches and cables can then carry staff, guests, cameras and phones as if each had its own network.
Why businesses use VLANs
- Security: a guest phone or an infected laptop cannot reach cameras, payment terminals or servers.
- Less noise: broadcast traffic stays inside each VLAN, so large networks stay fast.
- Priority: voice and video VLANs can get quality-of-service priority.
- Simpler changes: moving a user to another team is a switch setting, not a new cable.
A typical office plan
| VLAN | Who is in it | What it may reach |
|---|---|---|
| Staff | PCs, laptops, printers | Internet, servers, printers |
| Voice | IP phones | The phone system (PBX) |
| Cameras | IP cameras, NVR | Only the recorder and the security team |
| Guests | Visitor Wi-Fi | Internet only |
| Management | Switches, access points, gateway | IT administrators only |
How VLANs work
Each VLAN has a number from 1 to 4094. A switch port is set up in one of two ways:
- Access port: belongs to one VLAN; the connected PC, camera or phone does not need to know about VLANs.
- Trunk port: carries several VLANs between switches, access points and the gateway. Each frame gets a small IEEE 802.1Q tag that says which VLAN it belongs to.
The guide access port vs trunk port goes deeper. To let VLANs talk to each other in a controlled way, a router, gateway or Layer 3 switch routes between them and the firewall decides what is allowed; see inter-VLAN routing.
What you need
- Managed switches: unmanaged switches cannot create VLANs.
- Access points that map each Wi-Fi name (SSID) to a VLAN.
- A gateway or Layer 3 switch with firewall rules between the VLANs.
Step-by-step settings are in configure VLANs on a managed switch and segment IoT and CCTV devices.
FAQ
Frequently asked questions
Is a VLAN the same as a subnet?
Not exactly, but they usually go together: each VLAN normally gets its own IP subnet, and a router or Layer 3 switch connects the subnets.
Do VLANs make the network slower?
No. Tagging adds only a few bytes to each frame. VLANs often make networks faster because broadcast traffic stays inside each VLAN.
Can I use VLANs with an unmanaged switch?
No. VLANs need managed switches. An unmanaged switch puts every port in the same network.
Are VLANs enough for security?
They are an important first step. Combine them with firewall rules between VLANs, strong Wi-Fi security and controlled admin access.
Related
Keep reading
An access point controller configures and monitors many Wi-Fi access points from one place. How controllers work, how they compare with cloud management and standalone APs, and when you need one.
Read more →Fibre vs Copper Ethernet: When to Use Each in a Business NetworkCopper Ethernet is cheap and carries PoE up to 100 m; fibre covers long distances, resists interference and links buildings. How to decide between fibre and copper for each link.
Read more →Bullet vs Dome Camera: Which Security Camera Fits Where?Bullet cameras are visible, long-range deterrents for outdoors; dome cameras are discreet and vandal-resistant for ceilings. How to choose between them, plus turret and PTZ options.
Read more →Need help designing your network?
Navijin engineers provide free design consultations, bills of materials and quotations for business projects.