IPv6 transition models
Choose a transition model
Dual stack means a host or network supports both IPv4 and IPv6. Native communication uses a common address family; both families need routes, DNS and security policies. Dual stack can simplify compatibility, but operating both families costs effort and still needs IPv4 addresses where IPv4 is used. A tunnel wraps packets inside another protocol to cross an intermediate network; it is not inherently encryption or address-family translation. Extra headers reduce effective payload space.
DNS64 names the destination; NAT64 translates traffic
An IPv6-only client wants an IPv4-only service. When no usable native AAAA exists and synthesis is applicable, DNS64 can construct an IPv6 destination from an A record. A route must lead to the NAT64 translator, which translates supported traffic such as TCP, UDP or ICMP between address families and keeps bindings in the stateful case. DNS64 alone does not forward packets. An existing native AAAA normally avoids synthesis. DNSSEC validation and applications using literal IPv4 addresses require additional consideration.
Calculate a synthetic /96 destination
Use a fictional network-specific prefix 2001:db8:64::/96, not the well-known 64:ff9b::/96 prefix: RFC 6052 restricts that well-known prefix for non-global IPv4 addresses. Our documentation prefix and addresses are for paper arithmetic only. With /96, the final 32 bits encode the IPv4 address. Convert 192.0.2.33 to c0 00 02 21 in hexadecimal, then append c000:0221. The translator must use the same prefix as the synthesis mechanism.
A legacy.example.com = 192.0.2.33Synthetic AAAA = 2001:db8:64::c000:221IPv6 client -> NAT64 -> IPv4 serviceIPv4 reply -> NAT64 -> IPv6 clientWhen applications need IPv4 locally
464XLAT combines a client-side stateless translator (CLAT) with a provider-side stateful translator (PLAT). An IPv4 application can send IPv4 packets to the CLAT, which translates them to IPv6 for transit across an IPv6-only network; the PLAT translates them back to IPv4 for an IPv4 server. This can support applications that do not ask DNS for an IPv6 address. Native IPv6 traffic does not need these two translations. It does not guarantee every application or inbound IPv4 flow works.
IPv4 app -> CLAT -> IPv6 transport -> PLAT -> IPv4 serviceCompare three migration cases
For a service supporting both families, native dual-stack communication is a straightforward option when both paths are available. For an IPv6-only access network with a DNS-aware client reaching an IPv4-only service, NAT64 plus DNS64 is a candidate. For an IPv4-only application on that access network, evaluate 464XLAT. Validate DNS behavior, allowed traffic, translation state, MTU and application compatibility before migration. References: RFC 4213, RFC 6052, RFC 6146, RFC 6147 and RFC 6877.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
IPv6 transition models — knowledge check
Apply concepts to fictional translation and migration scenarios.
Which mechanism synthesizes an IPv6 DNS answer from an IPv4 A record when applicable?
What is the synthetic address for 192.0.2.33 using the lesson’s /96 prefix?
What can allow an IPv4-only application to cross IPv6-only access?
What does dual stack provide?
Why use a network-specific documentation prefix instead of 64:ff9b::/96 for the example?