Summary

  • RFC 3927, May 2005, lets a host configure itself an address in the 169.254/16 prefix when DHCP or manual configuration is unavailable — good only for talking to other devices on the same link.
  • Then it builds a fence: “IPv4 Link-Local addresses MUST NOT be configured in the DNS”, resolvers must not chase 254.169.in-addr.arpa. off the link, and names resolvable only locally “MUST NOT be used in off-link communication”.

An address with no administrator

Every other IPv4 address comes from someone: a registry, a provider, a DHCP server, or a person with a text file and a strong opinion. The 169.254 range comes from the host itself — picked at random out of 65,024, then checked by shouting into the link and listening for an answer.

The shout is the interesting part. Before using an address, the host broadcasts an ARP probe — a request with an all-zero sender address — asking whether anyone already holds it. Silence means the address is free. An answer means pick another and try again. It is a land registry with no registrar: title verified by echo, in under a second, for free.

No committee, no fee, no one to petition. Just a deterministic check any device can run and any neighbour can contradict — which is precisely why it scales down to a projector and a laptop in a meeting room with no IT department in sight.

Defence, but only once

The memo makes conflict detection permanent rather than a startup ritual: for as long as the host uses the address, it watches for ARP packets claiming that address from a different hardware address. The address is not a certificate. It is a claim, renewed by attention.

The response has two branches. A host may give up at once and pick a new address, or it may defend — broadcasting a single announcement — but only if it has not seen another conflict within a short interval. The rule is a compromise between politeness and continuity: an address carrying live connections is worth one shout, and not worth a shouting match.

The fence around a local name

The cautionary measures are where the design turns into a discipline. Link-local addresses must not be configured in the DNS. Resolvers must not send queries for names under 254.169.in-addr.arpa. past the link. Names that resolve only locally must not be used off-link. And if a globally routable address is available, it should be used instead.

The reason is scope. An address whose meaning is “this host, on this link” becomes a lie the moment it is forwarded — and the memo says the advice “should hinder limited scope addresses and names from leaving the context in which they apply”.

That is the whole trick, and it is a familiar one: keep the rule set thin, and the only thing that can break it is a well-meaning attempt to make it travel.

What it costs not to have a server

The arithmetic is the argument for randomness. On a link with 1,300 hosts, a host picking at random has a 98% chance of landing on a free address on the first try, and the odds only improve as links shrink.

Which makes this a cheap scheme for a coffee shop and a bad one for an office of thousands — and the memo is careful about when to use it. An interface with several scopes and no way to choose between them “leads to complexity for applications”.

Why the range became a signal

Two decades on, 169.254 is less often a working address than a symptom. A machine showing one is usually a machine that did not get a DHCP lease — and everything downstream, from captive portals to printers to industrial equipment to the laptop hunting for a projector, inherits a scheme invented for the case where nobody had configured anything.

That is the honest outcome. The memo solved the meeting-room problem with arithmetic and discipline, and the discipline is the part that had to be written down — because the arithmetic only works if nobody routes it.