An EC2 instance wakes up knowing one address by heart: 169.254.169.254. Before it has a hostname, a role, or anything worth stealing, it reaches for a number that sits inside the range the Internet reserved for machines that could not find a server.

That range is 169.254/16. The document that governs it is RFC 3927, “Dynamic Configuration of IPv4 Link-Local Addresses”, published in March 2005 by Stuart Cheshire, Bernard Aboba and Erik Guttman. Its brief was modest: give a host an address when nothing else will. Its method was not modest at all. It handed the host the address, the argument, and the verdict.

The 169.254/16 ritual: probe, claim, defend, yield

RFC 3927 sets aside the 169.254/16 prefix for IPv4 link-local addressing, with the first and last /24 — 169.254.0/24 and 169.254.255/24 — held back for future use. Inside that space, a host with no DHCP answer does not wait for permission. It runs a four-step ritual.

  • Probe. The host picks a candidate address and sends three ARP Probes — ARP Requests with an all-zero sender address and the candidate as the target — roughly one second apart, randomised so it does not fall into lockstep with a neighbour doing the same thing.
  • Claim. If nothing answers, the host sends two ARP Announcements, two seconds apart, telling the link what it has taken.
  • Defend. If someone later challenges the address, the host answers with an announcement of its own. It gets one defence inside a ten-second window.
  • Yield. Lose that argument, or hear a conflict while still probing, and the host drops the address and starts again. The RFC also rate-limits a host that keeps colliding, so a badly seeded random number generator cannot flood the link with probes.

Two boundary rules keep the whole thing honest. Routers must not forward link-local traffic off the link, and link-local addressing is a fallback rather than a plan: where a DHCP server exists, the host takes the routable address and leaves 169.254 alone. IPv6 repeats the trick with fe80::/10 and duplicate address detection — the same argument in a wider address space.

Why the ritual matters: autonomy without evidence is just noise

Self-numbering is the small part. Plenty of protocols let a device pick a number. The interesting part is what happens when two devices pick the same one and neither is inclined to blink.

Autonomy without probing produces two hosts that are equally certain they own the same address, and a link that intermittently delivers packets to the wrong machine — the most expensive kind of outage, because it looks like an application bug for three weeks. RFC 3927’s answer is not a referee. It is a probe: a question asked on the wire, answered by whoever is already there.

The address is not granted. It is tested. That is the whole design, and it is why the mechanism has survived two decades of networks that were never built for it.

Running code first: the RFC arrived seven years after the code

Here is the detail that should stop anyone who believes standards create behaviour. RFC 3927 did not invent link-local addressing. It documented it.

Microsoft shipped APIPA — Automatic Private IP Addressing, the 169.254.x.x address a laptop gives itself when the cable is unplugged — in Windows 98. Apple shipped its own version inside the zero-configuration stack it later branded Bonjour. By the time the IETF published the standard in March 2005, the behaviour had been running in the field for years, on millions of machines, with no RFC to authorise it.

The document followed the deployment. That is the normal order, and it is the one Lu Heng describes in his Note on Minimum Initial Specification, Localized Future Decision and Voluntary Adoption: “A proposal is not reality. A recommendation is not reality. A document is not reality.” The reality was already on the wire. The RFC wrote it down.

The tell: 169.254 in the wild means nobody answered

Engineers learn 169.254/16 the way sailors learn weather — by getting wet. A printer that turns up on the network with a 169.254.x.x address is a printer that never heard a DHCP offer. A capture full of link-local traffic is a confession. The prefix is not a configuration. It is a diagnostic.

Then there is leakage. Link-local addresses are supposed to stay on their link, and routers are supposed to enforce that. Misconfiguration is a renewable resource, so 169.254 turns up in routing tables, firewall logs, vendor defaults and the occasional static route somebody added in 2011 and nobody has dared remove. A self-assigned address that escapes is a missing DHCP server wearing a route.

169.254.169.254: the fallback became the front door

And then the cloud moved in.

AWS, Azure, Google Cloud and OpenStack all place their instance metadata service at 169.254.169.254. The address sits inside 169.254/16 for a reason: it is link-local, it never needs routing, and it is reachable before the instance has any other configuration. The range reserved for machines that could not find a server now hosts the one server every instance must talk to.

That promotion came with a bill. Because the metadata service is link-local and reachable from anywhere on the instance, it became the classic target for server-side request forgery. The 2019 Capital One breach turned on an SSRF request that reached the metadata endpoint and walked away with credentials. A range designed for the absence of authority became a place where authority is handed out.

What 169.254/16 proves about coordination

Strip away the ARP packets and RFC 3927 is a design argument in miniature. Uniqueness is enforced by the parties who bear the consequence, using evidence they can verify locally, under rules that are deterministic and cheap to run. There is no allocation committee, no membership fee, no renewal date, no liability cap, and no appeal to a board. The link is the ledger, and the ledger is checked by asking.

Hold that next to the layer where the same question — which network uses which number — is answered by a global registry, a policy process, and a contract nobody negotiated. Both systems solve uniqueness. One of them does it with three ARP packets and a ten-second argument.

Three probes. Two announcements. Ten seconds to argue, then you move. That is the entire constitution of 169.254/16, and it has held for two decades without a board, a fee, or a liability cap. The registry layer should be taking notes.