IP Addresses & Routing

How to Plan a Subnet Scheme for a Small Office

Build a small office address plan step by step: group devices, pick ranges, assign VLANs, set firewall rules and document it.

Key takeaways

  • Create subnets for differences in trust and function, such as staff, guests, phones and equipment, not for every department by default.
  • Avoid the most common home router ranges so that remote access through a VPN does not run into overlapping addresses.
  • A consistent pattern, such as VLAN 20 using 10.50.20.0/24 with the gateway at .1, prevents most mistakes.
  • Subnets only separate traffic when VLANs and firewall rules enforce the separation.

A good small office plan uses a handful of subnets, one for each group of devices that needs different trust, each usually a /24 taken from a private range that is unlikely to collide with anyone's home network. Number them to match their VLAN IDs, reserve space for fixed addresses and write it all down.

You do not need an elaborate design for twenty people. You need one that is easy to read at 8 a.m. when something is broken, and that still has room in a few years. This walk-through gets you there.

Step 1: take an inventory

List what connects today and what will connect soon. For each item, note how it connects, who manages it and what it needs to reach.

  • Staff laptops and desktops
  • Staff phones on Wi-Fi
  • Visitor devices
  • Desk phones
  • Printers and scanners
  • Servers or a network storage box
  • Cameras, door controllers, smart displays and thermostats
  • Router, switches and access points
  • Payment terminals, if you take cards

Count generously. A person often brings a laptop and a phone, and sometimes a tablet or watch. Seeing every device on your network helps you find the ones nobody remembers.

Step 2: group by trust

Now group them by what should be able to talk to what. A useful starting set:

Group Why separate it
Staff Managed work devices with access to office resources
Servers and printers Shared services with specific rules
Voice Phones often want priority for call quality
Guest Internet only, nothing internal
Equipment and IoT Devices that are hard to patch or inspect
Management Admin interfaces for network gear

A very small office might merge some of these. Staff, guest and equipment alone is a large improvement over one flat network. Card payment systems may carry their own requirements under your payment processor's rules, so ask the processor before placing terminals.

A small office split by trust
Router and firewall Routes between segments and enforces rules. Management Switch and AP admin Equipment Cameras and sensors Services Printers and storage Staff Work laptops and phones Guest Internet access only Voice Desk phones Router and firewall Routes between segments and enforces rules. Staff Work laptops and phones Guest Internet access only Voice Desk phones Services Printers and storage Equipment Cameras and sensors Management Switch and AP admin

Step 3: pick the address space

Use private space defined in RFC 1918: 10.0.0.0/8, 172.16.0.0/12 or 192.168.0.0/16. Public vs. private IP addresses explains why these are safe to use internally.

Choose carefully. Many home routers use 192.168.0.0/24 or 192.168.1.0/24. If your office uses the same range and an employee connects a VPN from home, their computer cannot tell whether 192.168.1.10 is the office server or something in the living room.

A less common slice of 10.0.0.0/8 sidesteps this. Pick a second octet that is not 0 or 1, for example 10.50.0.0/16. This guide uses that. If you have, or expect, a second site, give each its own second octet: 10.50.x.x for the main office, 10.51.x.x for the branch.

Step 4: assign subnets and VLANs

Give each group a /24. It wastes addresses, and private addresses cost nothing. In exchange you get masks you never have to calculate.

VLAN Name Subnet Gateway
10 Staff 10.50.10.0/24 10.50.10.1
20 Services 10.50.20.0/24 10.50.20.1
30 Voice 10.50.30.0/24 10.50.30.1
40 Guest 10.50.40.0/24 10.50.40.1
50 Equipment 10.50.50.0/24 10.50.50.1
99 Management 10.50.99.0/24 10.50.99.1

The VLAN number appears in the third octet, so an address tells you its segment at a glance. The gaps leave room to add neighbors later, such as VLAN 11 for a second staff floor.

If a segment needs more than about 250 devices, a busy guest network for instance, use a /23 or /22 and keep it aligned. A /23 must start on an even third octet, so 10.50.40.0/23 covers 40 and 41. For tighter splits, see variable length subnet masks.

Step 5: lay out each subnet the same way

Use one pattern everywhere:

Addresses Purpose
.1 Gateway
.2 to .19 Network gear and spares
.20 to .49 Fixed addresses: servers, printers
.50 to .239 DHCP pool
.240 to .254 Reserved for later

For devices that need a stable address, prefer DHCP reservations over typing addresses into each device. The setting lives in one place and survives a replacement router configuration more easily. Choose a lease time that fits the segment: shorter for guests who come and go, longer for staff.

Step 6: decide the rules

Write the policy in plain language first, then translate it into firewall rules.

  • Staff can reach the internet, services and printers.
  • Guests can reach the internet only.
  • Equipment can reach only what each device requires, such as a vendor service or an internal recorder.
  • Services do not start connections to guests or equipment unless needed.
  • Only named admin computers can reach the management subnet.
  • Everything else between segments is denied.

Remember DNS and DHCP. If guests use the router for either, a rule blocking all traffic to internal addresses must still allow those two to the router itself.

Some conveniences depend on devices sharing a segment. Printer discovery and screen casting often use local multicast that does not cross routers. Add printers to computers by address or through a print server, or enable your router's multicast reflector if it offers one and you accept the added exposure.

Plan the Wi-Fi names to match

Each wireless network name maps to one segment, so keep the list short. Every additional name adds management traffic on the air and one more password to look after. Three is a comfortable number for a small office: staff, guest and equipment.

Give the staff network the strongest authentication your gear supports. Individual accounts, often called enterprise mode, let you remove one person's access without changing a shared password for everyone. A shared passphrase is simpler and acceptable for a small team if you change it when someone leaves. WPA2 vs. WPA3 compares the options.

On the guest network, turn on client isolation so visitors cannot reach each other. Consider a bandwidth limit so a large download in the waiting area does not disturb a video meeting.

Plan remote access and fixed services

If people connect from home, give the VPN its own pool, such as 10.50.200.0/24, and decide which segments that pool may reach. Keeping it separate lets you write rules and read logs for remote users specifically.

Avoid exposing office devices directly to the internet with port forwarding, particularly management pages, storage boxes and cameras. A VPN or a vendor's authenticated remote access is the safer route, provided it is kept updated and protected by multi-factor authentication.

Also decide where DNS comes from. Letting the router hand out its own address as the resolver is simplest. If you run a server that provides internal names, point staff devices at it and give guests a public resolver, so internal names are not visible to visitors.

Step 7: check the hardware

Your plan requires equipment that supports it:

  1. A router or firewall that creates VLAN interfaces and filters between them.
  2. Managed switches that can tag VLANs. An unmanaged network switch cannot assign ports to segments.
  3. Access points that map each Wi-Fi network name to a VLAN.

On the switch, ports to ordinary devices are usually "access" ports in one VLAN. Links to the router and access points are "trunk" or "tagged" ports carrying several. Vendors use different words, so read the manual for yours.

Step 8: roll out without chaos

A low-risk rollout order
1 Back up configs Save router and switch settings first. 2 Build the new segments Create VLANs, gateways and DHCP scopes. 3 Test with one device Check address, internet and blocked paths. 4 Move groups one at a time Start with guests, finish with servers. 5 Record and monitor Update the document and watch for complaints. Back up configs Save router and switch settings first. 1 Build the new segments Create VLANs, gateways and DHCP scopes. 2 Test with one device Check address, internet and blocked paths. 3 Move groups one at a time Start with guests, finish with servers. 4 Record and monitor Update the document and watch for complaints. 5

Schedule it outside working hours and keep a way to reach the router if you misconfigure a VLAN, such as a spare port left in the original network.

Step 9: document it

One page is enough: the VLAN table, the address layout, the list of fixed assignments, the firewall policy in plain words, where backups are stored and who has admin access. Update it when you change anything. A plan that exists only in someone's memory leaves with that person.

Test that the separation is real

A rule you have not tested is a hope. From a device in each segment, check both what should work and what should not.

From Try Expected
Guest Open a public website Works
Guest Reach the printer address Blocked
Guest Open the router admin page Blocked
Staff Print a page Works
Equipment Reach a staff laptop Blocked
Staff, not an admin Open switch management Blocked

Repeat the tests after firmware updates and after any significant rule change. If something that should be blocked gets through, check rule order, since many firewalls stop at the first match, and confirm the test device really landed in the segment you think it did by reading its address.

A common surprise is that the router's own addresses on other segments stay reachable even when traffic between segments is blocked. Traffic addressed to the router itself is often governed by a different set of rules than traffic passing through it.

Do not forget IPv6

If your provider offers IPv6 and delegates a prefix larger than a /64, give each VLAN its own /64 and mirror the numbering where possible. Apply matching firewall rules, or your careful separation will exist only for IPv4. IPv6 subnetting shows how.

Common questions

Do we need VLANs for five people?

Probably not many. A main network and a properly isolated guest network cover most of the risk. Add an equipment segment if you have cameras or other gadgets.

Should each department get a subnet?

Only if departments need different access. Otherwise you add rules and troubleshooting without gaining anything.

Can we change the plan later?

Yes, but renumbering servers, printers and VPN settings is tedious. Leaving gaps and using names in place of addresses makes later changes much easier.

Written for 4Internet with AI writing tools and not reviewed line by line by a person. Check anything you rely on with the maker, provider or standard concerned. Report an error.

Keep reading

All 45 articles in IP Addresses & Routing →

Latest news on this topic