← Interview Prep

Office Network Architecture

How to design and explain an enterprise / campus network at a whiteboard: the three-tier model, L2/L3 design, wireless, the WAN edge, and the security and redundancy that hold it together.

An office (campus) network connects users, phones, printers, wireless access points, and IoT to each other, to on-prem servers, and to the Internet — reliably, securely, and with predictable performance. The canonical way to reason about it is the hierarchical (three-tier) model, which splits the network into layers with distinct jobs so that each can scale and fail independently.

Three layers, three jobs: access connects endpoints and enforces policy at the port; distribution aggregates access switches, does inter-VLAN routing and policy; core is a high-speed, low-policy backbone that just moves packets between distribution blocks. Small sites collapse distribution and core into one layer.

The three-tier hierarchical model

Cisco's classic access / distribution / core model keeps failure domains small and the topology easy to reason about. Each access-to-distribution and distribution-to-core connection is redundant, and routing usually starts at the distribution layer.

                      INTERNET / WAN
                           │
                    ┌──────┴──────┐
                    │  Edge / FW  │      Internet edge: routers, firewall, DMZ, VPN
                    └──────┬──────┘
              ╔════════════╪════════════╗
              ║          CORE           ║   L3 backbone — fast, redundant, no policy
              ║   ┌─────┐     ┌─────┐   ║
              ║   │Core1│═════│Core2│   ║
              ║   └──┬──┘     └──┬──┘   ║
              ╚══════╪═══════════╪══════╝
                     │  ╲     ╱  │           full-mesh L3 uplinks
              ╔══════╪═══╳═══════╪══════╗
              ║  DISTRIBUTION (per block) ║  inter-VLAN routing, HSRP/VRRP, summarize
              ║  ┌────┐         ┌────┐   ║
              ║  │Dst1│═════════│Dst2│   ║   MLAG / stack pair
              ║  └─┬──┘         └──┬─┘   ║
              ╚════╪══════╤════════╪═════╝
                   │      │        │
              ╔════╪══════╪════════╪═════╗
              ║       ACCESS LAYER       ║  user ports, PoE, VLANs, 802.1X
              ║  ┌────┐ ┌────┐ ┌────┐    ║
              ║  │ SW │ │ SW │ │ SW │    ║
              ║  └─┬──┘ └─┬──┘ └─┬──┘    ║
              ╚════╪══════╪══════╪═══════╝
                   │      │      │
                 [PC]  [Phone] [AP] [IoT]   endpoints
LayerPrimary roleTypical features
AccessConnect endpoints; enforce port-level policyPoE/PoE+, VLANs, 802.1X/NAC, port-security, BPDU guard, DHCP snooping, QoS marking
DistributionAggregate access; L3 boundary and policyInter-VLAN routing (SVIs), FHRP (HSRP/VRRP), ACLs, route summarization, redistribution
CoreHigh-speed backbone between blocksFast L3 forwarding, ECMP, minimal features, maximum redundancy and uptime

Collapsed core (two-tier)

For a small or single-building site, a dedicated core is overkill. You collapse the core into the distribution layer: a pair of L3 distribution/core switches (usually MLAG/stacked) do both aggregation and backbone duties, with access switches dual-homed to them. This is the most common real-world office design.

Modern alternative: spine-leaf / SD-Access

Newer campus designs borrow the data-center spine-leaf (Clos) fabric: every leaf (access) connects to every spine, giving uniform, non-blocking, ECMP-load-balanced paths and eliminating STP-blocked links. Cisco SD-Access (and similar EVPN/VXLAN fabrics) overlays this with a VXLAN data plane, a LISP/BGP control plane, and centralized policy (group-based segmentation via SGTs) managed from a controller (DNA Center). The tradeoff is added complexity and controller dependence in exchange for consistent policy and easy segmentation.

Access layer

The access layer is where endpoints plug in and where most of the security policy lives, because it is closest to the (untrusted) user. Access switches are typically 24–48 port, PoE-capable, with 1G copper to the desk and 10/25G fiber uplinks to distribution.

VLANPurposeNotes
DataEmployee PCs / laptopsUsually the native/untagged VLAN on an access port; 802.1X-authenticated.
VoiceIP phonesTagged "voice VLAN"; auto-discovered via CDP/LLDP-MED; QoS-prioritized.
GuestVisitors / BYODInternet-only, isolated from internal subnets; captive portal.
IoT / OTCameras, badge readers, sensors, printersTightly ACL'd; often profiled and quarantined by NAC.
MgmtSwitch/AP management interfacesSeparate VLAN, restricted to admin sources only.

Access-port hardening

Because users control what plugs into an access port, harden every one of them:

FeatureProtects against
802.1X / NACUnauthorized devices — the port stays "closed" until the device (or user) authenticates to a RADIUS server; NAC then assigns a VLAN/ACL by identity and posture. MAB (MAC Auth Bypass) for non-802.1X devices like printers.
Port-securityMAC flooding / rogue hubs — limits the number of MACs per port and can sticky-learn the allowed one.
BPDU guardA user plugging in a switch and injecting STP — err-disables the port if a BPDU arrives on an edge (PortFast) port.
DHCP snoopingRogue DHCP servers — only trusted (uplink) ports may send DHCP offers; builds a binding table used by DAI and IP Source Guard.
Dynamic ARP InspectionARP spoofing / MITM — validates ARP against the DHCP-snooping binding table.
Storm controlBroadcast/multicast/unknown-unicast storms — rate-limits or shuts the port above a threshold.

Layer 2 design & loop prevention

Ethernet has no TTL, so a single loop melts the network with a broadcast storm. The access/distribution boundary is therefore all about loop-free redundancy.

FHRPVendorBehavior
HSRPCiscoOne active, one standby gateway sharing a virtual IP/MAC; active/standby only.
VRRPOpen standardLike HSRP (master/backup); interoperable across vendors.
GLBPCiscoLoad-balances across multiple active gateways (hands out different virtual MACs via ARP).

Layer 3 design: routing & addressing

Pushing routing down to the distribution layer (a routed access or routed-distribution design) shrinks L2 domains, kills large STP topologies, and speeds convergence with an IGP instead of spanning tree.

Sample addressing plan

Keep it structured and summarizable — e.g. a /16 per site, a /24 per VLAN, third octet encoding building/floor:

SubnetVLANGateway (VIP)Use
10.10.10.0/2410 — Data10.10.10.1Employee PCs
10.10.20.0/2420 — Voice10.10.20.1IP phones
10.10.30.0/2430 — Guest10.10.30.1Visitors (Internet-only)
10.10.40.0/2440 — IoT10.10.40.1Cameras / sensors
10.10.99.0/2499 — Mgmt10.10.99.1Device management

Wireless

Wi-Fi is now the primary access medium in most offices. Two architectures dominate:

WAN & Internet edge

The edge is where the campus meets the outside world — the Internet, other sites, and remote users. It is the natural place to concentrate security controls.

Security & core services

Redundancy & operations

Likely follow-up questions

Related: TCP — Theory & Mechanisms · Life of a Packet.