Byte Technologies guide: How to Segment a Small Office Network with VLANs

How to Segment a Small Office Network with VLANs

In this guide
  1. What you need
  2. Access ports and trunk ports
  3. Common VLANs
  4. Routing and rules
  5. Planning tips
  6. Frequently asked questions
By Byte TechnologiesNovember 23, 20263 min readLinkedInXEmail

A flat network puts every device on the same segment: staff computers, guest phones, cameras and printers. A VLAN splits one physical network into separate logical ones, so a problem or an intruder in one does not reach the others. This guide explains what you need to set it up and how to plan it.

What you need

PartRole
Managed switchSupports VLANs (IEEE 802.1Q) on its ports
Router or firewallRoutes between VLANs and applies rules. It also gives internet access
Access pointsMap each Wi-Fi network (SSID) to a VLAN
PlanA list of VLANs with names, numbers and address ranges

An unmanaged switch cannot do VLANs. See managed vs unmanaged network switches.

Access ports and trunk ports

An access port belongs to one VLAN and carries untagged traffic for a device such as a computer or printer. A trunk port carries traffic for several VLANs between switches, or to an access point or router, with a tag on each frame that names its VLAN. Set the same VLAN numbers at both ends of a trunk.

Common VLANs

  • Staff: computers, laptops and file servers.
  • Guests: internet only, with no access to the office network.
  • Voice: phones, prioritized for call quality.
  • Cameras and building systems: kept apart from staff devices.
  • Management: switch and access point admin pages, reachable only from a few places.

Routing and rules

Devices on different VLANs cannot talk to each other until a router, a firewall or a layer 3 switch routes between them. This is the point where you decide what is allowed, such as letting staff reach a printer in another VLAN while guests reach only the internet. See router vs firewall vs UTM and access point planning.

Planning tips

Write down the VLAN numbers, names and address ranges before configuring. Keep the management VLAN separate, label the switch ports and test each VLAN from a device before the change goes live.

Frequently asked questions

Do I need a router for VLANs?

You need something to route between VLANs, such as a router, a firewall or a layer 3 switch. Devices in one VLAN can talk to each other through the switch alone.

Can guest Wi-Fi use a VLAN?

Yes. Map the guest Wi-Fi network to its own VLAN that reaches the internet only, and block access to the other VLANs.

What does tagged and untagged mean?

Tagged frames carry a VLAN number and travel on trunk links. Untagged frames come from a device on an access port, and the switch adds the VLAN.

Shopping Cart