Summary

  • RFC 5737, January 2010, defines three IPv4 blocks for documentation and states the purpose plainly: designated ranges "reduce the likelihood of conflicts and confusion arising from the use of addresses assigned for some other purpose". The first, 192.0.2.0/24, had been reserved since RFC 1166; the other two were allocated in 2010 "primarily to ease the writing of examples involving addresses from multiple networks".
  • RFC 9637, 2024, added a second IPv6 documentation prefix, 3fff::/20, because the original 2001:db8::/32 from RFC 3849 was "inadequate to describe many realistic, current deployment scenarios".
  • The IANA IPv4 and IPv6 special-purpose registries carry the four rows: three IPv4 /24s dated 2010-01, 2001:db8::/32 dated 2004-07, and 3fff::/20 dated 2024-07 — all with Reserved-by-Protocol false, because a documentation prefix is reserved by policy, not by the protocol itself.

768 addresses for writing prose

Documentation needs addresses that cannot belong to anyone. If an example uses a real one, the example eventually points at somebody's router, and a reader who copies it sends traffic into a network that never asked.

RFC 5737 says so in one sentence, and then measures out the space: three blocks of 256 addresses each. 192.0.2.0/24 for TEST-NET-1, 198.51.100.0/24 for TEST-NET-2, 203.0.113.0/24 for TEST-NET-3. Total: 768 IPv4 addresses, out of 4,294,967,296.

The first of the three was not new in 2010. RFC 5737 credits RFC 1166, the Internet Numbers registry, for reserving 192.0.2.0/24. So for roughly twenty years the internet's documentation network was a single /24, and every diagram with two subnets in it had to borrow something else.

Why one block stopped being enough

The 2010 document is honest about the second reason. The other two blocks "have recently been allocated for this purpose, primarily to ease the writing of examples involving addresses from multiple networks."

Read that as a confession about technical writing. A single /24 can show one network and two or three hosts. It cannot show a provider handing a block to a customer, a customer subnetting it, a second provider, and a route between them. Writers needed several apparently unrelated networks in one diagram, and they were getting them from wherever was convenient: private ranges, unallocated space, or somebody's real allocation.

IPv6 and its second prefix

IPv6 got the same treatment a year earlier, with a much bigger rule. RFC 3849 reserved 2001:db8::/32 in 2004 to "reduce the likelihood of conflict and confusion when relating documented examples to deployed systems".

Twenty years later RFC 9637 explains why one prefix was no longer enough: "As the global deployment of IPv6 expands and evolves, individual IPv6 network deployment scenarios have also increased in size and diversity ... The original 2001:db8::/32 reservation is inadequate to describe many realistic, current deployment scenarios."

The replacement is not a replacement. 2001:db8::/32 stays, and 3fff::/20 joins it. A /20 holds 4,096 prefixes of /32 size, which is the arithmetic of a problem that grew rather than a decision that changed. The IANA registry dates the new row 2024-07.

What the registry rows actually claim

Look at the columns. All five documentation entries have Source, Destination, Forwardable and Globally Reachable set to false. None of them is Reserved-by-Protocol.

That last value is the interesting one, and it separates the documentation blocks from the block that holds Class E. 240.0.0.0/4 is reserved inside the protocol: every stack must treat those addresses specially. A documentation prefix is reserved by agreement: nothing in IP stops a packet with a 3fff source from being routed if two operators decide to route it.

So the fake corner of the address space is soft. It works because everyone agrees to pretend, and it fails whenever somebody configures one of those addresses on a real interface. Which is why the documents keep being written: the fiction does not enforce itself.

The habit the blocks were meant to cure

Every one of these documents exists because documentation kept borrowing real addresses. RFC 5737 offers the blocks to stop that. RFC 9637 offers a bigger one for the same reason, and states the failure directly: without it, documentation prefixes "are drawn from address blocks already allocated or assigned to existing organizations or well-known ISPs, or they are drawn from the currently unallocated address pool".

Three IPv4 blocks and two IPv6 prefixes later, the problem is not shortage of fakes. It is that a fake address costs the writer nothing to ignore and the operator everything when ignored. The registry can only keep enlarging the pile.