Network philosophies: simple, observable, and every change with a way back
Four commitments that decide how a network engineer changes a live network: choose the design you can debug at 3 am, write the way back before the change, capture evidence before and after, and keep every mistake small
You change the routing on a router in a city you cannot visit, over SSH, using a NETCONF confirmed commit with the standard timer (RFC 6241, no value given). The change is wrong: it cuts your session, and you cannot log back in. What happens to the configuration?
A network is a strange thing to be responsible for. Nobody looks at it when it works, and everybody looks at it when it does not. Every other system a company runs sits on top of it, so a mistake in the network does not fail one service; it fails the path to all of them, often including the path you would use to fix it. And the people who change it are few, change it at night, and change it remotely, one command at a time, on devices that cannot tell them whether the command was wise.
That combination, high blast radius, little visibility and nobody watching, is why network engineers grow a set of working rules that look conservative from outside. They are not conservatism for its own sake. They are what is left after enough 3 am calls. This chapter sets out four of them. It teaches how people in the role think. The techniques sit elsewhere: addressing, routing and firewalls in the Networking path (for example the lessons on BGP, DNS and NAT), and the documents each rule produces later in this track. For why the role exists at all, start with why network engineers exist.
The model: four commitments
| Commitment | The failure it answers | What it costs | Where the practice lives |
|---|---|---|---|
| Simple enough to debug at 3 am | A design nobody on the rota can explain while the network is down | Some capability, and some speed of failover | SRE philosophies on toil and simplicity; the addressing and routing chapters |
| A way back for every change | A change that cannot be undone, or whose undo was never tried | Time before each change, to write and test the rollback | Changes, windows and rollbacks; infrastructure as code and delivery |
| Evidence before and after | “It looks fine” as the only proof a change worked | A few minutes of capture on every change | Monitoring and capacity; troubleshooting a live fault |
| Small failure domains | One mistake reaching every site | Slower rollouts, and more circuits or more parts | Design reviews for a new site or region; incident management |
All four trade something. That is the first lesson of the chapter: a philosophy in this job is a stated price, not a slogan. If you cannot say what a principle costs, you have not yet decided to follow it.
Simple enough to debug at 3 am
The most repeated sentence in operations is that the simple design wins, and it is also the most abused, because “simple” is used to win arguments rather than to describe a design. So begin with what it means here. A design is simple when the person on call, woken at 3 am, tired, with a customer on the phone and no colleague awake, can answer three questions from what they can see: where should this packet go, where is it going, and what changed. Simplicity belongs to the person who has to operate the network, not to the person who drew it.
Google’s SRE book, in its chapter on simplicity, treats the property as a precondition for reliability and gives a whole section to “the virtue of boring”: the argument that for production systems, the absence of surprise is something to design for. It is a software chapter, but the logic carries over to routers unchanged. A surprise in the network is paid for by every team above it.
Some surprises you can predict. Dynamic routing protocols make decisions on their own: they choose paths, they reconverge, they reflect a mistake from one router into every neighbour in seconds. That is what you buy them for, and also why a bad route announcement spreads faster than a person can read the alert. Static routes do nothing on their own. They are easy to read, they do not propagate mistakes, and, unless you add tracking, they do not notice when a path dies. The honest comparison is between those two sets of properties, not between “clever” and “simple”.
RFC 1925, “The Twelve Networking Truths”, edited by Ross Callon and published on 1 April 1996, is an informational memo, not a standard, and it is deliberately wry. It is worth reading for its tone: it is the sound of a field that has learned, many times over, that complexity in a network does not disappear when you move it somewhere else. You do not need to memorise it. You need to hold the habit it encodes. When someone proposes the clever design, ask what it will do at 3 am when it has done something nobody expected.
Three tests make the habit usable.
The two-minute test. Could a colleague who has not seen this part of the network find the reason for a fault in two minutes with the diagram and the runbook? If not, the design or the documentation is the fault.
The one-person rule. For any mechanism on the critical path, one person on the rota must be able to explain it end to end. If only the engineer who built it can, the real design is that engineer, and the network inherits their holidays.
The price of the extra capability. State what the clever option buys, in a number: seconds of failover saved, circuits avoided, a route that avoids congestion. If you cannot give the number, the benefit is a feeling.
Simple does not mean primitive. A simple design can still be redundant, monitored and documented. What it avoids is machinery whose behaviour you cannot predict from its configuration.
A way back for every change
Every network change is a bet that you understood the network. The way back is how you limit the loss when you did not. The rule has two parts, and the second is the one people skip: the rollback is written before the change begins, and it is tested, or at least shown to work on a comparable device.
Writing it first matters because the middle of an incident is the worst time to design a recovery. Under pressure you will remember the change and forget what it touched. A rollback written at your desk, with the old configuration saved off the device and the exact commands listed, is something a tired colleague can run for you. A rollback in your head is not available to them.
Testing it matters because untested rollbacks fail in their own ways. The saved configuration is out of date. The command works on one software version and not another. The rollback restores the routes but not the access list that the change also touched. Every engineer has seen a “rollback” that turned a 10-minute problem into a 50-minute one.
Where the platform supports it, make the device do part of the job. The NETCONF standard, in RFC 6241, defines a confirmed commit: you apply a change with a timer, and unless you send a second, confirming commit before the timer runs out, the device undoes the change by itself. The default timer is 600 seconds, and you can set another. Unless you used the standard’s persist option, the device also reverts when the session that made the change ends, so a cut connection brings the old configuration back without waiting for the timer. Check that your device supports the capability before you rely on it. Several vendors provide an equivalent in their own command line. The reason this is such a good habit for remote work is that it protects you from the one mistake you cannot fix yourself: the change that cuts the connection you were using to make it. The device is not clever; it is merely patient. What it will not do is tell you whether the change was a good idea, which is the next commitment.
A way back has a cost, and you should name it: the first few times you do this, a change that took ten minutes takes thirty. The price falls as the runbooks accumulate, and it is far cheaper than a single change that has no way back. A related rule: the rollback decision point belongs in the plan. “If the post-checks have not passed by 02:40, we roll back” is a plan. “We will see how it goes” is a hope. The full change plan, window and rollback is the subject of changes, windows and rollbacks; the habit starts here.
Evidence before and after
“The network looks fine” is the most expensive sentence in operations. It means the person saying it looked at one thing, did not look at anything else, and has no earlier picture to compare against. The third commitment is that no change is complete until you have evidence of what the network did before and what it does after.
Capturing a baseline costs a few minutes. Before the change, record the things that describe the network’s behaviour: the routing table or the relevant part of it, the state of the links and their error counters, the neighbours that are up, and the result of a small set of tests between the points you care about, such as a ping and traceroute matrix between sites, a DNS lookup, and a check that the application a customer cares about answers. After the change, run the same set and compare. Keep both captures with the change record.
Three things follow from doing this routinely.
First, you can tell the effects of your change from faults that were already there. A site that was losing 2% of packets before you started was not broken by you, and the before-capture is how you prove it, kindly and without argument.
Second, the post-check decides the rollback. The question “did it work?” becomes a comparison against criteria agreed in advance, not a feeling at the end of a long night. If one of the checks is ambiguous, you want to discover that while you still have time to roll back, not when the window has closed; the practice of designing post-checks is the subject of changes, windows and rollbacks.
Third, you can see the network at all. Evidence before and after is the habit; monitoring is the permanent version of it. A network you only look at during changes is a network you only learn about during outages. Counters, error rates and utilisation trends are the way you spot the 70% link before it is a 100% link. That story belongs to monitoring and capacity.
One related habit belongs here: keep a way into the network that does not depend on the network. A console or management path on a separate connection, such as a modem or a mobile data link to the console server, is dull and cheap, and it is what lets you act when the main path is the thing that broke. Whether and how to build one is a design decision for later chapters; for now, notice when your own access to a device depends on the thing you are changing.
Small failure domains
The fourth commitment is about how far a mistake travels. A failure domain is the set of things that fail together when one thing goes wrong: one router, one site, one routing policy shared by every site, one change pushed to every device at once. You cannot remove mistakes. You can choose how much of the network each one reaches.
This is the principle behind the unglamorous rules that experienced engineers insist on. Change one site, then wait, then change the next. Start with the least important site, so that the first mistake is the cheapest. Leave the core for last, after the change has run elsewhere. Do not apply the same change to both devices of a redundant pair at once, because redundancy only helps if the pair does not share the fault. Treat a configuration pushed to all devices from a single template with respect, because that is a failure domain of the whole network.
There is a quiet cost, and it is time. A nine-site change done one site at a time, with a wait between, takes days instead of an evening. It also forces a conversation people prefer to avoid: how long do we wait, and what are we waiting to see? A wait with no stated criteria is an arbitrary delay. A wait with criteria (“thirty minutes with no new alerts and the ping matrix clean”) is a test.
The Facebook outage is the reminder of what happens at the other extreme. By Meta’s own account the command reached the whole backbone, and a second fault in how DNS servers behaved turned a backbone problem into disappearance from the internet. The lesson is not that the engineers were careless. It is that two systems that were each reasonable shared a failure domain nobody had drawn on a diagram. Drawing the failure domains, literally, as boundaries on the network diagram, is one of the best uses of an hour.
Where the four pull against each other
They agree most of the time, and the disagreements are where the job gets hard.
- Simple against small failure domains. Splitting a network into many small domains adds devices, circuits and rules. Each split is more to understand. A network with nine independent sites is safer to change and harder to hold in your head than a network with one.
- A way back against speed. Tested rollbacks and long post-checks eat the maintenance window. When the window is short and the change is urgent, the pressure is to skip the check that would have caught the problem. The discipline is to shrink the change, not the safety.
- Evidence against noise. More captures mean more output to read at the worst moment. Capture a small, agreed set of things, not everything.
- Simple against automatic recovery. The static design cannot notice a dead path. If a failure costs money for ten minutes while a person is woken, the simple design has a price, and somebody senior needs to know what it is.
Where practitioners disagree
Dynamic routing everywhere, or only where needed. One camp holds that any network beyond a few sites should run a routing protocol, because manual routes do not scale and a protocol recovers faster than a human. The other holds that most companies never reach the size where the protocol repays the learning curve, the monitoring and the on-call skill it needs. Both are right in their own circumstances; the quarrel is usually about whose circumstances the network will be in two years from now. A common compromise is to start with the plain design and write down the conditions that would trigger the move.
Do you really need to test every rollback. Labs cost money, and real devices differ from lab ones. The practical position is a ladder: test the rollback of a routine change on a lab device or a quiet production device, test an unusual change on a comparable device, and at the very least read the rollback again, line by line, as if someone else wrote it.
Is a freeze a safety measure or a failure. Some organisations stop network changes in the weeks before a peak season, and engineers argue about whether this is sensible risk management or a way of letting debt pile up. Changes held back for six weeks are often applied together afterwards, which grows the very failure domain the freeze was meant to shrink.
Day to day
At Foundations level, a Network Technician, NOC Engineer or Junior Network Engineer, you do not choose the design. You live inside the habits, and what you do each day is what makes them real.
Before every change you make. Open the change record and read the rollback aloud, or to a colleague. Check the saved configuration is the current one. Run the baseline captures and attach them. If there is no rollback, or you cannot follow it, stop and ask; this is the single most useful question a junior engineer can ask.
During a change window. Use the device’s timed rollback where it exists. Make one change at a time and check after each. Note the time of each step in the record as you go, not afterwards, because the timeline is the first thing asked for if something goes wrong.
After a change. Run the post-checks, compare to the baseline, and write down what you saw, including anything odd that did not meet the threshold for a rollback. Leave the record so that the next person can follow what you did.
On a shift. Look at the dashboards at the start, not only when an alert fires; note which links run hot, which counters are climbing, and which devices are logging new warnings. When you hand over, hand over the odd things as well as the incidents.
Weekly. Attend the change review, usually thirty to sixty minutes. Bring accurate records of the changes you made. Ask about any plan whose rollback you could not follow. Notice which changes the team treats as routine, and whether routine changes ever had their rollback tested.
Quarterly. Sit in on a rollback drill or a failover test, if the team holds one. It is the cheapest way to see why the tested rollback matters.
There is no network engineer. The network is a router, a firewall and a cloud account, run by whoever knows most. The four habits are free and still apply: write the undo before you change the firewall, take a screenshot or export of the rules before and after, and change one thing at a time. The danger is the clever shortcut that only one person understands. When that person leaves, or is asleep, nobody knows how the traffic flows. Keep the design plain enough that a competent stranger could read it.
This is where network engineering is first written down, and the temptation is to import an enterprise design because the first network engineer has done it before. Resist adding machinery before you can name the problem it solves. Write the first rollbacks and post-checks into the change template, so they exist before the first bad night. Draw the failure domains on the diagram. Agree who is allowed to change the core, and make sure two people can run every mechanism on the rota. The risk is a design that fits the hire, not the company.
The network is big, old and shared, and the problem is consistency and politics. Hundreds of changes a month pass a change advisory board that approves paperwork, while the paperwork often has a rollback nobody tested. Different sites run different designs, left by acquisitions and by engineers who moved on. Your leverage is standardising the checks, not the designs: one change template with a tested rollback and a baseline, failure domains named on every diagram, and results reported the same way everywhere, so that a freeze is a decision with evidence, not a reflex.
Template
# How <team> makes changes
Owner · Reviewed by · Version · Review date
## 1. Simple enough to debug at 3 am
We do: <the test a design must pass, e.g. one named person on the rota can explain it>
It costs: <what we give up, in seconds, circuits or features>
How to check: <what a reviewer can look at>
We break it when: <the stated condition>, decided by <role>, recorded in <place>
## 2. A way back for every change
We do: <rollback written before the change, tested how, device's own timer used where it exists>
Rollback decision: <the time or the check that triggers it>
It costs: <extra time per change>
How to check: <what the change record must contain>
We break it when: <condition>, decided by <role>, recorded in <place>
## 3. Evidence before and after
Before and after we capture: <list>
Kept in: <place>, for <how long>
It costs: <minutes per change>
We break it when: <condition>
## 4. Small failure domains
Rollout order: <e.g. quietest site first, core last>
Wait between steps: <time> and proceed only if <criteria>
It costs: <how much longer a rollout takes>
Never changed together: <e.g. both devices of a pair>
We break it when: <condition>
## What would make us revisit this
<Dated or measurable triggers> WORKED EXAMPLE
Ojaline (1,400 staff, 300 engineers, delivering in nine cities) has a network team of four, on a one-in-four on-call rota. Opeoluwa wrote this statement after reading the incident log; Kaveh, who has run BGP in production, reviewed it. All numbers are illustrative.
1. Simple enough to debug at 3 am. We do: no mechanism goes on the critical path unless two people on the rota can explain it end to end; today the city hubs use static routes through two core hubs. It costs: a manual failover of about ten minutes, against under one minute for dynamic routing. Six circuit failures a year at about nine extra minutes each is roughly 54 minutes of extra hub downtime a year. Check: ask any rota member to trace a parcel-scan packet from a city to the cloud. We break it when: a mechanism has a stated benefit worth more than that cost, decided by the head of infrastructure.
2. A way back for every change. We do: the rollback is written and attached before the window opens; a colleague reads it; remote changes use the device’s timed rollback with a five-minute timer. Rollback decision: if post-checks are not clean by thirty minutes into the window, we roll back. It costs about twenty minutes per change. We break it when: never for core changes; for a standard change, the owner may skip the lab test and says so in the record.
3. Evidence before and after. We capture the route table, link error counters and a ping matrix between the nine hubs. Kept with the change record for a year. It costs about five minutes.
4. Small failure domains. Rollout order: seven city hubs in three nights (two, two, three), quietest first; the two core hubs on the fourth night, never both together. Wait thirty minutes between steps, and proceed only with a clean matrix and no new alerts. A nine-hub change takes four windows, not one.
What would make us revisit this. More than 60 static route lines (28 today); a tenth hub; manual failovers costing more than two hours in a year; or two engineers having run dynamic routing in the lab for a quarter.
Now you
You are the network engineer at a 90-person logistics firm with offices in four cities and a server room at head office. You have one colleague and no written change practice. The head of IT wants a statement of how network changes are made, before a consultant starts work on the branch routers. Last quarter there were 22 changes. Five caused incidents. Three of those five had no written rollback and lasted 50, 35 and 80 minutes. Two had a written rollback and lasted 8 and 12 minutes. The consultant has proposed running dynamic routing between all four offices; neither of you has run it before. Every change so far has been made over remote access, at night. Complication: the managing director wants the next change, a firewall rule for a new customer’s portal, made at 11:00 tomorrow in office hours, because the night work costs overtime. Write the statement. Work out the average incident length with and without a written rollback, say what the consultant’s proposal costs under your simple-first principle, and decide whether tomorrow’s change is a time you may break a principle, and who records that.
Self-check
Ojaline has nine city hubs. Kaveh proposes dynamic routing between all of them over 20 circuits; failover takes under a minute. Opeoluwa proposes static routes through two core hubs over 15 circuits (about 28 route lines); a person fails over in about ten minutes. Circuits fail about six times a year, four of them overnight. The rota is four engineers, and only Kaveh has run a routing protocol in production. The network must be built before the next peak season. What do you recommend?
- BOOK The Practice of System and Network Administration, volume 1 (3rd edition) Thomas A. Limoncelli, Christina J. Hogan and Strata R. Chalup, 2016
The standard practical text on running systems and networks as an operations discipline: change control, rollback, documentation and the habits this chapter describes. Read: the chapters on change management and on debugging; check the contents page of your edition for the exact numbers.
- BOOK Site Reliability Engineering, chapter 9: Simplicity Beyer, Jones, Petoff and Murphy (eds.), 2016
The case that simplicity is a precondition of reliability, written for software but applicable to routers: surprises in production are what operators pay for. Read: the section The Virtue of Boring.
- POST More details about the Oct. 4 Facebook outage Engineering at Meta, 2021
A public account of how a routine command, a safety tool with a bug and the behaviour of DNS servers combined into a global outage. Read it for the shape of the failure, not for blame.
- DOC RFC 1925: The Twelve Networking Truths Ross Callon (ed.), 1996
An informational memo, not a standard, that gathers hard-won rules of thumb about networks, including the reminder that a network has to work. Short, and best read after your first bad night.
- DOC RFC 6241: Network Configuration Protocol (NETCONF) R. Enns, M. Bjorklund, J. Schoenwaelder and A. Bierman (eds.), 2011
The primary source for the device-side rollback timer that protects you when a remote change cuts your own session. Read: the Confirmed Commit capability and its confirm-timeout parameter.
All companies and people in these examples are fictional. Any resemblance to a real business or person is unintended.