Tezla Group · Team learning
Networking
The complete network administration knowledge vault — Active Directory design, DHCP and DNS the full story, standard network structures, enterprise-level solutions, switches by brand, and the concepts every Tezla tech needs to design, build, deploy, and maintain networks.
Identity foundation
1. Active Directory design
Forests, domains, OUs, sites, FSMO roles, and the two-DC rule — the identity layer everything else stands on. Research verified October 2026.
Forest vs domain vs tree — when to use each
| Concept | What it is | When an MSP uses it |
|---|---|---|
| Forest | Top-level container; defines the security boundary. One schema, one Enterprise Admins group. Trusts between forests are explicit and never transitive by default. | One per client organization. A second forest only for a hard security/regulatory split or a merger kept isolated. |
| Domain | A partition inside the forest. Own Domain Admins, own password policy, own domain-wide FSMO roles. Domains in the same forest trust each other automatically and transitively. | One per client. A second domain only for a genuinely separate business unit or a legacy acquisition you can't migrate yet. "One for users, one for servers" is an anti-pattern — that's what OUs are for. |
| Tree | A domain whose DNS name is contiguous with the parent (e.g. east.contoso.local) vs. a separate tree in the same forest. Same schema, same trusts. | Almost never deliberately designed in SMB. You'll encounter trees in acquired companies — tree membership changes nothing about trusts or administration. |
Default design
Single forest, single domain (e.g. ad.contoso.com). Never create a child domain to "organize" things — OUs organize; domains isolate.
Acquisitions
A new forest for an acquisition is valid when you need a hard security boundary today and a migration later; use a forest trust in the meantime.
Domain naming — get this right on day one
Use a subdomain you own
ad.contoso.com or corp.contoso.com. Never a made-up TLD — .local is deprecated thinking; .lan and .internal risk collision with real TLDs ICANN may delegate.
NetBIOS name is forever
The NetBIOS name (CONTOSO) should be short — it can't be renamed without a domain rename, which you never want to do.
Own the parent domain
Register/own the public parent domain even if you never publish internal records publicly — it prevents certificate and split-DNS headaches later.
OU structure design patterns
| Pattern | Shape | Use when |
|---|---|---|
| Functional (recommended) | OUs by object type/role as above | Default. GPOs target device roles and user roles. Scales to hundreds of users. |
| Geographic | Site-Chicago/Users, Site-Chicago/Computers | Multi-site clients where policy genuinely differs per site (printers, update rings, Wi-Fi). |
| Departmental | OU=Finance, OU=HR | Only when departments need different policy (e.g. Finance gets USB blocked). For tidiness, use security groups instead. |
Leave the DCs OU alone
Keep the default Domain Controllers OU untouched — the Default Domain Controllers Policy lives there.
Block inheritance sparingly
Prefer security filtering or WMI filters. An OU tree full of "Block Inheritance" is a troubleshooting nightmare. Name OUs so a tech can guess contents in 3 seconds.
Sites & Services — the WAN-aware part of AD
Active Directory Sites and Services (dssite.msc) tells AD about your physical network so replication and client logons make sane choices. A site = one or more IP subnets that are well-connected (LAN-speed). Everything else describes the slow connections between sites.
- Create a site per physical location. Name it after the office, not the subnet (
Site-Chicago). - Assign subnets to sites (e.g.
10.10.0.0/16→ Site-Chicago). Unassigned subnets land in Default-First-Site-Name and clients pick DCs randomly — the #1 cause of "logons are slow at the branch." - Site links: connect sites with a cost (lower = preferred) and a replication schedule. Default cost 100 every 180 min is fine for most SMB; drop to 15–60 min for hub sites.
- One writable DC + GC + DNS per site with more than ~10 users.
KCC & ISTG
The Knowledge Consistency Checker runs on every DC and auto-builds replication topology — you almost never hand-build connection objects. If replication looks wrong, repadmin /kcc forces a recalc. One DC per site is auto-elected ISTG and designates bridgehead servers.
DC Locator
Clients use DNS SRV records scoped to their site to find the nearest DC. Wrong subnet→site mapping = clients authenticating across the WAN. Every DC in an SMB single-domain forest should be a Global Catalog — required for logon.
FSMO roles — the five single masters
Most of AD is multi-master — any DC can take a write. Five jobs are single-master to prevent conflicts. In a healthy single-domain SMB forest, all five live on one DC and nobody thinks about them until that DC dies.
| Role | Scope | What it does | What breaks if down |
|---|---|---|---|
| Schema Master | Forest | Controls all writes to the AD schema (Exchange/SCCM installs extend it). | Schema extensions fail. Day-to-day: nothing. |
| Domain Naming Master | Forest | Controls adding/removing domains and application partitions. | Can't add/remove domains. Day-to-day: nothing. |
| RID Master | Domain | Hands each DC a pool of 500 RIDs; every new object consumes one to build its SID. | DCs exhaust RID pools → can't create new accounts/computers (slow-motion failure). |
| PDC Emulator | Domain | Authoritative time source, handles password changes and urgent replication, processes lockouts, default GPO-edit target. | Password changes/lockouts misbehave, time skew breaks Kerberos (5-min tolerance). Most visible failure of the five. |
| Infrastructure Master | Domain | Tracks references to objects in other domains (phantom objects). | Stale cross-domain references. Irrelevant in a single-domain forest — it can sit on a Global Catalog there. |
| Transfer | Seize | |
|---|---|---|
| When | Old role holder is healthy and online (planned maintenance, DC retirement) | Old role holder is dead and never coming back |
| How | Graceful: source and target agree | Forced: target just takes it |
| Aftermath | Old DC is fine, can stay in service | Never bring the old DC back online. Wipe/rebuild it — a resurrected seizure victim causes USN rollback / split-brain directory corruption. Then metadata cleanup. |
Procedure per Microsoft Learn "Transfer or seize Operation Master roles" and Dell support KB 000193715.
Domain controller placement and sizing
Small — up to 100 users
2 vCPU · 8 GB RAM · 80–100 GB disk
Generous on purpose; AD will run on less, but RAM is cheap and headroom prevents weirdness. SSD/NVMe, redundant storage.
Medium — 100 to 1,000 users
4 vCPU · 16 GB RAM · 150–200 GB disk
A 1,000-user domain database is typically well under 1 GB, but logs and growth need room.
Placement rules
Two DCs minimum, separate hosts, both DNS, both GCs. On the server VLAN. Never snapshot-restore a DC in ways that roll back USN. Virtualization is fine — but disable host time-sync for DC VMs and never pause a DC for "quick rollback."
Read-only domain controllers (RODC)
A DC holding a read-only copy — replication flows inbound only. The only reasons to deploy one: a branch with poor physical security (stolen RODC exposes only explicitly cached credentials — privileged groups are denied by default and cannot be allowed), untrusted local admins (delegate RODC-local admin without Domain Admins), or DMZ-adjacent authentication. An RODC still needs a writable DC reachable — it is not a substitute for a second writable DC in your main site.
Functional levels
| Level | DCs allowed | Notes |
|---|---|---|
| Windows Server 2025 | 2025 only | New: 32K database page size option, Delegated Managed Service Accounts (dMSAs). New forests default here when built on 2025. |
| Windows Server 2016 | 2016, 2019, 2022, 2025 | Effective ceiling for 2019/2022. Minimum for new forests; existing domains must be at 2016 before introducing a 2025 DC. |
| Windows Server 2012 R2 | 2012 R2 – 2022 | Legacy floor. 2025 DCs not supported. |
DFL can be higher than FFL, never lower. Raising is one-way. Rule: raise only after every DC in scope runs a supporting OS.
The full story on redundancy — why two DCs minimum
Authentication stops
No DC = no Kerberos, no NTLM, no logons. Cached credentials help some laptop users, but anything needing a fresh ticket fails. The business is effectively down.
DNS dies with it
DNS lives on the DC — now nothing resolves: not the file server, not the printer, not the internet. Total network paralysis, not just "can't log in."
FSMO roles vanish
PDC down: time drift, password changes fail, lockouts don't clear. You can't transfer roles from a dead DC — you're into seizure territory.
Recovery is a rebuild
No second DC = restore from backup (hoping it's good) or rebuild the domain and rejoin every machine. With two DCs: seize roles, metadata cleanup, promote a replacement, go home.
- Two writable DCs, separate hypervisor hosts
- Both run DNS with AD-integrated zones; both listed in DHCP option 006
- Both are Global Catalogs
- Replication healthy —
repadmin /replsummaryshows zero errors - FSMO roles on the intended holder —
netdom query fsmo - Time hierarchy sane: PDC → external NTP; all DCs → PDC
- System-state backups of at least one DC; restore procedure documented and tested
Address management
2. DHCP — the full story
DORA, scope design, failover, and the misconfigurations behind half of all "the network is down" tickets.
How DHCP actually works — DORA
| Step | Packet | From → To | Broadcast / unicast | What's in it |
|---|---|---|---|---|
| Discover | DHCPDISCOVER | Client → Server | Broadcast (client has no IP) | "Anyone out there? I need an address." Includes client MAC. |
| Offer | DHCPOFFER | Server → Client | Broadcast (client still has no usable IP) | "Here's 10.10.30.50, mask, gateway, DNS, lease time." Server briefly reserves the offered IP. |
| Request | DHCPREQUEST | Client → Server | Broadcast (so all offering servers hear the choice) | "I'll take 10.10.30.50 from you, Server-A." |
| Acknowledge | DHCPACK | Server → Client | Unicast (client now has the IP) | "Confirmed. The lease is yours." Client configures its stack. |
The lease lifecycle
Renewal (T1, 50%): client unicasts REQUEST to its server. Rebinding (T2, 87.5%): broadcasts to any server. Expiry: stop using the address, start over. NACK (server refuses, e.g. moved subnets) and DECLINE (client ARPs a conflict → server marks BAD_ADDRESS) restart the cycle.
Relay agents (IP helpers)
Routers don't forward broadcasts. On every VLAN except the server VLAN, configure an IP helper / DHCP relay pointing at the DHCP server(s). No helper = that VLAN never gets addresses = the classic "VLAN X gets no DHCP" ticket. On switches/firewalls it's usually one line: ip helper-address 10.10.20.10.
Scope design — sizing, exclusions, reservations
| Subnet | Usable hosts | Good for |
|---|---|---|
| /24 (254) | 254 | Default user VLAN up to ~150 devices |
| /23 (510) | 510 | User VLAN 150–350 devices; Wi-Fi-heavy offices |
| /22 (1,022) | 1,022 | Large single-site user populations |
Size for 2× current device count. Don't build /16 user VLANs "for growth" — broadcast traffic scales with host count; above ~500 hosts, segment. /23 or /22 is the practical ceiling for a user VLAN.
Exclusion range
Addresses the server will never hand out — for static infrastructure (10.10.30.1–.20: gateway, switches, APs, printers). "Hands off this block."
Reservation
Ties a specific IP to a specific MAC — inside the scope but only that MAC gets it. For printers, APs, cameras, door controllers. Reservations still get DNS registration and option updates — that's the advantage over pure static. Rule: servers/firewall/switches = true static + excluded; peripherals = reservations.
Lease durations
Wired workstations: 8 days (Windows default). Wireless/guest: 8–24 hours. Voice VLAN: 8 days. Never set leases to minutes "to fix" exhaustion — that's a scope-sizing problem.
| Option | Name | Set to | If wrong |
|---|---|---|---|
| 003 | Router (gateway) | Firewall / L3-switch SVI for that VLAN | No off-subnet traffic — "internet is down" but local works |
| 006 | DNS servers | Your DCs on AD networks — never point domain clients at 8.8.8.8 directly | AD logons/GPO/drives fail |
| 015 | DNS domain name | ad.contoso.com | Suffix search breaks; short-name resolution fails |
| 043/060 | Vendor-specific | Phone system per vendor docs | Phones don't find their call server |
| 066/067 | Boot server / file | PXE/WDS/MDT server | Imaging/PXE boot fails |
DHCP failover — hot standby vs load balance
Two Windows DHCP servers share scope/lease state over TCP port 647. Both can serve the same scope; leases, reservations, and options replicate. Per Microsoft Learn "Understand and Deploy DHCP Failover".
| Hot standby | Load balance (default) | |
|---|---|---|
| Behavior | One server active; partner idle, holding a reserved % of addresses. Takes over after the state-switchover interval. | Both servers actively lease, splitting clients by configurable ratio (default 50/50, hashed by MAC). |
| Best for | Different sites (primary at HQ, standby at branch); asymmetric capacity | Same site, two healthy servers sharing load |
| Knobs | % reserved for standby (default 5%); switchover interval (default 60 min) | Load-balance percentage per server |
Facts that matter: IPv4 only. Max two servers per relationship (2012+). MCLT (default 1 hr) caps how far a server may extend leases while its partner is unreachable. Scope configuration changes must be replicated manually (right-click → Replicate Failover Scopes) — leases replicate automatically.
DHCP platform comparison
| Platform | Pros | Cons | Verdict |
|---|---|---|---|
| Windows Server | AD-integrated secure dynamic DNS, failover, superscopes, PowerShell, DHCPv6 | Needs a server license | Default for any AD-joined network — run on the DCs with failover |
| Firewall/router | Simple, no server needed, per-VLAN scopes trivial | No AD secure dynamic DNS, weak/no failover | Fine for guest VLANs and non-AD micro-offices |
| Switch | Works with nothing else present | Tiny feature set, no failover, painful management | Avoid — last resort only |
Senior tech says: the deciding question is "do I need secure dynamic DNS updates into AD?" If yes — Windows DHCP wins. Mature MSP split: Windows DHCP + failover for corporate VLANs, firewall DHCP for guest.
Top 5 DHCP misconfigurations
1. Rogue/second DHCP server
Random clients get wrong gateway/DNS. Cause: firewall DHCP left on alongside Windows DHCP, or a home router plugged in. Diagnose: ipconfig /all → note the DHCP server IP; find it. Fix: one authoritative DHCP per VLAN; DHCP snooping to block rogues.
2. Wrong DNS in scope options
Internet works, AD fails — the #1 "everything is broken but ping works" ticket. Cause: 8.8.8.8 handed to domain clients. Fix: option 006 = DCs only.
3. Scope exhaustion
New devices get APIPA (169.254.x.x). Check scope statistics for % in use. Fix: expand scope/superscope, shorten guest leases, find the hoarder (looping PXE).
4. Statics inside the scope
Intermittent IP conflicts. Someone statically assigned an address DHCP also leases. Fix: exclusions for all statics; better, convert to reservations.
5. Server not authorized / service down
Nobody gets addresses after a power event. Unauthorized servers won't serve (AD protection); check Get-Service DHCPServer and the DHCP-Server operational log. Fix: authorize in AD, set Automatic, include in UPS sequencing.
- DHCP failover configured (or documented single-server risk accepted for micro-sites)
- IP helpers on every VLAN except the server VLAN
- Option 006 = DCs only on domain VLANs; guest VLAN gets public DNS
- Exclusions for all static infrastructure; reservations for printers/APs/cameras
- Scope sized at 2× devices; utilization alerts at 80%
- Lease times: 8 days wired, ≤24 h guest; rogue detection via DHCP snooping
Name resolution
3. DNS — the full story
AD is DNS with a directory attached. Roughly half of all AD tickets are DNS tickets wearing a costume — check DNS first, last, and in the middle.
Zone types
| AD-integrated | Primary (file-backed) | Secondary | |
|---|---|---|---|
| Storage | In the AD database, replicates with AD replication | Zone file on one server | Read-only copy via zone transfer (AXFR/IXFR) |
| Updates | Multi-master: any DC accepts dynamic updates | Single-master: only the primary accepts writes | None (pulls from primary) |
| Security | Secure dynamic updates (Kerberos-authenticated) | Nonsecure or none | N/A |
| Use it for | Every AD forward and reverse zone. Always. | Legacy/standalone servers, non-AD authoritative DNS | Off-AD secondaries |
Forwarders vs root hints
Forwarders
Your server hands external queries to designated upstreams (ISP, 1.1.1.1, 9.9.9.9, Quad9) and caches answers. Faster, lets you layer upstream filtering, keeps query logs in one place. Default for SMB. Windows falls back to root hints if forwarders time out.
Root hints
Your server walks the tree itself — no upstream dependency, full independence, slightly slower first lookups. Use for privacy-sensitive networks, and keep them as automatic fallback regardless.
Split-brain / split-horizon DNS
The same zone name resolves differently inside vs. outside: internally www.contoso.com → 10.10.20.25; externally → 203.0.113.25. Two zone copies, two truths. Needed when you host internally what the public also reaches. Run it without pain: the internal AD-integrated zone holds only the records that differ + internal-only names — don't clone the entire public zone. Document which names are split and who updates each side. Classic outage: website migrated, external updated, internal forgotten → "works on my phone but not the office."
Aging and scavenging — killing stale records
DHCP leases expire but DNS A records linger — eventually two machines claim one name. The three timers (defaults 7 / 7 / 7): No-refresh (7d) — record can't be refreshed again for 7 days (prevents replication storms). Refresh (7d) — owner may refresh; if nothing does, the record goes stale. Scavenging period (7d, per-server) — how often cleanup runs. A record can live up to No-refresh + Refresh + Scavenging period past its last refresh.
Reverse lookup zones & conditional forwarders
Reverse zones
Map IP → name (PTR). Create one AD-integrated reverse zone per subnet (e.g. 30.10.10.in-addr.arpa). Mail servers demand working reverse DNS — many spam filters reject IPs with no PTR. For public IPs, the PTR is set by whoever owns the block (your ISP) — open a ticket for mail-server IPs.
Conditional forwarders
"Queries for this domain go to these servers." Forest trusts/acquisitions (partner.local → their DCs), hosted PBX domains, branch-to-HQ, cloud private endpoints (Azure Private DNS, Route 53 Resolver). Replicates forest-wide if stored in AD. Simpler than stub zones — wins in nearly every SMB scenario.
DNSSEC in plain English
Classic DNS answers can be spoofed — nothing proves an answer is genuine. DNSSEC adds cryptographic signatures so resolvers can verify authenticity (trust chains upward to the pre-trusted root key). It answers "is this answer real?" — it does not encrypt queries (that's DNS-over-HTTPS/TLS, a different thing). For MSPs: internal AD signing is "know it exists" territory; enable DNSSEC at the registrar for client domains where identity matters; enabling validation on internal resolvers is low-risk. Failure mode: expired signatures = "DNS is down" — check dig +dnssec / Resolve-DnsName -DnssecOk.
Diagnostic workflow
Top 5 DNS failures
1. Clients pointed at the wrong DNS
AD logons slow/fail, GPO not applying, ping-by-IP works. ipconfig /all → if DNS is 8.8.8.8 or the firewall instead of the DCs, found it. Fix: DHCP option 006 → DCs; hunt rogue DHCP.
2. Stale/duplicate records
"Sometimes I reach the wrong machine." Scavenging is off. Check record timestamps (View → Advanced in DNS console). Fix: enable aging/scavenging; delete proven-stale records; align DHCP lease times.
3. Forwarder/upstream failure
Internal names instant, internet names take 10+ seconds (forwarder timeout → root-hints fallback). Compare Resolve-DnsName -Server <DC> vs -Server 1.1.1.1. Fix: replace dead forwarders, check firewall UDP/TCP 53 outbound.
4. Missing reverse zone / PTR
Mail rejected as spam; tools show IPs not names. Resolve-DnsName -Name <public IP> → NXDOMAIN. Fix: AD-integrated reverse zones internally; ISP ticket for public mail IPs.
5. Single point of failure
Everything name-related dies when one server reboots. Fix: second DC with AD-integrated DNS (replicates automatically), both in option 006.
Topology & layout
4. Standard network structures
Layered design scaled for SMB, where every server role lives, the VLAN plan, and addressing that a tech can read at a glance.
The layered design, scaled for SMB
Access (endpoints plug in, VLANs assigned) → Distribution (aggregates access, applies policy, routes between VLANs) → Core (high-speed backbone, no endpoints). You don't build three tiers for 60 users — you collapse.
| Client size | Design | What it looks like |
|---|---|---|
| ~10 users, 1 site | Single tier | 1–2 switches (one PoE), firewall as gateway. VLANs optional but recommended: users + guest minimum. |
| 25–75 users, 1 site | Collapsed core | 2 stacked switches as collapsed core/distribution doing inter-VLAN routing; access switches per closet; firewall at edge. Full VLAN segmentation. |
| 100+ users / multi-site | Collapsed core per site (3-tier at HQ) | HQ: routed core + distribution/access; branches: collapsed core each; L3 links or VPN between sites; OSPF or static routing. |
Rules at every scale: ≤3 switch hops between endpoints (no daisy-chaining 5 desktop switches). Uplinks 10 GbE SFP+ minimum for a full access switch. Dual-home anything important — servers with teamed NICs to two switches, dual uplinks (LACP or stack).
Standard server roles — and where each lives
| Role | What it does | Placement |
|---|---|---|
| Domain Controller | AD DS, DNS, (often DHCP) | Server VLAN, two minimum, separate hosts. Never in DMZ. |
| File server | SMB shares, DFS namespaces | Server VLAN; use a DFS namespace (\\contoso.com\shares) so server swaps don't break drive maps. |
| Application / LOB | ERP, EMR, line-of-business DBs | Server VLAN; static IP excluded from DHCP; firewall rules only from user VLAN as needed. |
| Print server | Centralized queues, GPO driver deployment | Server VLAN (acceptable on a DC in tiny offices). |
| Backup server | Veeam/Acronis/etc. | Server VLAN, ideally its own backup VLAN for replication traffic; immutable/offsite copy mandatory. |
| Hypervisor hosts | The platform everything runs on | Management VLAN for host interfaces; VM traffic on respective VLANs via trunk to vSwitch. |
| Monitoring / RMM probe | Your MSP's eyes | Management VLAN; SNMP/ICMP allowed from it to everything. |
Where "lives" means: which VLAN/subnet, which firewall zone, which backup policy, which monitoring policy. Document all four.
VLAN design and segmentation patterns
| VLAN | Name | Subnet (example) | Purpose & policy |
|---|---|---|---|
| 1 | Default | — | Don't use. Move all ports off it; set trunks' native to an unused ID (e.g. 99). |
| 10 | MGMT | 10.10.10.0/24 | Switch/firewall/AP management. Accessible only from IT jump box / MSP. |
| 20 | SERVERS | 10.10.20.0/24 | DCs, file, apps, hypervisors. User→server allowed per-service; server→internet restricted. |
| 30 | USERS | 10.10.30.0/23 | Workstations. Full internet via firewall inspection. |
| 40 | VOICE | 10.10.40.0/24 | IP phones. QoS priority (DSCP EF), LLDP-MED for auto-VLAN. |
| 50 | GUEST | 10.10.50.0/24 | Guest Wi-Fi. Client isolation, bandwidth cap, public DNS, no route to any internal subnet. Short DHCP leases. |
| 60 | IOT / CAMERAS | 10.10.60.0/24 | Cameras, door controllers, printers. Internet-blocked except vendor allowlist; zero lateral access. |
| 70 | WIFI-CORP | 10.10.70.0/23 | Corporate wireless (or reuse USERS via 802.1X dynamic assignment — cleaner at scale). |
| 99 | NATIVE / BLACKHOLE | unused | Native VLAN on trunks; unused ports assigned here and shut down. |
Segmentation philosophy: default deny between VLANs, then allow what's needed. Guest and IoT are untrusted. Voice gets QoS, not extra trust — phones are computers that happen to make calls.
IP addressing schemes that scale
Physical topology patterns
Beyond the basics
5. Enterprise-level solutions
Enterprise-grade techniques at SMB budgets — redundancy, routing, firewall craft, VPN, and Wi-Fi done right.
Redundancy everywhere
First-hop redundancy — HSRP / VRRP
Clients point at one gateway IP — that router dies, the VLAN loses off-subnet access. Two routers share a virtual IP + virtual MAC; hellos detect failure; failover in ~1–10 seconds. HSRP = Cisco-proprietary. VRRP = open standard (RFC 5798) — use VRRP in multi-vendor shops. If your firewall is the gateway (typical SMB), use the firewall's HA pair instead.
Switch stacking
2–9 switches joined by stack cables become one logical switch — one management IP, one config, cross-switch LACP. Dual-home servers/APs across two physical switches with one bundle: one switch dies, links stay up. Stack members must run identical firmware.
LACP / LAG (802.3ad / 802.1AX)
Bundles 2–8 links into one logical link — redundancy + aggregate capacity. Not 2+2=4 Gbps for a single flow (one conversation hashes to one link). Modes: both ends active is the safe default; never leave one end static ("on") and the other LACP.
Dual WAN failover
Two ISPs (different media: fiber + coax/5G) into the firewall; health probes detect failure; sessions fail over. Add policy-based routing (guest pinned to ISP2). Test quarterly by physically pulling the primary — untested redundancy is a rumor. Tune failback timers so a flapping link doesn't flap your users.
Inter-VLAN routing
Router-on-a-stick
One trunk from switch to firewall carrying all VLANs; the firewall routes between sub-interfaces. Simple — but every inter-VLAN packet hairpins through the firewall (bottleneck past a few hundred Mbps sustained).
SVI on an L3 switch
Each VLAN gets a Switch Virtual Interface (interface vlan 30 → 10.10.30.1); routing happens in silicon at wire speed. MSP standard: SVIs on the collapsed core for trusted VLANs (users↔servers↔voice); firewall as gateway only for guest/IoT/DMZ. Default route on the L3 switch → firewall.
Routing protocols — what an SMB tech must understand
Static routes carry 90% of SMB networks. You've outgrown them at ≥3 sites with redundant paths, or anywhere a link failure should automatically reroute.
OSPF — the interior protocol you'll meet
Link-state: every router learns the full topology of its area and computes shortest paths by cost (bandwidth-based). All areas touch Area 0 (backbone). Know: router ID, hello/dead timers, DR/BDR election, cost manipulation. SMB use: multi-site with dual links — OSPF reconverges around failures. Keep it simple: single Area 0 everywhere until forced otherwise.
BGP — know the shape
Path-vector protocol of the internet; ISPs speak it. You touch it only with your own public ASN and PI space (rare in SMB) or advanced SD-WAN. Know: AS numbers, eBGP vs iBGP, prefix filtering — never advertise what you learned from ISP-A to ISP-B unless you mean to become a transit AS. 95% of the time, the firewall's dual-WAN failover already covers it.
Firewall placement and rules philosophy
- Default deny, explicit allow. Start from nothing; each rule has a business reason.
- Top-down, most-specific first. A misplaced "allow any" above your denies is an open door — audit the order.
- Least privilege: constrain source, destination, and service. "Allow 10.10.30.0/24 → 10.10.20.15:443", not "allow VLANs to talk."
- Every rule gets a name, a ticket, and an expiry review date. Quarterly audits; disable-before-delete (30-day disable catches the "wait, that was load-bearing" cases).
- Log denies. The deny log is early-warning radar — scans, misconfigs, and malware show up there first.
- Change control: no firewall change without a rollback plan. Export config before touching production.
VPN — site-to-site and remote access
Site-to-site IPsec
Whole networks, always-on. IKEv2 is the modern key exchange. Phase 1 + Phase 2 selectors must match exactly both ends — 80% of "VPN won't come up" is a Phase 2 mismatch. Prefer route-based (VTI/tunnel interfaces) over policy-based. Long random PSK in the password manager — never "contoso123".
Remote access
Modern standard: IKEv2 (native in Windows/macOS, cert or EAP) or WireGuard (simple, fast). Avoid L2TP/IPsec for new deployments. Authenticate against AD/RADIUS with MFA. Split-tunnel (only corporate subnets over VPN). Always-on VPN for managed laptops is the gold standard. Push internal DNS so AD resolution works — and mind the 192.168.x.x collision rule.
Wi-Fi design fundamentals
| Hardware/VM controller | Cloud-managed | |
|---|---|---|
| Examples | On-prem controller appliance | UniFi Network, Aruba Central, Meraki dashboard, Omada Cloud |
| Pros | Works without internet; data stays local | Zero-touch, multi-site single pane, no controller to patch |
| MSP verdict | Cloud-managed wins for MSPs — one dashboard across all clients, templates, remote troubleshooting. | |
- Placement: ceiling-mount, central to the coverage cell, 10–15 ft. APs radiate like a flattened donut — wall-mounting wastes half the pattern.
- Design for -65 dBm or better at the 5/6 GHz cell edge for voice/video; turn 2.4 GHz power down, not up (sticky clients, interference).
- Channels: 2.4 GHz → only 1, 6, 11. 5 GHz → non-overlapping 20/40 MHz; 80/160 MHz only in clean, low-density environments. Avoid DFS channels for voice.
- Survey: predictive for design, validation walk with a real client device after. Deliverable: heatmap showing -65 dBm 5 GHz coverage, SNR ≥ 25 dB in work areas.
- Wiring: home-run Cat6A to each AP (2 drops for Wi-Fi 6E/7 dual-uplink APs), PoE+ minimum — check the AP's spec, not the switch's marketing.
- SSIDs: 2–3 max (Corp with 802.1X, Guest with portal/isolation, maybe IoT). Every extra SSID burns airtime in beacons.
- Security: WPA3 (transition mode for legacy clients); 802.1X/RADIUS for Corp with dynamic VLAN assignment. Never the staff Wi-Fi password on a sticky note.
Hardware guide
6. Switches — sub-category by brand
Model lines verified October 2026 via official vendor sources. Lineups change — confirm current SKUs on the linked official pages before quoting. Pricing omitted (channel/region dependent).
Cisco — Catalyst (classic) and Meraki MS (cloud)
Catalyst = traditional CLI-managed (IOS/IOS-XE), full control. Meraki MS = cloud-dashboard-managed, subscription per switch, zero-touch. Same parent, different religions: Catalyst for deep CLI/automation needs; Meraki when the MSP manages everything and wants dashboard uniformity.
| Line | Position | Typical models / use |
|---|---|---|
| Catalyst 1200 | SMB smart-managed (web GUI) | 8–48 port 1G, PoE+ options, fanless models; 10G SFP+ on -4X SKUs. The 10-user-office switch. |
| Catalyst 1300 | SMB fully managed, stackable | 8–48 port 1G, PoE+, 10G SFP+ uplinks, true stacking. The 25–100-user collapsed-core switch. |
| Catalyst 9200/9200CX | Enterprise access (IOS-XE) | 24/48 port, PoE+, StackWise; compact CX for small closets. |
| Catalyst 9300 | Enterprise access/aggregation | mGig, UPOE+, StackWise-1T, 25G uplinks. The "big office" standard. |
| Meraki MS120 | Cloud L2 access | 8/24/48 port 1G, PoE+; branch/retail. |
| Meraki MS130 | Cloud L2/L3-lite, mGig | 8–48 port 2.5G/multigig, 10G SFP+; modern office access. |
| Meraki MS210/225 | Cloud L2/L3 access | 24/48 port, PoE+, 10G SFP+; MS225 stacks. |
| Meraki MS350 | Cloud L3 flagship, stackable | 24/48 port, multigig, UPoE, redundant PSU/fans, 160 Gbps stacking. |
192.168.1.254, admin/cisco → change credentials immediately. VLAN: VLAN Management → Create VLAN; access port: Port to VLAN mode=Access; trunk: mode=Trunk with allowed VLANs listed. LACP: Port Management → LAG Management → create group, add ports, LACP on.Aruba / HPE — Instant On (SMB) and CX (enterprise)
Instant On = SMB, mobile-app + cloud-portal managed, no subscription for basic management. CX = enterprise, AOS-CX OS, CLI/API/Central, full L3. Instant On for the 10–75-user client; CX from ~75 users up or wherever stacking/L3/10G aggregation matters.
| Line | Position | Typical models / use |
|---|---|---|
| Instant On 1830 | Unmanaged+/smart-managed | 8–24 port 1G, PoE; the "better unmanaged" for micro-offices. |
| Instant On 1930 | Smart-managed L2+ | 8–48 port 1G, 4× SFP+ uplinks, PoE+ (370W); the 25-user office workhorse. |
| Instant On 1960 | Smart-managed, stackable, 10G | 24/48 port, 10GBase-T + SFP+; stacks up to 4 units; small aggregation. |
| CX 6000 | Entry L2 access (AOS-CX) | 12–48 port 1G, fanless 12-port; quiet offices. |
| CX 6100 | L2 access, 10G uplinks | 12–48 port, 4× SFP+; step up from 6000. |
| CX 6200 | L3 stackable access | 24/48 port, 10G SFP+ uplinks, VSF stacking; the SMB collapsed core. |
| CX 6300 | L3 stackable access/aggregation | 24/48 port 1G or mGig, up to 100G uplinks, PoE++; the 100-user standard. |
| CX 6400 | Modular chassis core | Line cards; campus core / large aggregation. |
Ubiquiti UniFi
Everything managed through the UniFi Network application (Cloud Gateway, Express/Host, or self-hosted). No per-device CLI culture — the controller is the product. Watch the tier names — Ubiquiti renames/reshuffles often; verify at ui.com before quoting.
| Tier | Position | Typical models / use |
|---|---|---|
| Flex Mini / 2.5G | 5-port desktop | Under-desk / huddle room; VLAN-aware, PoE-powered. |
| Lite (8/16 PoE) | Entry managed | Small office, AP/phone power, 52W-class PoE+. |
| Ultra | Compact 8-port PoE+ | Flexible mounting; IDF/retail. |
| Standard (24/48/48 PoE) | Mainstream L2 | General office access; fanless 48-port exists. |
| Pro (24/48 PoE) | L3, 10G SFP+ | Office distribution; 400–600W PoE++. |
| Pro Max (16/24/48) | L3, 2.5G + Etherlighting | High-density Wi-Fi 6E/7 AP backhaul; port-finder LEDs. |
| Enterprise / Pro XG | L3, 10G/25G, PoE+++ | Aggregation, 10G-to-desktop, 25G SFP28 uplinks. |
NETGEAR
No-nonsense SMB switching in three management tiers, plus optional Insight cloud management. Lifetime hardware warranty (ProSAFE) is the brand's calling card — register it.
| Line | Position | Typical models / use |
|---|---|---|
| Unmanaged (GS300) | Plug-and-play | Dumb connectivity; fine behind a managed switch, never as the only switch. |
| Smart Managed Essentials (GS108Ev4, GS310TPv2, GS324TPv2, GS348TPv2) | Web-managed L2 | 5–52 port, PoE+ (55W–380W); VLAN, QoS, LAG via simple GUI. The 10-user office. |
| Smart Managed Plus (GS7xx) | Web-managed L2+ | More VLANs/ACLs/IGMP; small AV and VoIP deployments. |
| Smart Managed Pro / Fully Managed (M4350) | CLI+GUI L3 | 24–48 port, 10G/25G, stacking, AV-over-IP profiles; the "grown-up" Netgear for 100-user sites. |
| Insight-manageable | Cloud option | Many Smart models add to Insight for multi-site cloud management (subscription). |
Dell PowerSwitch (N-series for campus)
Open-networking campus switches running OS6 (Cisco-like CLI), strong stacking (up to 12 units), lifetime warranty. Dell's play: the server vendor's network — attractive when the client is already a Dell shop.
| Line | Position | Typical models / use |
|---|---|---|
| N2200-ON | Campus access, multigig | 24/48 × 1/2.5G, 4× 25G SFP28 uplinks, 60W PoE; 12-unit stacking. Wi-Fi 6/6E AP backhaul. |
| N3200-ON | Campus access/aggregation | 24/48 × 1/2.5/5/10G, 25G uplinks, 90W PoE; 12-unit stacking. Distribution for 100-user sites. |
| E3200-ON | Entry campus | Cost-optimized 1G access for budget refreshes. |
| S-series (S4100/S5200) | Data center / aggregation | 10–100G; for the rare SMB with a real server-room fabric. |
TP-Link Omada
The budget disruptor — Omada SDN controller (hardware OC200/OC300, software, or cloud) manages switches, APs, and gateways from one dashboard, mirroring UniFi's playbook at lower price points. Standalone web/CLI management also available.
| Line | Position | Typical models / use |
|---|---|---|
| TL-SG2008 | 8-port smart managed | Desktop/compact; VLAN, QoS, IGMP; micro-office or IDF extension. |
| TL-SG2210MP / P | 8–10 port smart PoE+ | 150W-class PoE; AP/phone power for small sites. |
| TL-SG3428 | 24-port L2+ managed | 24× 1G + 4× SFP, static routing, ERPS ring; the 25-user office core. |
| TL-SG3428XMP | 24-port PoE+, 10G SFP+ | 384W PoE+; AP-dense small offices. |
| TL-SG3452X | 48-port L2+, 10G SFP+ | 48× 1G + 4× 10G SFP+; 100-user access layer on a budget. |
| Omada L3 (TL-SX3xxx) | 10G aggregation | When the budget build needs a real aggregation tier. |
Brand comparison at a glance
| Need | Pick | Why |
|---|---|---|
| Cheapest managed 8–24 port | TP-Link Omada / Netgear Essentials | Price; Omada adds controller uniformity |
| MSP-standard 24–48 port, multi-site dashboard | Ubiquiti UniFi / Aruba Instant On / Meraki MS | Single pane of glass; pick by Wi-Fi ecosystem alignment |
| CLI-first, automation, enterprise features | Cisco Catalyst / Aruba CX / Dell N-series | Full L3, stacking, mature CLI/API |
| 100-user collapsed core on budget | Aruba CX 6200 stack / Dell N3200 stack / TP-Link TL-SG3452X | Stacking + 10G uplinks without enterprise tax |
| AP-dense / multigig backhaul | Dell N2200-ON / Aruba CX 6300 mGig / UniFi Pro Max | 2.5G ports + 60–90W PoE where Wi-Fi 6E/7 APs demand it |
Speak fluent network
7. Concepts glossary
Written the way a senior tech explains it to a junior — precise, but in human words.
Subnetting — with cheat sheet
The idea: an IP is 32 bits; the mask says how many leading bits are the network vs. the host. CIDR (/24) just counts the network bits. The only math you need: hosts = 2^(host bits) − 2. /24 → 8 host bits → 254. Subnets from splitting = 2^(borrowed bits): split a /24 into /26s → 4 subnets of 62 hosts.
| CIDR | Mask | Usable hosts | When you'd use it |
|---|---|---|---|
| /30 | 255.255.255.252 | 2 | Point-to-point links (firewall↔ISP, router interconnect) |
| /29 | 255.255.255.248 | 6 | Tiny DMZ / lab |
| /28 | 255.255.255.240 | 14 | Small VLAN (printers, management overflow) |
| /27 | 255.255.255.224 | 30 | Voice VLAN, camera VLAN |
| /26 | 255.255.255.192 | 62 | Small user VLAN |
| /25 | 255.255.255.128 | 126 | Medium user VLAN |
| /24 | 255.255.255.0 | 254 — the default VLAN size | |
| /23 | 255.255.254.0 | 510 | Large user/Wi-Fi VLAN |
| /22 | 255.255.252.0 | 1,022 | Big-site user VLAN (practical ceiling per broadcast domain) |
| /16 | 255.255.0.0 | 65,534 | Never as a single VLAN — use as a site summary (10.10.0.0/16) |
The /31 special case: RFC 3021 allows /31 on point-to-point links (no broadcast needed). You'll see ISPs use it. Don't use it on LANs.
CIDR
"Class A/B/C" is dead trivia; CIDR is how the world works. 10.10.30.0/23 = "the first 23 bits are network." It lets you carve and summarize: advertise 10.10.0.0/16 instead of 14 individual /24s. Senior tech says: if your VPN crypto-maps or firewall rules list 30 individual /24s, you failed CIDR — summarize.
NAT / PAT
Static NAT
1:1 — public IP ↔ internal server. For published services (mail, web). Uses a public IP per service host.
PAT / overload
What everyone means by "NAT": 10.10.30.50:52341 → 203.0.113.8:52341. The firewall tracks the session table. This is "the office shares one public IP."
What breaks
Anything embedding IPs in payloads (old SIP/VoIP, some VPNs, FTP active mode) — that's what ALGs/helpers are for, and why SIP + NAT = the classic voice ticket. PAT hiding hosts is not a security strategy — the firewall rules are the security.
NAT reflection / hairpin
Internal client reaching the public IP of an internal server — must be explicitly allowed on many firewalls, or use split-brain DNS so clients never take the long way around.
STP / RSTP
Switches flood unknown unicasts and broadcasts out every port. Loop two cables between the same switches and broadcasts circle forever — a broadcast storm that melts the network in seconds. Spanning Tree finds loops and blocks redundant ports, unblocking them if the active path dies. STP (802.1D): original, 30–50s convergence — historic. RSTP (802.1w): ~1–6s — the one you run. MSTP/PVST+: multiple instances for load-sharing VLANs across links.
- PortFast (edge ports): access ports to endpoints skip the 30s delay. Never on ports facing other switches — a PortFast trunk can create a temporary loop.
- BPDU Guard: PortFast port receives a switch hello → shut the port down. Enable globally on all access ports — prevents most "someone brought a hub from home" outages.
- Root Guard / Loop Guard: protect the top of the tree on distribution ports.
- Root bridge placement: the core/distribution switch should be STP root (lowest priority, e.g. 4096) — set it explicitly, don't let a closet switch win on lowest MAC.
PoE budgets
Power over the same Ethernet cable, negotiated between switch (PSE) and device (PD). The budget is the total watts the switch can deliver across all ports — the number that actually matters.
| Standard | Per-port max (at device) | Typical devices |
|---|---|---|
| 802.3af (PoE) | 15.4W (12.95W usable) | Basic VoIP phones, simple cameras |
| 802.3at (PoE+) | 30W (25.5W usable) | Wi-Fi 5/6 APs, PTZ cameras, video phones |
| 802.3bt Type 3 | 60W (51W usable) | Wi-Fi 6E/7 APs, large PTZ, LED lighting |
| 802.3bt Type 4 | 90W (71.3W usable) | The hungriest APs, digital signage |
Budget math — do this before every AP/camera rollout: 24 APs × 25W = 600W needed → a "370W PoE+" 48-port switch is not enough, despite having 48 PoE+ ports. Ports ≠ power. Keep 20–30% headroom. Cat5e minimum for PoE+, Cat6A for bt. PoE watchdog (auto power-cycle on unresponsive PD) is gold for remote cameras/APs.
SFP / QSFP
| Form factor | Speed | Typical use |
|---|---|---|
| SFP | 1G | Legacy uplinks, 1G fiber runs |
| SFP+ | 10G | The SMB uplink standard — access→distribution |
| SFP28 | 25G | Modern server/aggregation links |
| QSFP+ | 40G | Aggregation (being displaced by 100G) |
| QSFP28 | 100G | Core/aggregation, data center |
| QSFP-DD / OSFP | 200/400G | Service provider / hyperscale — know the names |
Field rules: match transceiver to fiber (SX = multi-mode short, LX/LR = single-mode long — never mix). DAC cables for short in-rack links (cheaper, lower power). Third-party optics are fine if coded for your vendor. Keep spare optics for your uplink types on the shelf.
MTU / jumbo frames
MTU = largest packet a link carries; standard Ethernet = 1500 bytes. Jumbo frames (9000) help only when every device in the path supports them — one 1500 device in the middle = fragmentation or black-holed traffic. Senior tech says: enable jumbos only on dedicated storage/backup VLANs where you control both endpoints — never on user/voice VLANs. VPN overhead: IPsec adds ~50–80 bytes; set tunnel MTU/MSS clamping to ~1400–1420. "VPN connects but RDP/large transfers stall" = MTU until proven otherwise.
QoS basics
When a link congests, something has to wait — QoS decides what waits. It doesn't create bandwidth; it rations it. Marking: DSCP values — memorize EF (46) = voice bearer, CS3/AF31 (24/26) = voice signaling, AF41 (34) = interactive video, CS0 (0) = best-effort. Trust boundary: classify near the source (phone marks EF via LLDP-MED), then queue on congested egress ports. What matters in SMB: (1) voice VLAN with EF honored end-to-end, (2) priority queuing on WAN egress, (3) 4–5 classes max. Marking without queuing on the bottleneck is decoration. Wireless QoS (WMM) maps DSCP to 4 Wi-Fi access categories — without it, a laptop backup can starve a Teams call on the same AP.
Verify everything
Official sources
Canonical vendor documentation behind this vault. Research read October 2026 via web index — re-verify before presenting version-specific facts to a client.
Transfer or seize FSMO roles
Microsoft Learn — FSMO procedure, ntdsutil steps.
learn.microsoft.com →AD functional levels
Microsoft Learn — 2025/2016/2012 R2 matrix, upgrade rules.
learn.microsoft.com →DHCP Failover
Microsoft Learn — modes, MCLT, TCP 647, IPv4-only.
learn.microsoft.com →DNS aging and scavenging
Microsoft Learn — intervals, enablement steps.
learn.microsoft.com →DNS scavenging Q&A
NoRefresh + Refresh + scavenging-period formula.
learn.microsoft.com →FSMO roles with PowerShell
Dell support KB — Move-ADDirectoryServerOperationMasterRole, role IDs 0–4.
dell.com →Catalyst 1200/1300 release notes
Cisco — series/firmware confirmation.
cisco.com →Meraki MS datasheet
Cisco — MS220/MS350, virtual stacking, cloud management.
cisco.com →CX switch portfolio
HPE — 6000/6100/6200/6300/6400 positioning.
hpe.com →UniFi professional switching
Ubiquiti — current lineup; verify tier names before quoting.
ui.com →UniFi switching overview
Ubiquiti — PoE lines.
ui.com →Smart Managed Plus
NETGEAR — official category page.
netgear.com →PowerSwitch products
Dell — networking product pages.
dell.com →TL-SG3428
TP-Link — Omada L3/L2 managed switch.
tp-link.com →TL-SG3428XMP
TP-Link — PoE+ with 10G SFP+.
tp-link.com →TL-SG2008
TP-Link — 8-port smart managed.
tp-link.com →TL-SG3452X
TP-Link — 48-port Omada SDN switch.
tp-link.com →NETGEAR switch finder
NETGEAR — model listings.
netgear.com →Could not verify
Items flagged during research (October 2026). Treat as "confirm before presenting to a client": verbatim Cisco Catalyst 1200/1300 marketing product-page URL (series confirmed via official docs PDFs); exact Dell US storefront product URL pattern (N-series specs confirmed via Dell docs); Ubiquiti tier naming (reshuffles frequently — verify at ui.com/switching/professional); Aruba Instant On official product URL (corroborated via partner pages); NETGEAR per-model pages (category pages captured); all pricing (deliberately omitted — channel/region dependent); Windows Server 2025 AD feature depth (lab-test before promising timelines).
Know it cold, then sell it right
This vault is how Tezla techs stay dangerous. When a client's network needs design work, start from the structures above — and when it needs hands, that's what we're here for.