Lesson 7 of 9 · 26m
Transition Mechanisms Without the Maze
Native, dual-stack, tunnels, NAT64/DNS64, 464XLAT, and translation trade-offs — how to choose the least bad mechanism for the network you actually run.
Every transition mechanism is a compromise wearing a costume. Some tunnel IPv6 over IPv4, some translate one family into the other, some exist mainly to keep mobile networks sane. The senior move is not memorizing acronyms. It is recognizing what each mechanism costs: state, visibility, MTU, application compatibility, or operational ownership.
Prefer native or dual-stack when you control the path
If you can run native IPv6, do that. If the network must support both families for years, dual-stack is usually cleaner than translation because each packet keeps its original semantics. Translation belongs where one side genuinely cannot speak the other protocol or where address scarcity forces design trade-offs.
best default: native IPv6 + IPv4 dual-stack
common exception: IPv6-only access network reaching IPv4-only services
legacy exception: isolated IPv6 islands across IPv4-only transportTunnels move the problem to encapsulation
Configured tunnels such as 6in4 carry IPv6 packets inside IPv4 protocol 41. They are simple, but brittle:
outer IPv4 -> protocol 41 -> inner IPv6 packetThe tunnel endpoints become critical infrastructure. MTU drops unless carefully managed. NAT in front of the endpoint often breaks static tunnel assumptions. Teredo and 6to4 are historically important but generally poor choices for new deployments; both add unpredictable relays, security surface, and failure modes you do not control.
NAT64/DNS64 is for IPv6-only access to IPv4-only destinations
NAT64 translates IPv6 packets into IPv4. DNS64 synthesizes AAAA answers for names that only have A records, embedding the IPv4 destination in a well-known or network-specific NAT64 prefix. The client thinks it is using IPv6; the translator carries state into IPv4 space.
client query: example.test AAAA
authoritative answer: A 192.0.2.25 only
DNS64 answer: 64:ff9b::192.0.2.25 (conceptually represented as 64:ff9b::c000:219)This works well for applications that use DNS and normal TCP/UDP. It works poorly for literal IPv4 addresses embedded in applications, referral mechanisms, some peer-to-peer systems, and protocols that depend on end-to-end addressing.
464XLAT puts translation closer to the client
464XLAT combines client-side translation with network-side NAT64. It is common in mobile networks because it handles applications that use IPv4 literals better than DNS64 alone. The client performs stateless IPv4-to-IPv6 translation into the NAT64 path, then the NAT64 gateway performs stateful translation to IPv4.
The operational lesson: if someone proposes IPv6-only access, ask which translation architecture they mean. "We will use NAT64" is not a complete design.
Translation obscures attribution and debugging
Logs may show translator state rather than original endpoints unless your design preserves mapping data. Geolocation, abuse handling, rate limiting, and firewall troubleshooting all become harder. Keep transition infrastructure centralized, heavily monitored, and documented. Transition mechanisms fail quietly when they are treated as temporary and then left in place for seven years.
Field notes
- Disable unused automatic tunneling interfaces on hosts. They create unmanaged paths around policy.
- Hairpinning, fragmentation, and MTU problems are common near translators. Test large responses, not just connects.
- IPv6-only with NAT64 can be excellent operationally, but only after application compatibility testing.
- A transition mechanism should have an exit plan. If nobody can say when it is removed, it is now permanent architecture.
Was this lesson helpful?