Secure Network Best Practices Library · Network design and VLANs

VLAN design and segmentation guide for business networks

VLANs split one physical network into separate networks for staff, phones, guests, printers, servers and management. This guide shows how to write the plan, which rules belong between the VLANs, how to configure them on Cisco, Meraki, Aruba and UniFi, and how to check that the separation really works.

Prefer to have it done for you? IT Perfection provides router, switch and VLAN management for companies in Irvine, Orange County and Los Angeles County.

Ali Hassani, CISSP and Certified CISO, IT PerfectionWritten by Ali Hassani, CISSP and C|CISO · 25+ years designing, securing and supporting business networks · Updated November 2026

Network engineer with a laptop beside a server rack
1 · PlanWe list your devices and agree a written VLAN and address plan.

Secure Network Best Practices Library › Network design and VLANs › VLAN design and segmentation

What it isA VLAN design groups devices by what they are for and how far they are trusted, gives each group its own network, and puts a short list of rules between the groups. A problem in one group, such as an infected laptop or a camera with old software, then stays in that group.
Where it livesOn every switch, and on the firewall or layer 3 switch that routes between VLANs
Works onAny managed switch and business firewall. Steps shown for Cisco, Meraki, Aruba and UniFi
Cost and timeNo licence needed. The planning takes longer than the configuration
Risk if missingFlat networkOne compromised device can reach every other device in the office

Why it matters

Separate traffic by purpose so one problem stays small

Many small and mid-size offices still run one flat network. Laptops, servers, phones, printers, cameras, smart TVs and visitors' devices all sit in the same network and can reach each other freely. That is simple to set up. It also means one infected laptop or one camera with a weak password can see everything else.

A VLAN design fixes that in three moves. It groups devices by purpose and trust, not by department. It gives each group its own subnet. And it uses the firewall or a layer 3 switch to decide which groups may talk to each other. Guest Wi-Fi reaches only the internet, cameras reach only their recorder, and the pages used to manage switches and firewalls are reachable only from IT devices.

Segmentation is only as good as the rules between the VLANs. A design with ten VLANs and an allow-everything rule between them is still a flat network with more paperwork. The goal is a short, written list of allowed traffic that matches how the business really works.

What the reference guidance says

The National Security Agency's Network Infrastructure Security Guide recommends grouping similar systems together and isolating the groups in separate subnets or VLANs, with access rules between them, so that a compromise of one system does not give direct access to the others.

Source: NSA, Network Infrastructure Security Guide, section 2.2. Read Nov 22, 2026.

Before you start

What to gather before drawing a single VLAN

The plan is written on paper first. Switches and firewalls are then configured from the plan, never the other way round. Four pieces of information make the plan quick to write.

  • A device inventory. Types of device, roughly how many of each, and where they are: computers, phones, printers, cameras, access points, servers, door controllers, TVs.
  • What each type must reach. The file server, the phone system, a cloud service, a recorder. This becomes the allowed-flow list.
  • The addresses in use today. The current subnet, the DHCP range, and every device with a fixed address. Fixed addresses are what make a move slow, so find them early.
  • What the equipment can do. Managed switches that support VLANs, and a firewall or layer 3 switch with enough interfaces or sub-interfaces to give each VLAN a gateway.

Keep the number of VLANs small enough to manage. A VLAN per department or per floor adds work without adding security. Five to eight VLANs grouped by purpose cover most offices.

The plan

A worked VLAN plan for a 40-person office

This is the plan used in the examples across this library. It has one line per VLAN: an ID, a name, a subnet, a gateway address and a plain description of who belongs in it.

VLANNameSubnetGatewayWho is in it
10STAFF10.10.10.0/2410.10.10.1Company laptops and desktops
20VOICE10.10.20.0/2410.10.20.1Desk phones
30GUEST10.10.30.0/2410.10.30.1Visitors and personal devices
40PRINTERS-IOT10.10.40.0/2410.10.40.1Printers, cameras, door controllers, TVs
50SERVERS10.10.50.0/2410.10.50.1File server, application servers, storage
99MGMT10.10.99.0/2410.10.99.1Switch, firewall and access point management
999NATIVE-UNUSEDnonenoneNothing. Used only as the native VLAN on trunks

A few habits make the table easier to live with. Match the third number of the subnet to the VLAN ID, so VLAN 20 is 10.10.20.0 and nobody has to look it up. Use a /24 for each VLAN in an office this size: it is easy to read, leaves room to grow and keeps DHCP simple. Give every gateway the same last number. Leave gaps in the numbering for VLANs you may add later.

The second half of the plan is the list of traffic allowed between the VLANs. Write it as a table of from and to, and keep it short.

Where the rules live depends on the size of the network. In a small office the firewall routes between VLANs, which gives one place for rules and logs. In a larger network, or one with busy servers, a layer 3 core switch routes between VLANs with access lists, and the firewall handles traffic to the internet. Routing on a switch with no access lists removes the segmentation entirely.

Step by step

Build the design in six steps

  1. Write the plan and have it agreed

    Complete the VLAN table and the allowed-flow list above for your own office. Have the person who knows how the business works read the flow list. A missing flow found on paper costs a minute; found after the change, it costs someone a morning.

  2. Prepare the routing device first

    On the firewall or layer 3 switch, create a gateway interface for each VLAN, a DHCP scope for each VLAN that needs one, and the rules from the flow list. Do this before any device is moved, so each VLAN works the moment a port joins it.

  3. Create the VLANs on the switches

    Create every VLAN from the plan, with the same ID and name on every switch that carries it. Names are for people: a switch that shows STAFF and GUEST is far easier to troubleshoot than one that shows VLAN0010 and VLAN0030.

  4. Set the trunks

    On each link between switches, and from switch to firewall, allow only the VLANs that link needs and use an unused native VLAN. The trunk ports and native VLAN guide covers this step in full.

  5. Move devices one type at a time

    Start with a group that is easy to test and easy to move back, such as printers. Assign their ports to the new VLAN, confirm they get an address and still work, then move the next group. Keep staff computers for last, when the pattern is proven.

  6. Document what you built

    Update the VLAN table, the address plan, the port map and the network diagram so they match the live configuration. Review the allowed-flow list at least once a year, and whenever a new kind of device arrives.

! Create the VLANs from the plan (on every switch that carries them)
vlan 10
 name STAFF
vlan 20
 name VOICE
vlan 40
 name PRINTERS-IOT
! ...repeat for 30, 50, 99 and 999
!
! A desk port: computer on STAFF, phone on VOICE
interface GigabitEthernet1/0/5
 description Desk 5
 switchport mode access
 switchport access vlan 10
 switchport voice vlan 20
!
! A printer port
interface GigabitEthernet1/0/17
 description Printer, front office
 switchport mode access
 switchport access vlan 40

Example values. Replace ports, descriptions and VLAN numbers with your own. Each command and menu name was checked against the vendor's documentation on Nov 22, 2026; menus can move between software versions.

Recommended values

The design decisions at a glance

DecisionCommon choiceWhyWatch out for
Where routing between VLANs happensFirewall for small offices; layer 3 core switch with access lists for larger networksThe firewall gives logging and one place for rules; a layer 3 switch gives speedRouting on a switch with no access lists
Subnet sizeA /24 for each VLANEasy to read, room to grow, simple DHCPVery large subnets that hide problems
Guest networkIts own VLAN and Wi-Fi name, internet only, client isolation onVisitors and personal devices never touch business systemsA guest VLAN that passes through the same rules as staff
Cameras and IoTTheir own VLAN, reaching only the recorder or cloud service they needThese devices are rarely updatedCameras left on the staff VLAN for convenience
Management accessA management VLAN reachable only from IT devicesAdmin pages are not shown to every userManagement addresses left in the user VLAN
Native VLAN on trunksAn unused VLAN ID, the same on both endsUntagged frames land where no device livesVLAN 1 as the native VLAN with users in it

Check that it works

Prove the separation, do not assume it

Check the configuration, then test the rules from a real device in each VLAN. The second part matters most: a VLAN that exists but is routed with no rules looks correct on the switch and protects nothing.

! Illustration of the output to expect on the Cisco example
VLAN Name                 Status    Ports
---- -------------------- --------- ---------------------------
1    default              active
10   STAFF                active    Gi1/0/1, Gi1/0/2, Gi1/0/5
20   VOICE                active    Gi1/0/1, Gi1/0/2, Gi1/0/5
30   GUEST                active
40   PRINTERS-IOT         active    Gi1/0/17, Gi1/0/18
50   SERVERS              active
99   MGMT                 active
999  NATIVE-UNUSED        active
  • Each device type gets the right address. A staff computer receives a 10.10.10 address, a phone a 10.10.20 address, and so on down the plan.
  • Allowed traffic works. Staff open files and print. Phones register and make a call. Printers scan to their folder.
  • Blocked traffic is blocked. From a device on the guest network, try to open the file server, a printer and the switch management page. All three should fail.
  • Wi-Fi follows the same plan. A device on the guest Wi-Fi name lands in the guest VLAN, and one on the staff name lands in the staff VLAN.

Mistakes and rollback

Common VLAN design mistakes, and how to step back

MistakeWhat it leads toBetter approach
VLANs with no rules between themThe look of segmentation without the protectionWrite the allowed-flow list first and block everything else
Everything on VLAN 1Users, management and trunks share the default VLANMove users and management to their own VLANs; leave VLAN 1 empty
Too many VLANsMore work and more mistakes, with no extra securityGroup by purpose and trust, not by department or floor
Guest Wi-Fi bridged to staffEvery visitor can reach internal systemsMap the guest Wi-Fi name to the guest VLAN and test it
Printers and cameras forgottenThe least updated devices stay next to staff computersGive them their own VLAN early; they are easy to move
Changes nobody wrote downThe next person troubleshooting works from a wrong diagramUpdate the table and diagram as part of every change

Stepping back

Because devices move one type at a time, a rollback is small: put that group's ports back in the old VLAN and they work as before. Save a copy of every switch and firewall configuration before the first change. Leave the old network and its DHCP range in place until the last group has moved and been tested, then remove it.

Have us do it

Prefer to hand this off?

VLAN design is part of our router, switch and VLAN management work. We inventory your devices, write the VLAN and address plan with you, prepare the firewall rules, move devices in planned stages and hand you the VLAN table, address plan and network diagram. You receive a written scope and a written quote before any work starts.

Ali Hassani, CISSP and Certified CISO, IT Perfection

Who does the work

Written by Ali Hassani, CISSP, C|CISO

Ali Hassani has 25+ years of hands-on experience in IT operations, cybersecurity, Microsoft infrastructure, network security and Azure, and works with businesses in Irvine, Orange County and Los Angeles County. Design, implementation and troubleshooting work is planned and reviewed by Ali personally.

This guide is for education and planning. It does not replace a professional audit, compliance assessment or vendor engineering review. Updated November 2026.

ISC2 CISSP badgeEC-Council Certified CISO (C|CISO) badgeCisco CCNP Routing and Switching badgeMCSE: Server Infrastructure badgeMicrosoft MCSE badgeMCSA: Security badgeCisco CCNA Cybersecurity badgeMCITP badge

FAQ

VLAN design: common questions

What is a VLAN?

A VLAN is a separate network that shares the same switches and cables as other networks. Devices in one VLAN cannot reach devices in another unless a firewall or router between them allows it.

How many VLANs does a small business need?

Most offices are well served by five to eight: staff, voice, guest, printers and IoT, servers and management, plus an unused VLAN for trunks. More VLANs than you can explain on one page usually means the design is grouped by department instead of by purpose.

Do VLANs make a network secure on their own?

No. VLANs only separate devices. The security comes from the rules between the VLANs. Several VLANs that can all reach each other freely behave like one flat network.

Should the firewall or a switch route between VLANs?

In a small office the firewall is the usual choice because it gives one place for rules and logging. Larger networks often route on a layer 3 core switch with access lists and use the firewall for internet traffic.

Can VLANs be added to a network that is already in use?

Yes. Prepare the firewall and switches first, then move one type of device at a time, starting with a group that is easy to test, and keep the old network until the last group has moved.

Does Wi-Fi need VLANs too?

Yes. Each Wi-Fi name should map to the matching VLAN, so guest Wi-Fi lands in the guest VLAN and staff Wi-Fi in the staff VLAN, with the same rules as the wired network.

Can IT Perfection design our VLANs?

Yes. VLAN design and cleanup is part of our router, switch and VLAN management service for companies in Irvine, Orange County and Los Angeles County. Call 949-777-5567 or use the contact page to request a quote.

Need this done for your business?

IT Perfection plans, installs and supports this for companies in Irvine and Orange County

The guides explain the steps. If you would rather have it done, planned and documented by an experienced engineer, these are the services that cover it. Design, implementation and troubleshooting work is planned and reviewed by Ali Hassani personally.

Network design and installation

Firewall, switches, VLANs and Wi-Fi planned, installed and documented.

View service

Firewall installation

New or replacement firewalls with clean rules and VPN with MFA.

View service

Network troubleshooting

Slow network, drops, Wi-Fi, VPN, DNS and DHCP problems traced and fixed.

View service