IPv6 at Enterprise Scale: A Migration Playbook

Plan an enterprise IPv6 migration with a dual-stack core, IPv6-only GPU and Kubernetes networks, NAT64/DNS64, and a phased operational rollout.

By · · Updated · 10 min read

Ask a network architect why they’re finally doing an enterprise IPv6 migration, and “we’re running out of IPv4 addresses” is usually not the honest answer. In a data center, the global IPv4 free pool is not your problem, and that argument is a decade old anyway. More likely, 10.0.0.0/8 is already used twice inside the same routing domain, or this quarter’s GPU cluster can’t get a large enough subnet for its back-end fabric without taking a block that somebody else owns.

This playbook is for the moment when RFC1918 space has really run out, and you can see it in the IPAM tool. Usually that comes after several acquisitions, a few years of multi-cluster Kubernetes growth, and a GPU buildout that takes more subnets than anybody budgeted for. I assume you already know IPv6 basics: SLAAC, the address format, and that /64 is the standard subnet size. What is left is to run the IPv6 migration in an order, that a large organization can survive.

Why enterprise IPv6 migration stops being optional

RFC1918 was never sized for GPU fabrics. A single GPU node in a modern training or inference cluster has multiple NICs for the compute fabric, plus a separate management/BMC network, plus a storage network. One rack of eight GPU servers can use a few hundred addresses before any workload runs. Multiply that by dozens of racks and several clusters (training, inference, staging, DR), and you’re allocating subnets by the thousand. Private space can handle this in isolation. The trouble starts when every business unit, region, and cluster takes addresses from the same 10.0.0.0/8.

Kubernetes makes it worse. Every cluster needs its own pod CIDR and service CIDR. The easy default is a /16 per cluster, and it’s hard to take that space back once workloads are scheduled on it. If you want cross-cluster service mesh or federation, those CIDRs have to be globally unique, or you NAT them at every cluster boundary. A platform team with fifty-plus clusters across regions can run out of non-overlapping /16s inside a /8 far sooner than the raw host count suggests.

Then come mergers and acquisitions. Most likely both companies picked 10.0.0.0/8, or the same common /12 and /16 blocks, independently of each other. So on day one of the integration you get subnet collisions. The standard fix is 1:1 NAT or a renumbering project, and both are expensive. With NAT you maintain hundreds of manual mapping entries. Monitoring and alerting have to use the NAT’d address instead of the real one. Miss one mapping entry and you get packet loss that is very hard to explain from the logs alone.

You keep paying for NAT and overlapping-CIDR VPNs as long as you run them. Every site-to-site tunnel between two overlapping networks needs static NAT or a policy-routing workaround to tell the traffic apart. Every new acquisition or partner integration adds more rules to a translation table that is already hard to follow. During an incident, you need a NAT lookup before you can even say which host sent the packet in your capture. I think people forget this cost when they choose NAT, and the on-call rotation pays it every day.

Reference architecture: dual-stack core, IPv6-only islands, and NAT64/DNS64 at the edge

The target I’d aim for, in phases over twelve to twenty-four months depending on estate size, has three parts. First, a dual-stack core and WAN backbone that everything still routes through. Second, new capacity built as IPv6-only islands from day one. Third, a NAT64/DNS64 gateway at the boundary, so those islands can reach the IPv4-only systems, which will stay with us for a long time.

IPv6-only GPU and Kubernetes workloads connect to regional routers in a dual-stack core. The regional routers exchange routes and retain connectivity to legacy IPv4 servers and databases. To reach an IPv4-only service, an IPv6 workload asks a DNS64 resolver for an address. DNS64 synthesizes an IPv6 address using the 64:ff9b:1::/96 prefix, and a NAT64 gateway translates traffic sent to that address into IPv4.

In my opinion, the address plan under that topology deserves more work than it usually gets. It decides how painful the migration is two years later. Don’t make it flat. Assign a /48 or /56 per site with a fixed hierarchy. Then you can summarize routes at every level and delegate blocks to regional teams without fighting over a spreadsheet every quarter.

Layer Prefix Example Notes
Enterprise allocation /32 2001:db8::/32 One block from your RIR (or provider PA space if you’re not running your own ASN yet). Sub-allocate internally, don’t request more than one
Region /36 2001:db8:1000::/36 (AMER), 2001:db8:2000::/36 (EMEA) 4 bits per region = 16 regions with room to spare
Site / data center /48 2001:db8:1210::/48 (us-east-dc2) Roughly the guidance in RFC 6177; a small branch office doesn’t need a full /48, so a /56 is enough there, and you save /48s for real DCs and campuses
Segment / VLAN / pod CIDR /64 2001:db8:1210:a3::/64 One per L2 segment, or the block a Kubernetes cluster carves per-node pod ranges out of
Router point-to-point link /127 2001:db8:1210:ffff::1/127 Per RFC 6164. Don’t burn a /64 on a two-node link
Loopback /128 2001:db8:1210:fffe::1/128 Router ID, anycast source

For Kubernetes, you have to declare dual-stack at the cluster level before you can use it in a Service. Adding it later to a running cluster’s pod network means working through the CIDR configuration of a live cluster, so do it right at cluster build time:

# kubeadm ClusterConfiguration fragment - dual-stack cluster networking.
# This is what actually gets you dual-stack pods and services, not just
# a dual-stack NIC on the node.
apiVersion: kubeadm.k8s.io/v1beta4
kind: ClusterConfiguration
networking:
  podSubnet: "10.244.0.0/16,2001:db8:1210:a300::/56"
  serviceSubnet: "10.96.0.0/12,2001:db8:1210:a400::/108"
---
apiVersion: v1
kind: Service
metadata:
  name: inference-api
spec:
  ipFamilyPolicy: PreferDualStack
  ipFamilies:
    - IPv6
    - IPv4
  selector:
    app: inference-api
  ports:
    - port: 443
      targetPort: 8443

The order in ipFamilies matters. The first entry becomes the primary family and gets .spec.clusterIP, and some software reads only that field and ignores clusterIPs. Also check that your CNI and cloud load-balancer integration really support dual-stack before you enable it in production. Calico and Cilium do. Some managed load-balancer controllers may still create only a v4 frontend, even when the Service behind it is dual-stack.

For the IPv6-only islands, DNS64 and NAT64 are the way to reach anything that hasn’t moved yet:

# BIND9 dns64 clause - synthesizes AAAA records for IPv4-only legacy
# hosts, so an IPv6-only client gets a routable address instead of an empty AAAA answer.
# The prefix is from 64:ff9b:1::/48 (RFC 8215): the well-known 64:ff9b::/96
# must not be used for private IPv4 addresses such as 10.0.0.0/8 (RFC 6052)
dns64 64:ff9b:1::/96 {
    clients { ipv6-only-islands; };
    mapped { any; };
    exclude { 64:ff9b:1::/96; ::ffff:0:0/96; };
};
# Jool NAT64 instance (syntax varies by version - illustrative) - translates
# 64:ff9b:1::/96 traffic back to IPv4. The pool4 address must be reachable
# from the legacy hosts, so they can route replies to the gateway
jool instance add nat64-edge --netfilter --pool6 64:ff9b:1::/96
jool -i nat64-edge pool4 add 203.0.113.50 1024-65535 --tcp
jool -i nat64-edge pool4 add 203.0.113.50 1024-65535 --udp
jool -i nat64-edge pool4 add 203.0.113.50 1024-65535 --icmp

Neither of these is permanent architecture. Use NAT64/DNS64 for the transition, and write down a removal date for each legacy service it covers. Don’t build new dependencies on it.

Decision criteria: dual-stack vs. IPv6-only + NAT64/DNS64 vs. IPv6-mostly

Criteria Dual-Stack Everywhere IPv6-Only + NAT64/DNS64 IPv6-Mostly (Dual-Stack Edge, IPv6-Only Core)
App/library compatibility Highest. Every legacy IPv4-only app and library keeps working untouched Lowest. Anything with a hardcoded IPv4 literal or a v4-only library breaks until fixed Good. Legacy stays dual-stack at the edge; only new/internal services need to be v6-clean
Address-exhaustion relief Minimal short-term. Every host still consumes RFC1918 space on its v4 side Complete. New fabric and clusters never touch private v4 space again Strong. The growth that was actually eating your address space (new clusters, new GPU fabric) stops doing so
Operational complexity (running two stacks) Highest, indefinitely. Every ACL, monitoring rule, and runbook exists twice, forever Lower once cut over. One internal stack; NAT64/DNS64 is one well-understood edge component Moderate. Complexity concentrated at the edge boundary instead of spread through the whole estate
Security parity effort High but at least symmetric. One policy engine usually covers both families equally High and asymmetric. The v6-only interior is simpler to secure, but the NAT64 gateway becomes a chokepoint that needs its own hardening and logging Moderate. The edge needs full dual-stack parity; the core only needs v6
Rollout risk Low per-step, high cumulative cost. Safe, but you never actually finish Highest per-step. A broken v6-only cutover has no v4 fallback Balanced. New builds carry the risk, legacy is untouched until its own retirement
Best fit Orgs early in migration, or with a hard requirement that specific legacy IPv4-only integrations keep working indefinitely Greenfield GPU fabrics and new Kubernetes clusters where you control every workload going in Most large enterprises mid-migration. New capacity built v6-only, legacy kept dual-stack until it’s decommissioned on its own schedule

If I had to explain this to a steering committee, I’d say: don’t run dual-stack forever, and don’t try to switch everything to IPv6-only on one day. Build new capacity as IPv6-only from the start, and keep legacy on dual-stack until you decommission it anyway. Use NAT64/DNS64 between the two, with a removal date.

Pitfalls and what I’d do in production

Don’t migrate everything in one window, and don’t accept “eventually” as a plan either. If you flip the whole estate to dual-stack or IPv6-only in one maintenance window, you discover all the broken assumptions at the same time, usually at 2am. I’d sequence it by blast radius. Firstly greenfield workloads, because they have no legacy baggage. Then internal east-west traffic between teams who can coordinate fixes together. Client-facing and regulated systems go last, with a hard decommission date on the old path, so dual-stack doesn’t become permanent by accident.

You don’t see hardcoded IPv4 literals and v4-only libraries until traffic hits them. It can be a config file with a literal dotted-quad, a monitoring agent that opens only v4 sockets, or a vendor appliance whose management API has no v6 support at all. A design review can easily miss all of these, and then you get a silent timeout from a v6-only pod in production. I’d grep every config repo for IPv4 literals before cutover. But it’s more useful to run each candidate service in an IPv6-only test namespace before anyone calls it “IPv6 ready”, because a real socket call shows you things that a code review can’t.

Security tooling is often behind the network layer, and that gap is a real exposure. Firewalls, IDS/IPS signatures, NetFlow/sFlow collectors, and SIEM parsers were tuned on years of v4 traffic. Their v6 support often came later and got less testing. If an ACL is strict on v4 and default-permit on v6 because someone forgot to mirror the rule, that’s an exploitable hole. Audit every control on the path (firewall, ACL, IDS, flow logging) for explicit v6 parity before v6 goes live anywhere that matters. And the question “does the SIEM actually parse this v6 log format” should be a launch blocker, not a backlog ticket.

Dual-stack doubles your operational surface, for as long as you run it. Every ACL, monitoring rule, capacity plan, and incident runbook now has a v4 branch and a v6 branch. They drift apart as soon as somebody updates one and forgets the other. As for me, this is the main cost of dual-stack, more than performance, and the person holding the pager pays it. So set a real decommission date for each workload when you migrate it. Without a date, you’ll run both stacks longer than you think.

Happy Eyeballs can hide a broken IPv6 path from you, and I think that’s worse than an outage. Client OSes race both address families per RFC 8305 and use whichever connects first. So a broken v6 route on your egress path can stay broken for weeks: the traffic falls back to v4 every time and nobody gets paged. I’d monitor v6 connection success rate as its own signal, separate from the blended rate, and alert on it. In the combined number, a 100%-failing v6 path with working v4 fallback looks the same as a fully healthy dual-stack service.

Check that your monitoring and logging understand v6 before you enable it in the network. Otherwise you may find out during the first v6 incident that your flow exporter emits only v4 records, a log parser has a regex that matches a dotted-quad and nothing else, or a dashboard silently drops v6 addresses or puts them in the wrong bucket. I’d validate the v6 visibility end to end (flow collection, log parsing, alerting) before the network change goes out, and send synthetic v6 traffic to confirm that every hop in the pipeline sees it.

Decide between ULA and GUA early, because a wrong choice here means re-architecting later. Unique Local Addresses (RFC 4193, fc00::/7) look like the IPv6 version of RFC1918: private, not globally routed. But anything on ULA that needs to reach the internet or a partner network still needs NAT, and getting rid of NAT was half the point of migration. I’d use GUA for anything that might ever need direct external reachability. If you count SaaS integrations and partner VPNs, that’s most things in a large enterprise. I’d leave ULA for really isolated management or out-of-band networks that will never route externally. Don’t put ULA everywhere just because you’re used to the “private by default” model of RFC1918. You would rebuild a smaller version of the exhaustion problem you started with.

References

  • Networking. The full pillar on routing architecture for modern infrastructure
  • Networking. Networking design specifically for AI/ML workloads
  • BGP for the AI Era: Multi-Region Routing for Inference Workloads. The anycast and health-triggered withdrawal patterns there apply just as directly once your VIPs are dual-stack
  • Zero-Downtime Renumbering: Merging Two Overlapping RFC1918 Networks After an Acquisition. Coming soon: the tactical playbook for the integration-week collision this article assumes you’ll eventually hit

Planning your own migration?

If you’re planning an enterprise IPv6 migration and want a second opinion on the address plan or the NAT64 cutover sequence, I’m happy to compare notes. Connect with me on LinkedIn or reach out via Contact.