A stateful NAT box is a memory. Every conversation that crosses it writes a line — inside address, port, outside address, port, timeout — and the box spends the rest of its life remembering, expiring, and quietly hoping nobody asks what happens when the table fills. RFC 6296 proposed the opposite: a translator that takes no notes at all.

Published in August 2011 as an Informational RFC, RFC 6296 specifies NPTv6 — IPv6-to-IPv6 Network Prefix Translation — a stateless function that rewrites the network prefix of an IPv6 address in flight while holding a strict one-to-one relationship between inside and outside addresses. The address-independence benefit of NAT survives intact. The connection table does not. Neither, and this is the part operators keep rediscovering, does the hiding place.

RFC 6296 at a Glance

  • What it is: NPTv6, a stateless IPv6-to-IPv6 network prefix translator, published in August 2011 as an Informational RFC by Margaret Wasserman and Fred Baker.
  • What it does: swaps the network prefix in flight, leaves the interface identifier untouched, and holds a 1:1 map between inside and outside addresses with no per-connection state and no port translation.
  • Why it matters: it delivers NAT's address independence — change provider without renumbering the site — while keeping end-to-end reachability at the network layer.
  • What it costs: no hiding, no path selection, and no mercy for protocols that embed addresses or authenticate the IP header.

What RFC 6296 Actually Specifies

NPTv6 translates a prefix, not a conversation. The inside host keeps its /64; the translator swaps the /48 — or /56, or /64 — in front of it for the provider's prefix and lets the bottom 64 bits ride through untouched. Inside and outside prefixes must be the same length, which is the constraint that turns the whole business into arithmetic instead of bookkeeping.

Because the mapping is one-to-one, the outside address is a deterministic function of the inside address. No port multiplexing means no port exhaustion, no overloading algorithm, no timer to tune, and no application-layer gateway zoo for the protocols that keep addresses out of their payloads. The RFC's own abstract is refreshingly plain about it: the function is "transport-agnostic" and provides "a 1:1 relationship between internal and external addresses."

The Checksum Trick: Forgetting on Purpose

The whole point is what is missing. There is no connection table to exhaust, no port space to ration, no translation memory to age out — so the failure modes change from capacity problems to arithmetic ones.

Here is the elegant part, and it is genuinely elegant. A translator that rewrites addresses normally has to fix the transport checksum, because that checksum covers a pseudo-header containing both addresses. Fixing it means parsing deeper, understanding the transport, and being rebuilt every time somebody invents a new one.

NPTv6 sidesteps the entire problem with arithmetic. The translation is checksum-neutral: the translator adjusts the prefix it writes so that the one's-complement sum of the address bits is unchanged. The pseudo-header sum stays put, the TCP or UDP checksum stays valid, and the box never has to look past the IP header. It is the difference between a machine that reads every letter to check the postage and one that adjusts the stamp.

What NPTv6 Fixes: Renumbering and the Switching Cost

The problem NPTv6 solves is not address shortage. It is the invoice you get for changing your mind.

Renumbering a site is expensive in ways that never show up on a network diagram: firewall rules, ACLs, monitoring thresholds, peering config, and the one internal application that hard-coded an address in a config file a decade ago and has been quietly load-bearing ever since. That expense is a switching cost, and switching costs are how providers keep customers who would otherwise leave. NPTv6 removes it at the site edge — keep the internal plan, swap the external prefix, survive the move.

Which is the same argument the registry layer has been having for years, one floor up. Address independence at the edge is exit rights in miniature: the ability to leave without renumbering your entire world. The IETF answered it with a checksum. The registry layer is still answering it with committees.

What NPTv6 Does Not Fix: Multihoming, Hiding, and Embedded Addresses

Multihoming. Prefix translation gets trotted out as a multihoming answer, and it is half of one. NPTv6 solves renumbering; it does not choose a path. Which provider a packet leaves through is still a routing-table decision — local preference, AS path length, and whichever upstream is having the better week. Translation gives you stable internal addresses across two providers. It does not give you a mechanism for picking between them, and it never claimed to.

Hiding. This is the one that stings. IPv4 NAT acquired a reputation as a security feature because the inside of the network was not directly addressable from outside. That was never NAT. That was the absence of a route plus a state table that only opened when somebody inside spoke first. NPTv6 keeps the one-to-one map, so the outside address is derivable from the inside address and the inside address from the outside one. The state table is gone, and with it the accidental firewall. Whatever protection an operator thought the translator was providing now has to come from policy — which is where it should have been all along.

Anything that embeds an address. A prefix rewrite is invisible to TCP, UDP, QUIC and anything else that lets the kernel compute its own checksum. It is not invisible to protocols that carry an address inside the payload, and it is not invisible to IPsec AH, which authenticates the very header the translator just edited. ESP survives the rewrite; AH does not. Signed DNS records need the outside address published rather than the inside one, which means the plan you run and the plan the world sees are two documents that must be kept in sync by somebody who cares.

Why a 2011 Informational RFC Still Matters

RFC 6296 never became a standard. It is Informational rather than Standards Track, it competed with stateful NAT66, with provider-supplied prefixes, and with the simplest option of all — renumber and complain — and its deployment footprint is a rounding error beside the dual-stack estate it was written to serve. OpenWrt ships it. A handful of enterprise edge platforms ship it. Most of the industry shipped something else, or shipped nothing.

And yet the document is worth reading now for a reason that has nothing to do with IPv6 adoption curves. It is a clean, worked example of a design rule the industry keeps forgetting and rediscovering: put the state where the consequence is. A translator with no memory cannot leak its memory, cannot be exhausted by it, cannot disagree with its neighbour about it, and cannot lose it in a reboot. What is left is arithmetic, and arithmetic fails the same way every time.

It is also a reminder that a specification is not a deployment. "A proposal is not reality. A recommendation is not reality. A document is not reality," as Lu Heng put it in his Note on Minimum Initial Specification and Voluntary Adoption. RFC 6296 described a mechanism in 2011; the mechanism has spent well over a decade being technically correct and commercially optional, which is the ordinary fate of good engineering that solves a problem the market has decided to solve with an invoice instead.

NPTv6's promise is small and unfashionable: rewrite the address, keep the map honest, remember nothing. The RFC is still Informational, still implemented in corners, and still right about the sums. The map is one to one. The table is empty. The packets arrive anyway.