In June 2001, the IETF handed DHCP a padlock. RFC 3118, Authentication for DHCP Messages, defined option 90 so that a client and a server could prove a packet really came from the peer it claimed — and that nobody had quietly rewritten the gateway, the name server or the address on the way past. The padlock came with a catch that has outlived the standard: the key had to be handed over before the conversation began, and the client was still free to walk through an unlocked door whenever its own local policy said so.
That is the whole story in one line. RFC 3118 did not build an identity service, a roaming agreement or a global trust fabric. It built a local arrangement — a shared secret, provisioned out of band, inside one administrative domain — and left the last word to the machine at the edge.
A protocol that trusted everyone in the room
DHCP is remembered for the small miracle it performs: a host arrives knowing nothing, and a few broadcast packets later it holds an address, a gateway, a name server and a lease. The convenience is also the exposure. A rogue server — or a perfectly well-meaning one switched on by mistake — can hand a client a gateway that leads nowhere. A client can pretend to be someone it is not, or drain a pool one request at a time. RFC 2131 laid the plumbing; RFC 3118, seven years later, tried to add a signature.
It did so without redesigning the protocol. No new message types, no second handshake bolted on top. Just an option, carried inside the messages that already existed, that could carry proof.
Option 90: one field, three uncomfortable questions
On the wire, option 90 looks like a single object. In practice it answers three separate questions, and the RFC is careful to keep them apart: a protocol selector (which procedure is in play), an algorithm identifier, a replay-detection method with its replay value, and finally the authentication information itself. Which procedure? How would a stale packet be spotted? Which secret, and which message authenticator, ties this packet to this peer?
Two procedures were defined. The first was a token — cheap, simple, and honestly described by the RFC as rudimentary protection against a server that was started by accident. It offered a weak form of entity authentication and no message authentication at all. The second was delayed authentication, the real mechanism, built on HMAC-MD5 (RFC 2104 over RFC 1321) and a shared secret. That is history, not a recommendation: MD5's reputation has since collapsed, and this is a report of the 2001 design rather than a defence of it.
The handshake that began before the handshake
Delayed authentication has a charmingly awkward shape. The client asks for authentication in its DHCPDISCOVER. A server picks a secret and returns authentication information in the DHCPOFFER. The client chooses an offer and sends a DHCPREQUEST keyed to the matching secret, and the acknowledgement that follows has to validate. Replay detection rides along, so a valid authenticator lifted from an earlier packet cannot simply be pasted into a new one and waved through.
Read that sequence again and notice what it assumes: a relationship that exists before the first packet. RFC 3118 says the client should receive its key through an out-of-band mechanism, and the server must already know — or securely obtain — keys for the clients it is willing to serve. Share one secret across a crowd and any holder can impersonate any other; where individual identity mattered, the RFC asked for unique keys. The provisioning system that made all of this work was, by design, outside DHCP's remit.
The boundary was drawn deliberately. Delayed authentication did not address roaming between administrative domains. It was built for intradomain use, where handing out a secret separately was practical, and the RFC itself warned that the approach might scale badly once clients wandered between domains. A message authentication code can prove that a packet matches a configured key. It cannot conjure a global identity, negotiate a roaming agreement, or grant a right to use whatever network you happen to plug into.
Relays, fallbacks, and the policy doing the real work
Relays sit in the middle and are allowed to touch things: the hop count, the relay gateway address, the relay-agent information appended under RFC 3046. RFC 3118 specified how those mutable fields were to be treated inside the message-authentication calculation, so that legitimate forwarding would not shred the check. That preserved a defined path through intermediaries. It did not promote every relay to an identity authority.
Then comes the part that ages best. The client was never forced into a single universal outcome when authentication was missing. If no offer carried valid authentication, local policy could still accept an unauthenticated one. The RFC required clients to be configurable to decline such messages and said they should default to declining them; if a client did accept one, it should tell the user and write the event to a log. The security lived partly in the MAC and partly in the policy that decided whether to fall back.
Which is exactly why a visible authentication option is such a dangerous thing to trust at a glance. An option on the wire is not a mandate. A client that accepts an unsigned offer has not been authenticated, however many option-90 fields its vendor's datasheet lists. RFC 3118 said so plainly, and that warning is the most durable sentence in the document.
What the record refuses to say
Here the history gets honest about its own gaps. The record does not show how widely option 90 was implemented, how often it was configured, or how much attack traffic it actually stopped. A standard defines what is possible; deployment and outcome need their own evidence — release notes, configuration examples, key-provisioning procedures, packet captures that follow option 90 through DISCOVER, OFFER, REQUEST and ACK, and a log that distinguishes a replay rejection from a MAC failure. RFC 3118 supplies none of those measurements.
What it supplies is a design lesson with a sharp edge. DHCP authentication was never a network-wide identity service. It was a local trust arrangement, bounded by who provisioned the secret, which relays and servers were in scope, and whether the client chose to accept the unsigned alternative. Every operator who assumed otherwise was trusting a padlock whose key had been handed out before anyone knocked.
Sources
- https://www.rfc-editor.org/rfc/rfc3118.html
- https://www.rfc-editor.org/info/rfc3118
- https://datatracker.ietf.org/doc/rfc3118/
- https://www.rfc-editor.org/rfc/rfc2131.html
- https://www.rfc-editor.org/rfc/rfc2132.html
- https://www.rfc-editor.org/rfc/rfc3046.html
- https://www.rfc-editor.org/rfc/rfc2104.html
- https://www.rfc-editor.org/rfc/rfc1321.html
- https://www.rfc-editor.org/rfc/rfc2119.html
- https://www.rfc-editor.org/rfc/rfc951.html
- https://www.rfc-editor.org/rfc/rfc4361.html
- https://www.rfc-editor.org/rfc/rfc6842.html
- https://www.rfc-editor.org/rfc/rfc8415.html
- https://www.iana.org/assignments/bootp-dhcp-parameters/bootp-dhcp-parameters.xhtml
Member Briefing
Read the full trend briefing
Members read the full briefing with the source notes behind every finding.
Strategic Circle
A daily briefing in your language, built from changes we have verified.
Join for USD 20/monthCancel anytime.
Members also get the full research library, a daily briefing on the networks they follow and the private forum.






