Design the office network
Produce a topology diagram and addressing plan with VLANs, subnets and services.
By Invicly Tech, , in Computer Networking. About 11 minutes to read.
In short
Designing a network starts from requirements: how many users and devices, which services, which groups must be isolated and how much growth to expect. From there you draw the physical and logical topology, assign VLANs and subnets, and plan services such as DHCP, DNS, NAT and firewall rules. A clear plan makes the build and every later fix faster.
Explained simply
Before you touch a single cable or command, you design the network on paper. A good design answers simple questions: how many people and devices will connect, what services they need, which groups must be kept apart, and how much the office will grow in the next few years.
From those answers you draw two pictures. The physical topology shows real things: the router, the switches, the Wi-Fi access points and the cables between them. The logical topology shows the invisible structure: which VLANs (virtual LANs, separate networks on the same switches) and IP subnets exist, and how traffic moves between them.
Then you write the addressing plan, a table with every VLAN, its subnet, its gateway and which addresses are kept for servers and printers. This table becomes the single source of truth while you build and later when you troubleshoot.
Finally you plan the services that make it all usable: DHCP to hand out addresses, DNS to turn names into addresses, NAT so private addresses can reach the internet, and firewall rules that decide which groups may talk to each other.
Press Play on a diagram to walk through it one step at a time.
- VLAN 10 Staff
- 10.20.10.0/24
- DHCP, full access
- VLAN 20 Guests
- 10.20.20.0/24
- Internet only
- VLAN 30 Voice
- 10.20.30.0/24
- QoS priority
- VLAN 40 Servers
- 10.20.40.0/24
- Static IPs, DNS, file server
- VLAN 99 Management
- 10.20.99.0/24
- Switch and AP management
- One trunk to the router
- Subinterface per VLAN
- Cheap and simple
- Trunk bandwidth is the limit
- SVI per VLAN on the switch
- Wire-speed inter-VLAN routing
- Router or firewall only for internet
- Needs ACLs on the switch for zones
- Each VLAN gateway on the firewall
- Every zone crossing is inspected
- Best security visibility
- Firewall throughput is the limit
In depth
Gathering requirements
Start with people and devices, not equipment. Count users and multiply: a typical office worker today has a laptop, a phone and sometimes a desk phone, so 40 staff can mean 100 or more addresses. List other devices: printers, cameras, door controllers, TVs, IoT sensors. List the services: internet access, file shares, a printer server, VoIP phones, guest Wi-Fi, and any cloud apps that need good bandwidth.
Then ask about security and growth. Which groups must be isolated, for example guests and cameras from staff? Are there compliance needs, such as card payments, which require separating the payment systems? How many people will join in three years? What happens if the internet link fails, and how much downtime is acceptable? Write all of this down as numbered requirements, because each design choice should trace back to one of them.
- Users, devices per user and other devices
- Services and their bandwidth needs
- Isolation and compliance needs
- Growth over 3 to 5 years
- Tolerable downtime and budget
Physical and logical topology
The physical topology for a small office is usually simple: an internet router or firewall, one core or distribution switch, access switches near the desks, and access points on the ceiling. PoE (Power over Ethernet) switches power phones and access points over the same cable, so count the PoE budget in watts. Note every link with the port names on both ends, the cable type and the speed, for example "sw-core Gi1/0/1 to sw-floor1 Gi1/0/49, 10G fibre".
The logical topology shows VLANs, subnets and where routing happens. A common small design is router-on-a-stick: one trunk from the core switch to the router, carrying all VLANs, with a subinterface per VLAN as its gateway. Larger designs move routing into a layer 3 core switch using SVIs (switch virtual interfaces), which is faster, and keep the firewall for traffic to the internet and between security zones. Draw both pictures; they answer different questions during troubleshooting.
- 1ISP link
Fibre or cable modem with a public IP
- 2Router or firewall
NAT, firewall rules, DHCP, gateways
- 3Core switch
Trunk to the router; links to floor switches
- 4Access switches (PoE)
Desks, phones and access points
- 5End devices
Laptops, phones, printers, cameras, guests
Writing the VLAN and subnet plan
Give each group its own VLAN and subnet, and make the numbers easy to remember. One common pattern is that the VLAN ID matches the third octet: VLAN 10 is 10.20.10.0/24, VLAN 20 is 10.20.20.0/24. Use the first usable address (.1) as the gateway everywhere, keep a small static range for printers and servers (for example .2 to .20), and let DHCP hand out the rest.
Size each subnet for growth. A /24 has 254 usable addresses, which is plenty for most office VLANs; a guest network in a busy lobby may need a /23 (510 hosts). Avoid the very common ranges 192.168.0.0/24 and 192.168.1.0/24, because staff working from home often use them too, and that overlap breaks VPN routing. Keep a separate management VLAN for switch and access point management interfaces, and never use VLAN 1 for user traffic. Leave gaps between blocks so you can add new VLANs later without renumbering.
- 1Count hosts
40 staff x 2.5 devices = about 100
- 2Add growth
Plus 50 percent: about 150
- 3Pick a size
/24 gives 254 usable
- 4Assign numbers
VLAN 10, 10.20.10.0/24, gateway .1
- 5Reserve ranges
Static .2 to .20, DHCP .21 to .254
Planning DHCP, DNS, NAT and firewall rules
DHCP: decide where it runs. On a small office the router can serve every VLAN; with a central server, each VLAN's gateway needs an ip helper-address (DHCP relay) pointing to it. Exclude static ranges from the pools and set a lease time; short leases (for example 4 to 8 hours) suit guest networks with many visitors.
DNS: staff need an internal resolver that knows local names (files.office.lan) and forwards everything else; guests can use public resolvers. NAT: one PAT (port address translation) rule maps all internal subnets to the router's public IP; servers that must be reached from outside need a static NAT or port forward and should sit in a DMZ.
Firewall rules: write them as a zone matrix before configuring. Typical intent: staff to servers on the needed ports; guests to the internet only (plus DHCP and DNS); voice to the call server; management reachable only from an admin subnet; nothing from the internet inbound except published services.
- DHCP relay: ip helper-address on each VLAN gateway
- Internal DNS for local names; guests can use public DNS
- One PAT rule for outbound internet access
- Write the zone matrix before any ACL
Learn it in 4 short steps
About 1h each. Track them with a timer in your plan.
- 1Gather requirements for users and services~1h
- 2Draw the physical and logical topology~1h
- 3Write the VLAN and subnet plan~1h
- 4Plan DHCP, DNS, NAT and firewall rules~1h
Key points
- Size every subnet with at least 50 percent headroom.
- Separate guests, voice and management from staff traffic.
- Document addressing, VLANs and firewall intent in one table.
- Plan redundancy where downtime is costly.
Key terms
Tap a card to flip it. 0/3 known
Examples
Addressing plan for a 45-person office
Requirements: 45 staff with laptops and phones, 10 desk phones growing to 60, guest Wi-Fi for up to 80 visitors, 3 servers, 2 printers, switch and AP management. Step 1: choose 10.20.0.0/16 for the site, which overlaps neither home routers nor the cloud VPCs. Step 2: assign one VLAN and /24 per group, with a /23 for guests. Step 3: put printers in the staff VLAN static range. Step 4: write the table below and share it before building.
VLAN Name Subnet Gateway Static DHCP
10 STAFF 10.20.10.0/24 10.20.10.1 .2-.20 .21-.254
20 GUEST 10.20.20.0/23 10.20.20.1 none .20.10-.21.254
30 VOICE 10.20.30.0/24 10.20.30.1 .2-.10 .11-.254
40 SERVER 10.20.40.0/24 10.20.40.1 .2-.254 none
99 MGMT 10.20.99.0/24 10.20.99.1 .2-.254 none
DNS: 10.20.40.10 (staff, voice), 1.1.1.1 (guests)Turning security requirements into a zone matrix
Requirement R7 says guests must not reach anything internal; R8 says only IT can manage switches. Step 1: list the zones: Staff, Guest, Voice, Server, Mgmt, Internet. Step 2: for each pair, write allow with ports or deny. Step 3: check each allow against a requirement; remove any that has none. Step 4: this matrix later becomes the ACLs on the router, one ACL per VLAN interface, applied inbound.
From \ To Server Mgmt Internet
Staff TCP 445, 443; UDP 53 deny allow
Guest deny deny allow (+ DHCP, DNS)
Voice UDP 5060, RTP range deny SIP provider only
IT admin allow TCP 22, 443 allow
Internet deny deny -Quick reference
- Requirements first: users x devices, services, isolation, growth, downtime
- One VLAN and one subnet per group; match VLAN ID to the third octet
- Gateway is .1 everywhere; keep a static range; DHCP for the rest
- Plan 50 percent headroom; /24 = 254 hosts, /23 = 510 hosts
- Avoid 192.168.0.0/24 and 192.168.1.0/24: home networks use them
- Never put users on VLAN 1; use a separate management VLAN
- Central DHCP server needs ip helper-address on each VLAN gateway
- Write the zone matrix before writing any ACL
Quick quiz
Pick an answer to see if you're right and why.
Practice exercises
Try each one yourself first. Use the hint if you get stuck, then compare with the solution.
- Exercise 1easy
List the requirements questions you would ask a small dental clinic before designing its network.
- Exercise 2medium
Write an addressing plan on 172.20.0.0/16 for VLANs Staff (120 hosts), Guests (300 hosts), Cameras (30 hosts) and Management (20 hosts), including gateways and DHCP ranges.
- Exercise 3hard
The clinic wants the network to keep working if the main internet link fails. Extend the design with a backup link and explain how failover works and what users would notice.
Check yourself
Answer in your head, reveal, then be honest with yourself.
Feel confident about this topic?
Frequently asked questions
- How many VLANs does a small office need?
- Usually four to six: staff, guests, voice if you have desk phones, servers or printers, management, and sometimes IoT or cameras. Each one exists because a group needs separation.
- Should I use /24 for every subnet?
- A /24 is a sensible default because it is easy to read and big enough for most office groups. Use larger subnets for busy guest networks and smaller ones for management or point-to-point links.
- What tool should I use to draw the topology?
- Any diagram tool works, such as draw.io (diagrams.net), Visio or Lucidchart. What matters is labelling device names, port names, VLANs and subnets clearly.
- What is the difference between physical and logical topology?
- The physical topology shows devices and cables. The logical topology shows VLANs, subnets, gateways and how traffic is routed between them.