Octet

How do you decide how many VLANs an office needs and how big each subnet should be?

Show the answer

Say this first

One VLAN per function per closet or switch stack: wired users, voice, printers and IoT, management, and guest kept away from everything internal. A /24 per access VLAN is the normal default, which caps the broadcast domain at 254 hosts and is plenty for one closet. I size for expected devices plus growth, keep the neighboring block free so a /24 can become a /23, and do not stretch VLANs between closets.

Go deeper

Example for one closet

VLANNameSubnetNotes
10USERS-C110.1.10.0/24Wired users in closet 1
20VOICE-C110.1.20.0/24Voice VLAN on the same ports
30IOT-C110.1.30.0/24Printers, badge readers, cameras
99MGMT10.1.99.0/24Switch and AP management
999NATIVE-UNUSEDnoneNative VLAN on trunks, no ports

Closet 2 gets users at 10.1.12.0/24, keeping 10.1.11.0/24 free so closet 1 can grow into 10.1.10.0/23.

Quick sizes

PrefixUsable hostsTypical use
/212046Large wireless client pool
/221022Wireless or guest pool
/23510Large closet
/24254Normal access VLAN
/2730Small server or device group
/296Small transit or device group
/312Point-to-point link (RFC 3021)
/321Loopback

Rules of thumb

  • Keep VLAN numbers consistent per function across sites so people recognize them.
  • Do not put users in VLAN 1. Use an unused VLAN as native on trunks.
  • Wireless with a controller usually maps each SSID to one larger VLAN at the controller, or to a group of VLANs, instead of per-closet VLANs.
  • Guest traffic goes straight to the internet through the firewall, never into internal subnets.

Traps

  • Sizing a subnet exactly to today's host count. Growth and DHCP lease overlap need headroom.
How did you do?Book 3.3 Internet (IP)Book 3.2 Switched Ethernet