PRACTITIONERCHAPTER 09

Diagrams and documentation people use

How to draw the network so the on-call engineer can use it at 3 am: one reader and one question per diagram, the paths that matter with an owner and a check at each hop, and a way to keep it true

40 MINNETWORK ENGINEERUPDATED 2026-11-21
PREDICT

Owoleaf's wiki diagram has 61 boxes and was accurate on the day it was drawn. At 03:10 the on-call engineer must find which path the payouts take to the bank. What is the most useful thing Fadeke can do to the documentation?

A network diagram is the most copied and least trusted document in a network team. Almost everyone has one, almost nobody believes it, and the reason is rarely that it was drawn badly. It was drawn to be complete, and complete diagrams are the first ones to drift: every change touches some box on them, and nobody has time to redraw 61 boxes after a firewall edit. When the diagram is wrong, engineers stop looking at it and ask the person who built the network. That person is on holiday on the night it matters. Network philosophies gives the test this chapter is built to pass: 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?

This chapter is about the two documents that answer that test, a diagram and a runbook, and about the habits that keep them true. The people are at Owoleaf at 200 people: 44 engineers in six teams, a cloud account, a Lagos office and a link to Northmere Bank, its settlement bank. Fadeke is the one engineer who owns networking, and Joakim is a backend engineer who takes his turn on call. The sizes, times and counts here are illustrative.

The model: one reader, one question

Start with who will open the document and what they will be asking, not with what exists on the network.

Reader Their question What they need
The on-call engineer at 3 am Which route does this flow take, and who owns each part of it? The path of one flow, with a check and an owner at each hop
A new engineer in their first week What networks do we have, and what do they connect to? The landscape: networks, sites, partners
An engineer planning a change What exactly is on this device and in this range? The detail: devices, interfaces, addresses
An auditor or a partner’s security team What connects to what, and how is it controlled? The landscape, with the controls marked on each link

Each row is a different diagram. The mistake is to draw one diagram for all four readers. It ends up with the detail the engineer wants, the breadth the new starter wants and the clarity nobody gets. When the head of engineering asks for “the network diagram”, the first useful reply is a question: who is it for, and what will they be trying to find out?

The same idea runs through software architecture. Simon Brown’s C4 model describes software at four levels of zoom, named context, containers, components and code, each one a zoom into the box above. Brown’s own advice is that the lowest level is usually not worth drawing. The point for a network is the habit, not the vocabulary: several small diagrams at different zoom levels, each with its own reader, instead of one large diagram that serves nobody. This chapter uses three levels: the landscape, the path and the detail.

The path diagram, the one for 3 am

Of the three levels, the path matters most, because most faults are found by following a flow. Troubleshooting a live fault starts from a symptom and walks the path with evidence at each step. The path diagram is that walk drawn in advance, so the on-call engineer does not have to reconstruct it from memory in the dark.

Choose the flows by the cost of their failing. Ask what the company loses in the first hour. For Owoleaf, three answers come out: the payouts and settlement traffic to Northmere, the customers’ app traffic into production, and the card processor’s webhooks coming in. That is three flows. The office Wi-Fi is annoying when it fails but does not need a 3 am page.

For each flow, draw a line of boxes from where the traffic starts to where it ends, and put five things on it.

Every hop, named as it is named on the device. If the console calls the gateway gw-prod-a, the diagram says gw-prod-a. A friendly name that the on-call engineer cannot match to the screen costs minutes.

The alternative path, drawn. If there is a backup, show it, with the condition that switches to it. Joakim’s 29 minutes went on not knowing there was a second path at all.

An owner for each hop. A team, or an outside party with the way to reach them: the circuit provider’s fault line, the bank’s operations desk. Write the name of the entry in the on-call sheet, not a phone number that will go stale.

A check and a normal value. What to look at, where, and what it should say: the circuit’s state in the provider’s portal, the tunnel’s state on the gateway, the packet loss to the bank’s address from the production subnet. A normal value gives the engineer something to compare with. The idea is the same as the baseline in a change plan: you cannot say a figure is wrong if you do not know what it should be. Write the normal values from a quiet day.

The addresses that matter. The ranges on the path and the fixed addresses that the other side has allowed. These come from the addressing plan, and the diagram should say so, so that there is one place to correct them.

What stays off the path diagram matters as much. Leave out the rest of the production network, the staging network, the monitoring servers and anything that the flow does not cross. The test is that every box is either on the path or is a named alternative to a box that is. An 11-box path page is easier to keep true than a 61-box diagram, because a change either touches the path or it does not, and the engineer making it can tell which.

The landscape and the detail

The landscape is the one for new starters, auditors and the partner who asks how you connect. It shows networks and what they connect to: the production network, the staging network, the office, the link to the bank, the card processor and the SMS provider, each as a box, with a line for each connection and a label for how it is secured. It should fit on one screen. It changes rarely, usually when a site, a provider or a partner is added or removed, so it is the easiest of the three to keep true. Put it in the on-boarding pack and the audit evidence.

The detail is the one for the engineer making a change: which devices, which interfaces, which addresses, which rules. This is the level that belongs in a database or in configuration, not on a page, because it has hundreds of rows and changes every week. It is where a generated diagram earns its place, as the section on generation explains below. The firewall review and the addressing plan are, in effect, the detail level of two particular subjects, kept as tables rather than drawings.

Draw each level at its own zoom and say which one it is. A diagram that mixes a partner relationship and an interface name on the same page is trying to be two diagrams.

The runbook beside the diagram

A diagram says where. A runbook says what to do. The two are read together at 3 am, so they sit in the same place, link to each other and are reviewed together. The runbooks chapter of the observability course teaches how to write a runbook the on-call engineer can follow at 3 am, and on-call done right covers the rota and the escalation behind it. A network runbook adds three things to the general form.

One page per symptom, not per device. The on-call engineer arrives with a symptom, such as “payouts to the bank fail”, not with a device name. A runbook organised by device makes them guess which device to open.

The first five minutes spelled out. Which check to run first, and what each result means. It follows the path page, hop by hop: check the circuit, check the tunnel, check the bank’s address, and stop at the first hop that is not normal.

A rule for the change that is still in flight. At 03:10 the question after “where is it” is “did we change something”. The runbook links to the change record, and the change plan, as changes, windows and rollbacks describes it, already holds the rollback. A fault that began inside a change window is usually fixed by the rollback and not by diagnosis.

Keeping it true

A document that is not kept true is a rumour. Four habits keep a diagram and a runbook worth reading.

An owner and a date in the header. One named person owns each page, and the page shows the date it was last walked against the real network: not the date it was last edited, which says only that someone touched it. A reader can then decide how far to trust it. An undated diagram forces them to either trust it entirely or ignore it.

The diagram is part of the change. The rule from why network engineers exist is that if a change makes the diagram wrong, fixing it is part of the change. Put it in the change plan as a step and in the post-checks: the change is not closed until the path page is correct. The rebuild that moved the backup tunnel at Owoleaf had a plan, a window and a rollback. It had no line for the diagram, so it was a clean change that left the documentation wrong.

A walk test. Once a quarter, and after any change to a path, someone who did not draw the page follows it against the real network, or against a drill. Put a fault in front of them, such as the primary circuit shown as down, and time how long they take to find the path. The minutes they lose are the faults in the document. Fadeke can run this with Joakim, because he is the reader the page is for. With the new page, the walk test took him four minutes, against the 29 he spent finding the path on the night.

Documents in the place the work is done. Where a team already keeps its changes in version control, keep the diagrams and runbooks there too, as text, so that a change and its documentation update go through the same review. The Write the Docs guide calls this docs as code: documentation written with the tools used for code, including version control and review. It does not make documents true by itself, since someone still has to edit them, but it puts the edit in the same pull request as the change.

Generating diagrams from configuration

Tools can draw a network from its configuration: from the cloud account, from the devices, or from a record of intended state in a tool such as NetBox. The appeal is real. A generated diagram cannot drift from the configuration it was drawn from, and nobody has to redraw it.

Three limits matter. First, it shows what is configured, not what is working. A tunnel that is configured and down looks the same as one that is up. Second, it has no sense of what matters. Every box has the same weight, so the output grows to the size of the network, and a 61-box diagram generated is as unreadable as one drawn. Third, it does not know the human parts: who owns the hop, how to reach the provider, what normal looks like. NetBox is built as a record of intended state that people maintain, and it does not scan the network itself. That is a property of the source of truth, and it carries over to any diagram drawn from it.

So use generation where it fits. The detail level is the natural home: interfaces, addresses and links, produced from the source of truth and refreshed on a schedule. A path page can borrow from it, for instance by filling in the addresses from the same data, but the choice of flows, the owners and the normal values are written by a person. If the generator is the only source of the diagram, make sure the source of truth is itself kept true, which is the same problem moved one step back.

Where practitioners disagree

Draw by hand or generate. Hand-drawn diagrams carry judgement: what to include and what to leave out. They drift. Generated diagrams stay current and carry no judgement. Most mature teams do both, a person on the path and landscape levels and a machine on the detail.

Picture or text. Some teams prefer a diagram in a drawing tool, which is quick to read. Others keep diagrams as text, from which a picture is rendered, so that a change shows as a readable difference in review. The second is easier to keep true and slower to start. The honest comparison is between who will update it and how, not between the tools.

One home or many. Putting everything in one wiki makes it easy to find. Putting each page beside the thing it describes, the path page next to the change plans and the monitoring, makes it more likely to be updated. A wiki page that nobody has a reason to open is the one that goes stale.

How much is enough. One view says that the network should be fully documented because anything undocumented is a risk. The other says that documentation costs time to maintain, so you should document the paths that matter and let the rest be discovered from the devices. Both are right at different sizes. A ten-box network can be documented in full. A network of hundreds of devices cannot, and trying leaves you with a document nobody trusts.

Day to day

At Practitioner level, a Network Engineer or Cloud Network Engineer, you write the pages that others use under pressure and you keep them true as the network changes.

With every change. Update the path page in the same change. Write it as a step in the plan, and tick it in the closing checks. If the change touches a path that has no page, that is the cue to write one.

Weekly. In the change review, look at the week’s changes and ask of each: which page did this make wrong? It takes a minute per change and catches the habit before it becomes a backlog. In a week like the one in a network engineer’s week, the documentation slot is the first thing to be squeezed. Protect an hour of it.

After every incident. Ask whether the diagram or the runbook helped, and how long the engineer took to find the path. Change the page before closing the incident. If the page was right and unread, the problem is where it lives and how it is found, not what it says.

Quarterly. Run a walk test for each path page with someone who did not draw it, in a drill. Update the date on each page, whether or not it changed. Check each owner is still in the company.

Yearly. Check the landscape against the contracts and the cloud bill: every provider and partner link that is paid for should appear on it, and every link on it should be paid for. Retire the pages for flows that no longer exist, and mark them as retired rather than deleting them where an audit might ask.

When it breaks. If the on-call engineer cannot find the path, the first fix is the page, not the engineer. Write down which question the page did not answer, and add it.

Where documentation goes wrong

Drawn once, for completeness. A single large diagram built in a burst of effort, with no owner and no date. It is accurate for about a month.

No alternative path. The page shows the primary route and the engineer finds out about the backup when it is the thing that has failed.

Names that do not match the devices. A tidy diagram with friendly labels the engineer cannot find on a console.

Stale by design. The change plan has no documentation step, so a correct change leaves a wrong page every time.

A runbook nobody has run. It tells the engineer to use a command the platform no longer supports, because nobody has followed it since it was written.

BY ORG SIZE
STARTUPunder 30 people

One engineer holds the network in their head, and the diagram, if there is one, is a photograph of a whiteboard. Write one path page for the flow that earns the money, with the provider’s fault line and the one account that holds the domain, and put it where a second person can find it on the night. Date it. Ask a colleague who has never seen the network to follow it once. That is an hour, and it turns a single person’s memory into something the company can use.

SCALE-UP30 to 300

The network has outgrown one head and the documentation is a wiki that several people edit. Pick the three or four flows that matter most and write their path pages, each with an owner and a date. Add “update the page” to the change template. Keep the landscape to one screen. The risk is a documentation project that draws everything once and is then left to rot; a few pages that are walked every quarter are worth more than a hundred that are not.

ENTERPRISE300 and up

There are hundreds of devices, several teams and an audit calendar. The diagrams cannot be hand-drawn at the detail level, so a source of truth and generated views take that level, and people write the landscape and the path pages. The politics are about ownership: a page with several owners has none. Give each path page a single accountable team, report the age of the last walk test the way you report patch age, and let an auditor sample the pages as they sample changes.

ARTEFACT Write a path page and a runbook for the flow that matters ~50 MIN
YOU PRODUCEA one-page path diagram of 12 boxes or fewer, with an owner, a check and a normal value at each hop, the alternative path, a first-five-minutes runbook and a walk test

Template

# Path page: <flow>
Reader: <who> · Question: <what they need to find out>
Owner · Last walked (date, by whom) · Review: <rule>

## Path
<box> -> <box> -> <box> -> <destination>
Alternative: <box> -> <box>, used when <condition>

## Hops
| Hop (as named on the device) | Owner or provider contact | Check, and where | Normal value |
|---|---|---|---|

## Addresses that matter
<ranges and fixed addresses, with the plan they come from>

## Runbook: <symptom>
1. First check:
2. If normal, next check:
3. If not normal:
Change in flight? <where to look> · Escalate to <role> after <minutes>

## Walk test
Who follows it · Fault given · Time to beat

## Kept true by
<the line in the change template>
WORKED EXAMPLE

Owoleaf at 200 people. Fadeke writes the page for the flow that failed on Saturday. It has 11 boxes, against 61 on the old wiki diagram. Joakim is the reader.

Path page: payouts and settlement to Northmere. Reader: the on-call engineer. Question: which route do payouts take, and who owns each part? Owner: Fadeke. Last walked: 9 November, by Joakim, cold. Review: every quarter and with any change to this path.

Path. payout service (production, 10.40.8.0/24) -> gw-prod-a / gw-prod-b (cloud gateway pair) -> private circuit (the circuit provider) -> Northmere edge. Alternative: the same gateways -> VPN over the internet from the two fixed outbound addresses -> Northmere’s VPN endpoint, used when the circuit is down. The endpoint address changed six months ago; the page carries the current one and the date it was confirmed.

Hop Owner Check Normal
gw-prod-a/b Fadeke Pair status on the gateway console One active, one standby
Private circuit The circuit provider (fault line in the on-call sheet) State in the provider portal Up, under 40% used
VPN to the bank Fadeke Tunnel state on the gateway Up, with failover armed
Northmere edge Northmere’s operations desk Loss and delay from the production subnet to the bank’s address 0% loss, about 6 ms

Runbook: payouts to the bank fail. 1. Gateway pair: if not one active and one standby, stop and call Fadeke. 2. Circuit state: if down, check that the tunnel is up and carrying payouts, which takes about five minutes to appear. 3. Tunnel down: restore it, using the page for the endpoint address. 4. Both normal: check loss to the bank, then call Northmere’s operations desk. Look first for a change in flight in the change log. Escalate to the head of engineering after 20 minutes.

Walk test. Joakim follows it with the circuit shown as down in a drill, and must reach the tunnel check in under 5 minutes. He took 4. On Saturday, with no page, the same search took 29.

Kept true by. A line in the change template: any change touching the gateways, the circuit or the tunnel is not closed until this page has been walked again.

Now you

You are Fadeke, with the Saturday incident behind you. The network, as it stands: the payout service sits in production, 10.40.8.0/24, and reaches Northmere through a gateway pair, gw-prod-a and gw-prod-b. From there a private circuit from one provider goes to Northmere’s edge, and a backup VPN goes out over the internet from two fixed outbound addresses to Northmere’s VPN endpoint. The endpoint’s address changed in a rebuild six months ago and the old diagram still shows the old one. The 61-box diagram also holds the staging network, the Lagos office and the monitoring servers. Northmere’s operations desk is the bank’s contact, and the provider has a fault line. Joakim will be your reader. Normal figures from a quiet day: circuit under 40% used, 0% loss and about 6 ms to the bank. Write the path page and the runbook, and plan the walk test.

Self-check

DECIDE

After the Saturday incident, Owoleaf's head of engineering asks Fadeke to fix the network diagram. Fadeke is the only network engineer in a company of 200 with 44 engineers in six teams, and has ten working days. The wiki diagram has 61 boxes and was last edited 11 months ago. The on-call engineers are backend engineers, not network specialists. Rough costs, all illustrative: a one-page path for three flows, 2 days; redrawing everything, 6 days; two diagrams, 4 days; setting up a generated diagram, 8 days, with an output of 200 or more boxes. What does Fadeke do?

READING
  1. BOOK
    The Practice of System and Network Administration, 3rd edition, Volume 1 Thomas A. Limoncelli, Christina J. Hogan and Strata R. Chalup, 2016

    The general text for the job. Read its network architecture chapter, then compare what it says a network should look like with the paths your own diagram would have to show. Read: Chapter 23, Network Architecture.

  2. DOC
    The C4 model for visualising software architecture Simon Brown

    The source for the idea of diagrams at several levels of zoom, each with its own reader. It is written for software, so take the habit, not the vocabulary, and note the advice about which levels are worth drawing.

  3. DOC
    Docs as code Write the Docs

    A short statement of the idea of keeping documentation in the tools used for code, with version control and review. Use it to decide whether a path page belongs beside the change plans.

  4. BOOK
    Software Engineering at Google, chapter 10: Documentation Titus Winters, Tom Manshreck and Hyrum Wright (eds.), 2020

    A large engineering organisation on why documentation is treated like code and how it is kept up to date. Read it for the argument about ownership and freshness, which transfers directly to a diagram. Read: Chapter 10, Documentation.

  5. DOC
    Diataxis

    A framework that separates documentation by what the reader is doing: learning, working, looking up or understanding. It is a useful lens on why a runbook and an explanation of the network should not share a page.

  6. DOC
    NetBox documentation: introduction NetBox

    The tool's own statement of what it is a source of truth for. Read what it says about intended state and live state before you generate a diagram from any record of the network.

All companies and people in these examples are fictional. Any resemblance to a real business or person is unintended.

RECALL CARDS Tap to flip. They join your review deck when you mark the lesson complete.
NEXT: Providers, circuits and vendors →