HomeAboutContactBook a VisitPartners & Clientele Managed WiFi Security & CCTV Smart Home Automation NAS Solutions Server Solutions PBX Solutions Audio Visual Network Design Heat Mapping Custom PC Case Studies Wi-Fi 5 vs 6 vs 7 Managed WiFi vs ISP NAS vs Cloud Storage KNX vs WiFi Automation Wired vs Wireless VLANs: Trunk vs Access Switches: Unmanaged vs L2 vs L3 IPv4 vs IPv6 WiFi Signals Explained Fibre vs 4G, 5G and 5.5G ع
HomeVLANs: Trunk vs Access
Guide · Plain English

One Wire.
Many Networks.

Tagged, untagged, trunk, access — four words that stop most people reading. They describe something simple: how one cable can carry several separate networks without letting them mix. Here's the whole idea, without the jargon.

A flat network compared with a network split into VLANs On the left every device sits on one flat network and can reach every other device. On the right the same devices are divided into three VLAN lanes, so traffic stays within its own lane. One flat network Any device can reach any other. One infection, one nosy guest, spreads everywhere. Split into VLANs VLAN 20 · Staff VLAN 30 · Guest VLAN 40 · IoT / CCTV Traffic stays in its own lane. A problem in one lane cannot touch the others.
A VLAN is a lane marking, not a wall. Same cables, same switches — but traffic is kept in its own lane, so a compromised camera or a curious guest cannot wander into your files.
01 · The Short Answer

Access Ports Face Devices. Trunks Join Switches.

In short: an access port is where the network ends and a device begins — a laptop, a printer, a camera, a games console. It belongs to exactly one VLAN, and it hands over plain, unlabelled traffic, so the device never needs to know VLANs exist. A trunk port is where the network keeps going — switch to switch, switch to router, switch to an access point broadcasting several WiFi networks. It carries many VLANs at once, so every frame needs a label saying which one it belongs to. That label is the tag. Tagged means labelled; untagged means plain.

The reason any of this exists is that running separate cables for every separate network would be absurd. If you wanted the office PCs, the phones, the CCTV and the guest WiFi kept apart, the old way was four physical networks — four sets of cables, four switches, four times the cost. VLANs let one physical network behave as many logical ones, and the tag is what keeps them from being confused with each other.

Everything else in this guide is detail on those two sentences: what the tag actually looks like, where it gets added and removed, what you gain by splitting a network up, and why this matters just as much in a three-bedroom villa as in a corporate headquarters.

02 · The Idea

What A VLAN Actually Is

Forget the acronym. A VLAN is a lane marking painted onto a road you already own.

On a normal home or small-office network, everything is on one flat network: your laptop, the smart TV, the doorbell camera, the guest who came for dinner, the cheap smart plug you bought online. They can all see each other. Most of the time that is harmless, and it is why flat networks are the default — they need no thought at all.

The problem is what happens when one of those things is untrustworthy. The weakest device on a flat network sets the security level of everything on it. A budget IP camera running firmware that was last updated three years ago sits on the same network as the laptop with your bank details. A guest's phone, carrying whatever it picked up elsewhere, joins the same network as your NAS. Nothing has to be dramatic for this to matter: it is simply an unnecessary risk that costs nothing to remove.

A VLAN removes it by painting lanes. The cables don't change. The switch doesn't change. What changes is that the switch now refuses to carry traffic from the camera lane into the laptop lane. Devices in different VLANs cannot talk to each other at all unless a router or firewall is explicitly told to allow it — and that "explicitly told" is the entire point. Access becomes something you grant deliberately, rather than something that exists by accident.

The second benefit is quieter but just as real: broadcast noise. Devices constantly shout to the whole network looking for each other — printers announcing themselves, TVs hunting for casting targets, apps scanning for smart devices. On a flat network with a hundred devices, every one of those shouts reaches every device. Split into lanes, each shout only reaches its own lane. On a busy network you feel this as a general improvement in responsiveness that is hard to attribute to anything specific.

03 · Tagged & Untagged

The Label Is Four Bytes

This is the mechanism the whole subject rests on, and it is genuinely small.

An ordinary Ethernet frame has no idea which VLAN it belongs to. It has a destination, a source, a type, the data itself and a checksum. That's it. To make VLANs work, the standard called IEEE 802.1Q inserts a small label into the frame — four bytes, sitting just after the sender's address.

Those four bytes carry a fixed marker value of 0x8100 that says "a tag follows", three bits of priority (which is how voice traffic gets to jump the queue ahead of a file download), one bit marking the frame as droppable if things get congested, and — the part that matters most — twelve bits holding the VLAN ID. Twelve bits gives 4,096 possible values, of which 0 and 4095 are reserved, leaving 1 to 4094 usable. That is the number that decides which lane the frame is in.

Adding four bytes grows the maximum frame from 1518 to 1522 bytes. Worth knowing, because very old equipment occasionally objects to the larger frame and drops it silently — one of those faults that looks mysterious until you know to look for it.

An untagged Ethernet frame compared with an 802.1Q tagged frame A normal Ethernet frame has destination MAC, source MAC, EtherType, payload and checksum. A tagged frame inserts a four-byte 802.1Q tag after the source MAC, containing a fixed TPID of 0x8100, a three-bit priority field, a one-bit drop indicator and a twelve-bit VLAN ID. The frame grows from 1518 to 1522 bytes. UNTAGGED — what a PC sends DEST MAC SRC MAC TYPE PAYLOAD FCS 1518 bytes max TAGGED — what travels on a trunk DEST MAC SRC MAC 802.1Q TAG TYPE PAYLOAD FCS 1522 bytes max THE 4-BYTE TAG — THIS IS THE WHOLE TRICK TPID 0x8100 always this value PCP priority DEI droppable VID 1–4094 12 bits · which VLAN Only the VLAN ID field decides which network the frame belongs to.
Untagged is the normal frame; tagged is the same frame with a label inserted. The device at the end of an access port only ever sees the untagged version — the switch adds and removes the label without the device knowing.
04 · Where Tags Go On And Off

Follow One Frame Across The Building

The clearest way to understand access and trunk is to watch a single frame make the trip.

The journey of a frame from PC through access port, trunk and back to an access port A PC sends plain untagged traffic into an access port. The switch adds VLAN tag 20. The frame crosses the trunk carrying several VLANs. The far switch strips the tag and delivers plain traffic out of its access port to another PC. PC untagged ACCESS PORT tag added TRUNK tagged 10/20/30 ACCESS PORT tag stripped PC untagged plain + TAG 20 TAG 20 − TAG plain The device never knows. The switch does all the labelling. An access port is where the tag is put on or taken off. A trunk port is where tagged traffic for several VLANs travels together. This is why a printer, camera or games console needs no VLAN settings of its own — it plugs into an access port and sees an ordinary network.
Tags exist only inside the network. They are put on at the entry access port and taken off at the exit access port — which is why no device you own ever needs configuring for VLANs.

A PC on VLAN 20 sends completely ordinary traffic. It has no VLAN settings and needs none. The switch port it is plugged into is an access port assigned to VLAN 20, so the switch stamps a tag saying "20" onto every frame as it comes in. That frame then crosses the trunk to the next switch, sharing the cable with tagged traffic from VLANs 10 and 30, each one labelled and therefore unmixable. At the far end, the receiving switch reads the tag, sends the frame out of a port belonging to VLAN 20, and strips the label off on the way out. The receiving PC gets plain, ordinary traffic — exactly as if the two machines were plugged into the same small switch.

This is why a "VLAN-capable" printer or camera is almost never necessary. The intelligence lives in the switch, not the device. The only equipment that genuinely needs to understand tags is equipment sitting on a trunk: another switch, a router or firewall, and access points broadcasting several WiFi networks at once — a staff SSID on VLAN 20, a guest SSID on VLAN 30, all down one cable.

05 · Side By Side

Access vs Trunk At A Glance

Every port on a managed switch is one or the other. Getting it wrong is the single most common cause of "it works over here but not over there".

DimensionAccess PortTrunk Port
CarriesExactly one VLANMany VLANs at once
TaggingNone — traffic leaves plain and untaggedAn 802.1Q tag on every frame
Plugs intoLaptop, PC, printer, IP phone, camera, TV, consoleAnother switch, a router or firewall, or an access point serving several SSIDs
Does the device need configuring?No — it sees an ordinary networkYes — both ends must agree on the VLAN list
How many on a typical switchMost portsUsually just the uplinks — often one or two
Symptom when set wrongTrunk where access belongs: usually nothing works at allAccess where trunk belongs: one VLAN works, the rest silently vanish
Typical wording in the interface"Access", "Untagged", "PVID""Trunk", "Tagged", "Allowed VLANs"
Think of it asA letterbox on one door — everything inside belongs to that flatThe delivery van for the whole building — every parcel needs a label

Vendors use different words for the same thing. Ubiquiti UniFi and TP-Link Omada tend to say "native VLAN" and "tagged networks" rather than access and trunk; MikroTik and Cisco use tagged/untagged and access/trunk directly. The concept underneath is identical.

06 · Segregation & Isolation

What You Actually Gain

Splitting the network is not busywork. Each lane buys you something specific.

Isolation matrix showing which VLANs may talk to which A grid of four VLANs. Devices talk freely within their own VLAN. Staff may reach cameras and IoT for management. Guest and IoT cannot reach staff or each other. All VLANs reach the internet through the firewall. WHO IS ALLOWED TO TALK TO WHOM The router decides. Nothing crosses unless you write a rule. Staff Guest IoT Cameras Staff ✓ own Guest ✓ own IoT ✓ own Cameras ✓ own Rows are the source. Columns are the destination. Every VLAN still reaches the internet through the firewall.
Separation is the default; access is the exception. Traffic only crosses between VLANs where a firewall rule says it may — so "the camera can never reach the accounts PC" becomes a fact about the network, not a hope.
ContainmentIf one device is compromised, the damage stops at the edge of its VLAN. The weakest device no longer sets the security level for everything else.
Guest separation that actually worksVisitors get internet and nothing else — no browsing your shared folders, no seeing the NAS, no reaching the cameras.
Quieter networkBroadcast chatter stays inside each lane instead of reaching every device, which shows up as general responsiveness.
Priority where it mattersThe tag carries three priority bits, so voice and video can be marked to jump ahead of bulk downloads at every switch on the path.
Cameras that cannot phone homePut CCTV on a VLAN with no route to the internet. It records to your NVR and cannot send anything anywhere else — a common requirement for privacy-conscious sites.
Fault-finding you can reason aboutWhen traffic is grouped by purpose, a problem is localised by definition. "The IoT lane is misbehaving" is a far smaller search than "the network is slow".
07 · Who Needs This

Not Just For Big Companies

The same four lanes serve a villa, a café, a clinic and a gaming setup. Only the labels change.

A practical four-VLAN plan for a home, a gamer or a small business Four segments: a main or staff VLAN for trusted devices, a work and gaming VLAN with traffic priority, a guest VLAN with internet only, and an IoT and camera VLAN with no internet access at all. VLAN 20 MAIN / STAFF Laptops, phones, NAS, printer Trusted. Reaches what it needs. VLAN 25 WORK / GAMING Console, gaming PC, work laptop Priority queue. Low latency. VLAN 30 GUEST Visitors, contractors, events Internet only. Nothing else. VLAN 40 IoT / CAMERAS Cameras, TV, plugs, sensors No internet. Staff off-limits. The same four lanes work in a villa, a clinic, a café or a gaming setup — only the names change.
A sensible starting plan. Four segments covers the overwhelming majority of homes and small businesses. More is possible; more is rarely necessary.
Home & Villa

Where The Risk Is Cheapest To Remove

  • IoT gets its own lane. Smart plugs, bulbs, TVs and robot vacuums are the least maintained devices you own. Keep them away from laptops and the NAS.
  • Cameras go somewhere with no way out. Recording locally to an NVR, with no route to the internet, means footage cannot leave the building.
  • Guests get internet only. Nobody's visiting phone needs to browse your files, and a guest VLAN makes sharing the password harmless.
  • Kids' devices can be shaped separately — different rules, different schedules, without touching the rest of the house.
Gamers & Streamers

Latency Is A Neighbour Problem

  • The enemy is jitter, not bandwidth. A gigabit line still plays badly if a backup or a 4K stream is bursting alongside your session.
  • A gaming VLAN with priority marking lets the switch put your traffic ahead of bulk transfers at every hop, not just at the router.
  • Isolate the noisy devices — cameras uploading, consoles auto-updating, a housemate's torrent — so they compete less for the same queue.
  • Wired first. Segmentation improves a stable connection; it cannot rescue a marginal wireless link. Cable the gaming position if you possibly can.
SMB & SME

Where It Stops Being Optional

  • Card payments and POS belong on their own segment, away from staff browsing and customer WiFi — often a condition of compliance, not a preference.
  • Customer WiFi must not touch business systems. A café's guest network and its back-office accounts PC should have no path between them.
  • Phones on a voice VLAN with priority marking is the difference between calls that sound professional and calls that stutter when someone uploads a file.
  • Cameras and door access on an isolated segment — standard practice, and increasingly expected during any security review.
  • Contractors get a scoped lane that expires, rather than the main network password that never changes.
Enterprise & Campus

Where It Is Simply Assumed

  • Departmental separation — finance, HR and engineering with different reach, enforced by the network rather than by trust.
  • Building services on their own VLANs — lifts, HVAC, access control and lighting, each isolated from staff traffic and from each other.
  • A management VLAN so switches, access points and firewalls are administered on a segment ordinary users cannot even see.
  • Audit and compliance — segmentation is a documented control, and being able to show the boundaries is often as important as having them.

The Honest Threshold: Do You Have Anything Worth Separating?

If your network is a router, two laptops and a phone, VLANs are overhead with no payoff — and we will tell you that rather than sell you a managed switch. The threshold is not size, it's mixture. The moment you have devices you don't fully trust sitting alongside devices that matter — a dozen smart-home gadgets, cameras, a guest network people actually use, a NAS with everything on it, a payment terminal — segmentation starts earning its keep.

What it costs is a managed switch and an access point that supports multiple SSIDs, which for most homes and small offices is the equipment you would sensibly buy anyway. What it does not require is a rewire: VLANs run over the cabling you already have. If the cabling itself is the problem, that's a different question — our wired vs wireless guide covers it.

08 · What Trips People Up

The Five Mistakes Everyone Makes

Every one of these produces a fault that looks like something else entirely.

The Native VLAN

The classic silent failure
  • One VLAN on a trunk is allowed to travel untagged — the "native" VLAN
  • Both ends must agree which one, or traffic quietly lands in the wrong network
  • Many switches default it to VLAN 1, which is also the default for everything else
  • Leaving it at VLAN 1 is the precondition for double-tagging attacks, where a crafted frame carries two tags and jumps a lane
  • Set it deliberately to an unused VLAN, and don't put real traffic on VLAN 1

Four More Worth Knowing

Cheap to avoid, annoying to diagnose
  • "Allowed" is not "created". A trunk only passes the VLANs you list — add a VLAN and forget the trunk, and it works on one floor and dies on the next
  • Wrong mode, weird symptoms. Access where a trunk belongs gives "only one VLAN works"; trunk where access belongs usually gives nothing at all
  • Phone with a PC behind it. The common hybrid — untagged data VLAN for the PC plus a tagged voice VLAN for the phone, on one port
  • No router, no crossing. VLANs cannot talk to each other without something routing between them — that's the feature, but people forget when the printer needs sharing
  • Forgetting the management VLAN. Segment carelessly and you can lock yourself out of the switch you're configuring
09 - Questions

VLAN FAQs

The questions people ask once they realise this is simpler than it sounded.

What is a VLAN, in plain English?
A VLAN is a way of splitting one physical network into several separate ones without running extra cables. Think of it as painting lane markings on a road you already own: the cabling and switches do not change, but the switch now refuses to carry traffic from one lane into another. Devices in different VLANs cannot reach each other at all unless a router or firewall is explicitly configured to allow it. That is the whole point — access becomes something you grant deliberately rather than something that exists by accident.
What is the difference between tagged and untagged traffic?
Untagged traffic is an ordinary Ethernet frame with nothing identifying which VLAN it belongs to — this is what every normal device sends and expects to receive. Tagged traffic has a small label inserted into the frame under the IEEE 802.1Q standard, saying which VLAN it belongs to. The tag is only needed where several VLANs share one cable, so it is added when traffic enters the network at an access port and stripped off again when it leaves at the far access port. Your laptop, printer or camera only ever sees untagged traffic and needs no VLAN configuration of its own.
What is the difference between an access port and a trunk port?
An access port belongs to exactly one VLAN and faces an end device — a PC, printer, IP phone, camera or games console. It hands over plain untagged traffic, so the device is unaware VLANs exist. A trunk port carries many VLANs at once and faces other network equipment — another switch, a router or firewall, or an access point broadcasting several SSIDs. Because it carries several VLANs down one cable, every frame on a trunk needs a tag so the far end can sort them back out. On a typical switch, most ports are access ports and only the uplinks are trunks.
How big is a VLAN tag and how many VLANs can I have?
The 802.1Q tag is four bytes inserted just after the sender address. It contains a fixed marker value of 0x8100 indicating a tag follows, three priority bits used to let voice and video jump the queue, one bit marking the frame as droppable under congestion, and twelve bits holding the VLAN ID. Twelve bits gives 4,096 values, of which 0 and 4095 are reserved, so the usable range is 1 to 4094. The extra four bytes grow the maximum frame from 1518 to 1522 bytes, which very old equipment occasionally objects to — a rare but genuinely confusing cause of silent packet loss.
Do I need VLANs at home, or is this only for businesses?
The threshold is not size, it is mixture. If your network is a router, two laptops and a phone, VLANs are overhead with no real payoff. But the moment you have devices you do not fully trust sitting alongside devices that matter — a dozen smart plugs and bulbs, IP cameras, a guest network people actually use, a NAS holding everything — segmentation starts earning its keep, because on a flat network the least maintained device sets the security level for everything else. A sensible home plan is four lanes: main, guest, IoT and cameras, and optionally a work or gaming lane with priority marking.
Can VLANs help with gaming or streaming latency?
They can help with the right problem. The enemy in gaming is usually jitter rather than raw bandwidth — your session sharing a queue with a backup, a 4K stream or a console auto-updating. Putting the gaming position on its own VLAN with priority marking lets every switch on the path place that traffic ahead of bulk transfers, rather than relying on the router alone. What VLANs cannot do is rescue a weak wireless link or a congested internet line; if the connection itself is marginal, cable the gaming position first and segment second.
What is the native VLAN and why do people say not to leave it as VLAN 1?
On a trunk, one VLAN is permitted to travel untagged — that is the native VLAN. Both ends of the trunk must agree which one it is, or traffic quietly arrives in the wrong network with no obvious error. Many switches default it to VLAN 1, which is also the default VLAN for everything else, and that combination is the precondition for double-tagging attacks, where a crafted frame carrying two tags has the outer one stripped at the first switch and the inner one carries it into a different VLAN. The standard advice is to set the native VLAN deliberately to an otherwise unused ID and to keep real traffic off VLAN 1 entirely.
Do I need to replace my cabling or my devices to use VLANs?
No to the cabling — VLANs run over whatever structured cabling you already have, which is precisely why they exist instead of running separate physical networks. What you do need is a managed switch (unmanaged switches have no concept of VLANs), a router or firewall capable of routing and filtering between them, and access points that can broadcast multiple SSIDs mapped to different VLANs. For most homes and small offices that is the equipment you would sensibly buy anyway. End devices need nothing: a printer, camera or console plugs into an access port and sees an ordinary network.

Want Your Network Properly Separated?

We design the segmentation around how you actually use the place — then configure the switches, access points and firewall rules so it holds. Whether that's four lanes in a villa or thirty across a building, the principle is the same.

Pocket Guide PDF · 1.9 MB