Writing

Field notes from a live network

Every article, newest first. If you would rather climb a ladder from first principles to advanced operations, start with the series instead.

  1. 01 UniFi Playbooks Firmware, Updates, and Rollback Auto-update is a change window you gave to a vendor. How to stage firmware, read release notes, and get back to the previous version when a building starts rebooting.
  2. 02 UniFi Playbooks Switching, Ports, and PoE Port profiles, trunk tagging, PoE modes, and the two physical problems that produce most "the network is slow" tickets.
  3. 03 UniFi Playbooks Wi-Fi and PPSK Four SSIDs, 26 WLAN records, and one private-PSK map that decides which VLAN a printer lands on. How the wireless side is actually structured in a multi-building UniFi deployment.
  4. 04 UniFi Playbooks Firewall Zones and Policies Network 9 replaced interface rules with zones and a single ordered policy table. Where the real table lives, how to read it, and the two settings that decide whether your policy matters.
  5. 05 UniFi Playbooks Networks, VLANs, and DHCP In UniFi a "network" is three things at once: a VLAN, a subnet, and a DHCP scope. Understanding which one you are editing prevents most of the surprises.
  6. 06 UniFi Playbooks The Controller and Its Backups The controller is the configuration and the configuration is the network. Where the backup lives, what it does not contain, and how to restore without a second outage.
  7. 07 Network Programmability GitOps for Networks The repository is the source of truth, a merge is a deployment, and a revert is a rollback. What that requires, and where it breaks in a district.
  8. 08 Network Programmability Validating Configuration Automation turns a typo into a hundred-device outage. Five layers of validation, from syntax to behavior, are what make it safe to run unattended.
  9. 09 Network Programmability Python Libraries Worth Using Five libraries cover almost every network automation task. Which one to reach for, and the two lines of code that save you from a week of parsing.
  10. 10 Network Programmability Ansible for Network Devices The tool most teams reach for first, and the one most likely to become a pile of CLI commands in YAML. How to keep it idempotent, reviewable, and safe.
  11. 11 Network Programmability NETCONF, RESTCONF, and YANG Two protocols, one data model, and a datastore that can be validated before it is committed. What each transport is for, and the operations that matter.
  12. 12 Network Programmability Models Before Protocols A CLI is a user interface, not an API. Before you automate anything, you need a schema that says what a valid configuration looks like.
  13. 13 QoS and Real-Time Traffic Wireless QoS and WMM On Wi-Fi, QoS buys you contention advantage, not bandwidth. Four access categories, one shared medium, and a hard limit on how many calls an AP can carry.
  14. 14 QoS and Real-Time Traffic Video and Screen Sharing Video is bursty, adaptive, and unforgiving in different ways than voice. Screen sharing adds I-frame spikes that break naive bandwidth plans.
  15. 15 QoS and Real-Time Traffic Voice A voice call is 87 kbps that must arrive on time. Bandwidth is never the problem; delay, jitter, and one-way audio are.
  16. 16 QoS and Real-Time Traffic Queuing and Shaping A queue is a waiting room with a doorman. Shaping builds the room, scheduling decides who enters first, and the depth decides how long anyone waits.
  17. 17 QoS and Real-Time Traffic Classification and Marking A packet carries a label that says how important it thinks it is. QoS works only if you control who is allowed to write that label.
  18. 18 QoS and Real-Time Traffic Why QoS Exists Networks are shared, and sharing is unfair by default. QoS is the set of decisions about who waits when the link is full — and most links are not full.
  19. 19 Physical Layer and Cabling Racks, Labeling, and Standards A closet is a maintenance interface. Airflow, power, labeling, and documentation decide whether the next person can fix something in ten minutes or two hours.
  20. 20 Physical Layer and Cabling Cabling for PoE Power over Ethernet turns cable into a power circuit. Bundles get hot, voltage drops over distance, and a cable rated for data may not be rated for the current.
  21. 21 Physical Layer and Cabling Testing and Certification A cable that links is not a cable that passes. What the tester measures, which results matter, and why the report is the deliverable.
  22. 22 Physical Layer and Cabling Fiber Types and Connectors Multimode for buildings, single-mode for distance, and a connector that must match the polish and the polarity. The four mismatches that produce a link that will not come up.
  23. 23 Physical Layer and Cabling Copper Standards and Reality Cat5e, Cat6, Cat6A, and the distance that decides whether 10 Gbps works. What the categories actually guarantee, and where installed cable falls short of the label.
  24. 24 Monitoring and Observability Dashboards That Answer Questions Every dashboard should answer one question for one audience. Most answer none, for everyone, with forty panels and a refresh rate nobody needs.
  25. 25 Monitoring and Observability Alert Design People Trust An alert is a promise that someone should stop what they are doing. Most monitoring systems break that promise hundreds of times a week, and then nobody answers.
  26. 26 Monitoring and Observability Metrics, Logs, Traces The three pillars were named for applications, not networks. What transfers, what does not, and the one statistical habit that fixes most bad dashboards.
  27. 27 Monitoring and Observability Logs and Flow Data Metrics say how much, logs say what happened, flows say who. The three answer different questions, and a district needs all three to close a ticket.
  28. 28 Monitoring and Observability SNMP, Still The protocol is thirty years old and still the only common way to read a switch. What to poll, which counters lie, and how to secure it without breaking it.
  29. 29 Monitoring and Observability What to Measure and Why Most dashboards measure what is easy, not what matters. Six signals, one baseline, and the difference between a device being up and a user being able to work.
  30. 30 WAN, SD-WAN, and the Internet Edge QoS Where It Counts QoS inside a 10 Gbps campus does nothing. The only queue that matters is the one in front of the circuit you are paying for — and shaping is what creates it.
  31. 31 WAN, SD-WAN, and the Internet Edge NAT, CGNAT, and the Edge Your ISP can put you behind a translator you do not control. What changes when the public address is shared, and why port forwarding quietly stops working.
  32. 32 WAN, SD-WAN, and the Internet Edge What SD-WAN Actually Solves SD-WAN is policy per application over mixed links, with central management. It is not more bandwidth, not diversity, and not a substitute for understanding routing.
  33. 33 WAN, SD-WAN, and the Internet Edge BGP at the Edge You do not need to run an ISP to need BGP. Two providers, one address block, and a failover that actually works — plus the four filters that keep you from becoming a transit network.
  34. 34 WAN, SD-WAN, and the Internet Edge Circuits, Diversity, and Failover Two circuits are not redundancy if they share a conduit, a provider, or a power feed. What diversity actually means, and how to test a failover before you need it.
  35. 35 VPNs and Remote Access When Zero Trust Replaces VPN A VPN says "you are inside." Zero trust says "you are you, on that device, for this app." The second is harder and narrower, and it is where remote access is going.
  36. 36 VPNs and Remote Access Split Tunneling and the Return Path Send everything through the tunnel or only what needs it. Both are defensible; doing neither deliberately produces the leaks, the slowness, and the one-way traffic.
  37. 37 VPNs and Remote Access TLS VPNs and Client Access When the tunnel has to look like HTTPS to get out of a network, TLS-based VPNs win. Certificates, user auth, and the 443 advantage.
  38. 38 VPNs and Remote Access WireGuard in Practice A few hundred lines of kernel code, two keys per peer, and one list that decides both routing and cryptography. Simple enough to audit, sharp enough to cut you.
  39. 39 VPNs and Remote Access IPsec Without the Acronym Soup Two phases, one child SA, and a traffic selector that decides what actually crosses. The five settings that must match, and what a failed negotiation looks like.
  40. 40 VPNs and Remote Access What a VPN Actually Buys You A VPN protects data in transit and authenticates the endpoints. It does not make a laptop trustworthy, and it is not anonymity software.
  41. 41 Firewalls and Policy Engineering Auditing a Live Rulebase Hit counters turn a rulebase from a document into evidence. A repeatable audit finds the rules that do nothing, the rules that do everything, and the zones that were never segmented.
  42. 42 Firewalls and Policy Engineering Writing Policy You Can Defend A rulebase is a record of decisions. Naming, ordering, testing, and documenting each rule so that a year from now the answer to "why is this open?" is written down.
  43. 43 Firewalls and Policy Engineering NAT Without the Mystique Source NAT, destination NAT, and the hairpin case that breaks internal access to a public name. What translation hides, and the protocols that refuse to be translated.
  44. 44 Firewalls and Policy Engineering State Tables and Connection Tracking A stateful firewall remembers every flow so the reply does not need a rule. That memory is finite, ages out, and breaks the moment the return path changes.
  45. 45 Firewalls and Policy Engineering Zones, Rules, and the Order That Matters A firewall evaluates top to bottom and stops at the first match. Understanding that one sentence explains why a correct rule can do nothing at all.
  46. 46 DNS, DHCP, and Core Services Core Services Failure Modes A symptom-to-cause table for the three services everything depends on, written for the ten minutes before you have a theory.
  47. 47 DNS, DHCP, and Core Services High Availability for Core Services Two servers is not high availability. Matching configuration, tested failover, and a monitor that proves the service works are what make the second one count.
  48. 48 DNS, DHCP, and Core Services IPAM and Naming That Scale An address plan is a promise you make to your future self. Scheme, naming, and the small amount of tooling that keeps 113 networks from turning into folklore.
  49. 49 DNS, DHCP, and Core Services DHCP in Depth Beyond DORA: options that decide whether a device works, relays that let one server serve forty VLANs, and the lease mechanics behind a pool that fails at 09:00.
  50. 50 DNS, DHCP, and Core Services Zones, Records, and Delegation A zone is a file with an owner, a serial number, and a promise. Record types, apex rules, and the split between what the district sees and what the internet sees.
  51. 51 DNS, DHCP, and Core Services Resolution, Step by Step Four servers, two protocols, and a cache that decides how fast the fifth lookup is. What actually happens between typing a name and getting an address.
  52. 52 Packet Analysis Five Patterns That Explain Most Tickets Retransmission, zero window, reset, one-way traffic, and name resolution delay. Five fingerprints that cover the overwhelming majority of "the network is broken" tickets.
  53. 53 Packet Analysis TLS and QUIC in a Capture You cannot read the URL, but you can read the handshake. What TLS 1.2, TLS 1.3, and QUIC expose, what they hide, and how to use the difference.
  54. 54 Packet Analysis DNS and DHCP in a Capture Two protocols, both plaintext, both decisive. What the query and the lease exchange look like on the wire, and how to read failure from the flags.
  55. 55 Packet Analysis Reading a TCP Handshake and Its Failures Three packets establish a connection. Where the sequence stops tells you which device is at fault, and the timers tell you how long it has been failing.
  56. 56 Packet Analysis Capturing at the Right Point A capture taken in the wrong place answers a different question. Where to tap, what each point hides, and how to avoid the three mistakes that make a capture useless.
  57. 57 Static Routing and the Multi-Site Network When Routes Break: Verification and Troubleshooting Five failures account for almost every static routing problem. A method that checks forward path, return path, and MTU in that order finds them in minutes.
  58. 58 Static Routing and the Multi-Site Network Routing Between Sites: Fiber, VPN, and the UniFi Reality A second campus needs a link you can defend. Fiber, wireless, or IPsec over the internet, and the static routes and policy that make either one behave.
  59. 59 Static Routing and the Multi-Site Network Designing a Second Campus The first off-site campus is a routing design problem disguised as a construction schedule. Address block, link, services, and cutover order, decided before the first cable is pulled.
  60. 60 Static Routing and the Multi-Site Network Static Routes: Right Tool, Common Trap Static routes are the correct answer for a two-site network with one link. They become a trap the moment the topology has more paths than you can remember.
  61. 61 Static Routing and the Multi-Site Network The Routing Table, Line by Line Connected, static, and dynamic routes all live in one table. Reading it correctly is the difference between guessing and knowing why a packet went that way.
  62. 62 Operations and Automation Multicast Optimization and IGMP Snooping in AV-over-IP Why one unconfigured video wall can saturate a campus uplink, and how a querier, an mrouter port, and multicast-to-unicast conversion fix it.
  63. 63 Operations and Automation Change Windows and Blast Radius Every change has a blast radius. Estimating it before the window is what separates a maintenance task from an outage with a ticket number.
  64. 64 Operations and Automation Read-Only API Auditing A read-only account, a snapshot, and a diff. How to verify what the network actually does instead of what the dashboard claims, without ever writing a change.
  65. 65 Operations and Automation Documentation That Survives You Most documentation is written for the person who already knows. The test is whether someone else can use it at 02:00, with no context and no way to ask you.
  66. 66 Segmentation and Security DNS as a Security Control Content filtering is DNS policy wearing a different hat. If a client can choose its own resolver, the filter is optional — and most networks leave that door open.
  67. 67 Segmentation and Security Cryptographic Interception and SSL/TLS Inspection What a break-and-inspect proxy actually does to a TLS 1.3 handshake, what it costs in silicon, and when the answer is simply no.
  68. 68 Segmentation and Security 802.1X Dynamic VLAN Assignment and RADIUS Port-based access control end to end: the EAP-TLS handshake, the three RADIUS attributes that decide your VLAN, and what MAB costs you.
  69. 69 Segmentation and Security Object-Based Networking and Policy Micro-Segmentation Why a 400-line rule table collapses under its own weight, and how object-oriented policy turns O(n) matching into O(1) group membership.
  70. 70 Segmentation and Security From Flat to Segmented: Migrating a Live Network Moving 98 networks out of one zone without an outage. The order, the dependency inventory, and the make-before-break rule that keeps a school day intact.
  71. 71 Segmentation and Security Trust Boundaries: Why a VLAN Is Not a Security Control A VLAN separates broadcasts. A firewall enforces policy. Confusing the two is how districts end up with 113 networks and one trust boundary.
  72. 72 Enterprise Wi-Fi Roaming in Practice: 802.11k, v, and r The client decides when to roam. The infrastructure can only make the decision easier — and misconfiguring the helpers is worse than leaving them off.
  73. 73 Enterprise Wi-Fi Deterministic RF Tuning for High-Density Wi-Fi 7 Multi-link operation changes the roaming model, 320 MHz channels change the planning model. What to configure now and what to leave alone.
  74. 74 Enterprise Wi-Fi Deterministic RF Tuning for High-Density Wi-Fi 6 OFDMA resource units, BSS coloring, and a channel plan you can defend. Why automated tuning creates the pileups it claims to fix.
  75. 75 Enterprise Wi-Fi Reading a Site Survey A heatmap is a claim about signal, not a promise about performance. What to measure, which numbers matter, and why surveying an empty building lies to you.
  76. 76 Enterprise Wi-Fi Why Your Wi-Fi Is Slow: Airtime, Not Bandwidth Wi-Fi is a shared medium with a queue, not a pipe with a rate. One slow client can consume more airtime than twenty fast ones, and no amount of bandwidth fixes it.
  77. 77 Enterprise Wi-Fi Wi-Fi Basics: Bands, Channels, and Widths Three bands, a handful of non-overlapping channels, and one decision that ruins most networks: leaving channel width at the default.
  78. 78 Switching and the Campus LAN PoE: Budgets, Classes, and the AP That Won't Boot Power over Ethernet is a budget, not a feature. How classes are negotiated, why an access point reboots every forty minutes, and how to size a switch before you buy it.
  79. 79 Switching and the Campus LAN Link Aggregation, Redundancy, and Why One Uplink Is a Bet Bundling links buys bandwidth and removes a single point of failure — but only if both ends agree, and only for flows, not for packets.
  80. 80 Switching and the Campus LAN Spanning Tree Without Fear Redundant cabling without redundant broadcast storms. How the root bridge is elected, why one port blocks, and how to make the topology deterministic instead of accidental.
  81. 81 Switching and the Campus LAN How a Switch Learns: MAC Tables, Flooding, and Aging A switch has no map of your network when it boots. It builds one from source addresses, and every strange layer 2 behavior follows from that.
  82. 82 Networking from First Principles DHCP and DNS: The Two Services Everything Assumes One hands out addresses, the other resolves names. When either fails, everything looks broken in a different way — and both fail in ways you can predict.
  83. 83 Networking from First Principles Routing, Gateways, and the Default Route Why a host sends some packets directly and hands the rest to a router, and how longest-prefix matching decides the path one hop at a time.
  84. 84 Networking from First Principles VLANs: One Switch, Many Networks How a single 48-port switch keeps students, staff, and cameras in separate broadcast domains, and why that separation is convenience rather than security.
  85. 85 Networking from First Principles IP Addresses, Subnets, and Why /24 Isn't Magic Subnetting is arithmetic, not trivia. Learn the four numbers every address carries and you can size a network without a calculator.
  86. 86 Networking from First Principles What Actually Happens When You Open a Web Page One keystroke, four protocols, and about 200 milliseconds. A walk through the exact sequence a browser performs before it can render a single pixel.