In March 2003, a laptop in a hotel room could be handed an address on a corporate intranet it had never physically touched — delivered through a tunnel that existed only long enough to hand it over. RFC 3456 wrote the rules for that trick, and then added the sentence that still trips people up: the address you were given is not the reason you get in.

The document's full title is a mouthful — Dynamic Host Configuration Protocol (DHCPv4) Configuration of IPsec Tunnel Mode — and its authors (B. Patel, B. Aboba, S. Kelly and V. Gupta) were solving a problem so unglamorous that most of the industry promptly forgot it. How do you give a roaming machine a virtual seat inside the office without teaching IKE to moonlight as a DHCP server? Their answer: reuse the machinery everyone already ran, and keep the receipt separate from the badge.

Two addresses, two different realities

A remote host under RFC 3456 wears two addresses at once. The outer one faces the public Internet and terminates the IPsec tunnel at a corporate security gateway. The inner one — a separately configured virtual interface — makes the host look, to everything behind that gateway, as though it is sitting in the building.

That is useful indirection, not identity fusion. The plain-text RFC, the RFC Editor record, the Datatracker file, its history, references, later citations and errata search together fix the standards record. What they do not show is that any particular lease authorised a particular human, or that any application actually reached its destination.

The choreography ran in stages. An IKE security association came first. A short-lived, DHCP-only tunnel-mode SA then carried DHCPDISCOVER or DHCPREQUEST traffic to the gateway. Once DHCP handed back an address and options, the host could raise a broader VPN SA using that new address in the Quick Mode identity. Temporary channel, lease, general data tunnel: three separate state transitions, routinely mistaken for one.

Why the authors refused to rebuild DHCP inside IKE

The contemporaneous remote-access requirements in RFC 3457 asked for far more than an address: pools, options, reconfiguration, failover, and integration with whatever management system an operator already trusted. RFC 2131 and the option vocabulary of RFC 2132 had been supplying exactly that for years, and RFC 3442 showed routing information could ride along as a DHCP option too.

So RFC 3456 declined the tempting shortcut of turning IKE into a second configuration service. Its appendix made the case bluntly: a minimal IKE configuration exchange would eventually have to duplicate leases, renewals, authentication and failover — and then keep duplicating them forever. Keeping cryptographic negotiation bounded, and letting DHCP own address state, was the cheaper and saner bet.

The virtual interface got hardware type 31; the IANA ARP parameters registry still carries the allocation. A client identifier had to be unique on the virtual subnet and should survive reboots. Both identifiers existed to correlate configuration. Neither was ever declared a human identity or an authorisation token.

The relay: the seam everyone forgets

The gateway usually acted as a DHCP relay rather than the server itself. It could stamp its address into giaddr, or use the Relay Agent Information mechanism from RFC 3046 — including a circuit identifier naming the virtual tunnel port. It could read yiaddr out of the DHCPACK and install a route back down the correct tunnel.

But IPsec protected DHCP only from remote host to gateway. Between gateway and DHCP server, integrity and authentication needed a separate mechanism such as RFC 3118. One protected segment has never conferred protection on the next, and pretending otherwise is how diagrams start lying.

Why a leased address can never be an access credential

The sharpest sentence in the security section follows from something almost embarrassingly mundane: a remote host can set its own IP address. Even authenticated DHCP cannot stop that. So the assigned address had to stay outside the access-control decision entirely. Per-tunnel filters or Quick Mode selectors had to bind permitted traffic to the authenticated tunnel context — the IPsec architecture in RFC 2401 and IKE in RFC 2409 supply the policy and negotiation model wrapped around that binding.

Read the chain of evidence honestly and each link proves only itself. A DHCPACK shows configuration came back through a transaction. A relay circuit identifier shows where the gateway meant to send the response. A route entry shows a local forwarding decision. An SPD rule or negotiated selector shows a policy binding. Observed application traffic shows something later still. None of them may quietly stand in for the rest.

Reading the receipts

Lu Heng's reality-layer discipline makes the separation explicit: symbolic claims and executable state are different floors of the same building, and clarity about which floor you are standing on feels hostile only to people selling the view. Running-code primacy points the same way — trust installed routes, selectors and packets ahead of a reassuring diagram. The minimum-initial-specification lens explains why reusing DHCP beat inflating IKE: fix the smallest shared rule that works, and let the rest evolve in running code.

RFC 3456 did not diminish DHCP by refusing to call a lease an authorisation. It preserved the protocol's authority. DHCP configures the virtual presence; the security gateway still decides what that presence is allowed to do.

Two decades on, the lesson has not aged a day. A tunnel can be locked and still have no idea who is inside it. The address was always a receipt. The badge was somewhere else.

Sources