IPv6 was standardised in 1995 to replace IPv4 before its addresses ran out. Thirty years later, about half of the internet uses it. This article explains what IPv6 changes, why the switch is so slow, and what it means for the systems you build today.
In 1995 the IETF published the first specification of a new Internet Protocol with an address space so large that nobody would ever have to ration it again. The plan was simple: run both protocols side by side for a few years, then switch off the old one. In 2026 that "few years" has lasted three decades. Google first saw more than half of its users arrive over IPv6 on 28 March 2026, and the figure has moved around the 50% mark since. The other half of the internet still runs on IPv4 addresses that officially ran out more than ten years ago.
How can a protocol be clearly better, fully standardised, built into every operating system and still need thirty years? The answer has little to do with technology and a lot to do with economics, NAT and the fact that nobody can switch the internet off for a weekend. This article continues the networking series after The OSI Model in Practice, DNS in Depth and VPNs Explained.
1. The Problem: 4.3 Billion Is Not Enough
An IPv4 address has 32 bits. That gives 2³² = 4,294,967,296 addresses. Not all of them are usable: private ranges, multicast, the reserved block 240.0.0.0/4 and others take about 600 million. In 1981, when IPv4 was standardised in RFC 791, the internet was a research network of a few hundred hosts. Four billion addresses seemed absurdly generous. Large organisations received whole /8 blocks of 16.7 million addresses each, and some of them still hold those blocks today.
By the early 1990s it was clear that the internet would outgrow this. Two answers came out of that time, and the competition between them explains everything that follows:
- The long-term fix: a new protocol with far more addresses. This became IPv6.
- The short-term fixes: use the existing addresses more efficiently. CIDR (1993) ended the wasteful class A/B/C system, and NAT (Network Address Translation, RFC 1631, 1994) let a whole network share one public address.
The short-term fixes worked so well that they took away the pressure to deploy the long-term one. That is the core of the story.
2. A Short History
| Year | Event |
|---|---|
| 1981 | IPv4 standardised (RFC 791) |
| 1994 | NAT described (RFC 1631); IETF picks "IPng", the next generation IP |
| 1995 | First IPv6 specification (RFC 1883) |
| 1998 | Revised IPv6 specification (RFC 2460) |
| 2008 | Google measures about 0.2% of users with IPv6 |
| Feb 2011 | IANA hands out its last five /8 blocks to the regional registries |
| Apr 2011 | APNIC (Asia-Pacific) reaches its last /8 |
| Jun 2011 | World IPv6 Day: large sites turn on IPv6 for 24 hours |
| Jun 2012 | World IPv6 Launch: IPv6 stays on permanently |
| Sep 2012 | RIPE NCC (Europe, Middle East) reaches its last /8 |
| 2015 | ARIN (North America) runs out |
| 2017 | IPv6 becomes a full Internet Standard (RFC 8200) |
| Nov 2019 | RIPE NCC hands out its last regular IPv4 allocation |
| Feb 2024 | AWS starts charging for every public IPv4 address |
| Mar 2026 | Google sees more than 50% of users over IPv6 for the first time |
Two things stand out. First, IPv4 exhaustion was not one event but a slow cascade over almost ten years, region by region. Second, IPv6 adoption only started to grow after exhaustion was real, around 2012, not when the protocol was ready in 1998. Organisations moved when the old resource became scarce and expensive, not when the new one became available.
3. What IPv6 Actually Changes
The address
An IPv6 address has 128 bits, written as eight groups of four hexadecimal digits:
2001:0db8:0000:0000:0000:ff00:0042:8329
Two rules shorten it: leading zeros in a group can be dropped, and one run of all-zero groups can be replaced by ::.
2001:db8::ff00:42:8329
The address space is 2¹²⁸, about 3.4 × 10³⁸ addresses. The usual comparison, "more addresses than grains of sand on Earth", undersells it by many orders of magnitude. The practical consequence is more important than the number: every device can have a globally unique address again, and address planning becomes about structure, not scarcity.
An address is split into a network part and an interface part, almost always 64 bits each:
2001:0db8:1234:5600 : 0000:0000:0000:0001
└─ network prefix ─┘ └── interface ID ──┘
64 bits 64 bits
from your provider chosen by the device
and your subnet or by DHCPv6
A home connection typically receives a /56 or /48 from the provider, which is 256 or 65,536 subnets of /64 each. Every subnet has 2⁶⁴ addresses. Nobody counts hosts in IPv6; you count subnets.
The header
The IPv6 header is simpler than the IPv4 header, even though the addresses are four times longer:
| IPv4 | IPv6 | |
|---|---|---|
| Header size | 20–60 bytes, variable | 40 bytes, fixed |
| Checksum | Yes, recomputed at every hop | None (left to link and transport layers) |
| Fragmentation by routers | Yes | No, only the sender fragments |
| Options | Inside the header | Separate extension headers, chained |
| Address configuration | Manual or DHCP | SLAAC, DHCPv6 or manual |
| Address resolution | ARP | Neighbor Discovery (ICMPv6) |
| Broadcast | Yes | No, only multicast |
No checksum and no fragmentation in routers means less work per packet on the path. The cost is that Path MTU Discovery must work: if a packet is too large, the router drops it and sends back an ICMPv6 "Packet Too Big" message. A firewall that blocks all ICMPv6 breaks this silently, and connections hang as soon as a large packet is sent. That is one of the most common IPv6 bugs in practice.
Several addresses per interface
An IPv4 interface usually has one address. An IPv6 interface normally has several at once:
$ ip -6 addr show dev eth0
inet6 2001:db8:1234:5600:4c1a:9e2f:77b0:13d5/64 scope global temporary dynamic
inet6 2001:db8:1234:5600:21a:2bff:fe3c:4d5e/64 scope global dynamic mngtmpaddr
inet6 fe80::21a:2bff:fe3c:4d5e/64 scope link
- A link-local address (
fe80::/10), always present, used only on the local network, for example to talk to the router. - One or more global addresses, reachable from the internet.
- Temporary addresses (privacy extensions, RFC 8981) that change regularly and are used for outgoing connections, so websites cannot track a device by a stable interface ID.
Software that assumes "a host has one IP address" breaks here, from logging to allow-lists.
Configuration without DHCP
With SLAAC (Stateless Address Autoconfiguration, RFC 4862) the router announces the prefix in a Router Advertisement, and every device builds its own address from it. No DHCP server is needed. DHCPv6 exists as well, and in enterprise networks the two are often combined. Android has for years refused to support stateful DHCPv6 address assignment, which forces many corporate networks to use SLAAC whether they like it or not.
4. Why Not Just Switch? IPv6 Is Not Compatible
The decision that shaped everything: IPv6 is a separate protocol, not an extension of IPv4. An IPv4-only host cannot talk to an IPv6-only host. There is no field in the IPv4 header where a 128-bit address would fit, and the designers did not try to make one.
This means the migration has no natural tipping point. As long as one important service or one important group of users is reachable only over IPv4, everyone else must keep IPv4 as well. A company cannot turn IPv4 off just because 70% of its traffic is IPv6, because the other 30% is still customers.
So the plan was never "switch". It was:
- Dual stack: run IPv4 and IPv6 in parallel everywhere.
- Wait until IPv6 reaches everyone.
- Turn IPv4 off.
Step 2 is where the internet has been for fifteen years.
5. Transition Technologies: How Both Worlds Talk
To bridge the gap, the IETF produced a whole family of transition mechanisms. Most networks use one of three patterns today.
Dual stack
Every device has an IPv4 and an IPv6 address. DNS returns both an A and an AAAA record, and the client chooses. This is the simplest model and the one most enterprises and hosting providers use. Its drawback: you operate two networks, with two sets of firewall rules, two address plans and twice the troubleshooting, and you still need public IPv4 addresses.
The client makes that choice with Happy Eyeballs (RFC 8305). It starts the IPv6 connection first. If that has not worked after a short delay, typically 250 ms, it starts IPv4 in parallel and uses whichever connection is ready first. Without Happy Eyeballs, a broken IPv6 path would make every connection wait for a timeout. With it, users never notice broken IPv6. That is good for users and bad for whoever has to find the fault.
Carrier-grade NAT (CGNAT)
Providers without enough IPv4 addresses put a second NAT layer inside their own network. The customer's router gets an address from the shared range 100.64.0.0/10 (RFC 6598), and the provider translates many customers to one public IPv4 address.
laptop 192.168.1.20 → home router NAT → 100.64.12.7 → ISP CGNAT → 203.0.113.50 → internet
CGNAT saves addresses, but it costs a lot elsewhere:
- The provider needs large, expensive NAT boxes that track every connection.
- Customers cannot forward ports, so hosting a game server or a camera at home stops working.
- Games, video calls and peer-to-peer apps suffer.
- To identify a user behind a shared address, the police need the port number and an exact timestamp, not just the address.
Every user moved to IPv6 is traffic that no longer goes through the CGNAT box. That is the main reason mobile operators push IPv6 so hard.
IPv6-only with NAT64 and 464XLAT
The most modern pattern turns the logic around: the network runs only IPv6, and IPv4 is the special case.
- DNS64 (RFC 6147): when a name has only an IPv4 address, the DNS resolver invents an IPv6 address for it by putting the IPv4 address into a special prefix, usually
64:ff9b::/96. - NAT64 (RFC 6146): a gateway receives packets for that prefix and translates them to IPv4.
- 464XLAT (RFC 6877): for apps that use IPv4 literals or IPv4-only sockets, the phone itself translates IPv4 to IPv6 locally, and the network translates it back.
app asks for example.org (IPv4 only: 198.51.100.7)
DNS64 answers: 64:ff9b::c633:6407
phone sends IPv6 → NAT64 gateway → IPv4 198.51.100.7
This is how large mobile networks such as T-Mobile US and Reliance Jio serve tens or hundreds of millions of phones. The network itself is IPv6-only, and IPv4 exists only at the edge. It is also why your phone is very likely using IPv6 right now, even if your office network is not.
Tunnels (mostly history)
6to4, Teredo and other automatic tunnels carried IPv6 over IPv4 in the early years. They were unreliable, hard to debug and a source of security problems, and most have been disabled or deprecated. If you see them today, it is usually a legacy configuration.
6. Where We Stand in 2026
The answer depends on whom you ask, because every measurement counts something different:
| Source | What it measures | Figure (2026) |
|---|---|---|
| Share of users reaching Google over IPv6 | Around 50%, first above it on 28 March 2026 | |
| APNIC Labs | Share of users with working IPv6, weighted by country | About 42% (April 2026) |
| Internet Society Pulse | Combination of several sources | About 43% |
The national differences are much larger than the global average suggests. Countries where a few large operators decided to move, often under regulatory pressure, are far ahead:
- India, France, Saudi Arabia and Germany report around 70% or more of users with IPv6. In India, Reliance Jio built an IPv6-first mobile network from the start. In France, the regulator Arcep tied the 5G licences to IPv6 commitments. In Germany, Deutsche Telekom has given its customers IPv6 for years.
- Italy, Spain and Egypt were still far below 20% in early 2026.
A second pattern sits underneath the national figures: mobile is far ahead of fixed and enterprise networks. Phones get IPv6 from the operator automatically. Corporate networks, data centres and public sector IT have to plan and pay for it, and many have not.
On the server side the picture is mixed as well. The large content providers (Google, Meta, Netflix, Cloudflare, Akamai, Microsoft) have offered IPv6 for more than ten years, so a large share of traffic, by volume, is IPv6. Many smaller sites, SaaS APIs and well-known developer services still have no AAAA record at all. You can check any site yourself:
dig +short AAAA example.com
An empty answer means the site cannot be reached over IPv6 without a translator in between.
7. Why It Takes So Long
The protocol is not the problem. The reasons are economic and organisational.
NAT made IPv4 good enough
For most organisations, NAT solved the address problem decades ago. Internal networks use private ranges (10.0.0.0/8, 192.168.0.0/16), and a handful of public addresses is enough for the whole company. As long as that works, IPv6 offers no visible benefit to the people who would have to pay for it.
The benefit goes to someone else
When a company enables IPv6, the main beneficiaries are its users' providers, who save CGNAT capacity, and the internet as a whole. The company itself gets more work: a second address plan, second firewall rule set, new monitoring, staff training. It is a classic chicken-and-egg problem: everyone benefits once everyone has IPv6, but nobody gains much from going first.
Dual stack doubles the work
The official migration path, dual stack, does not remove anything. It adds a second network on top of the first one. Every security rule, every monitoring check, every incident runbook now exists twice. Teams that are already stretched see IPv6 as a project with cost and risk and no new feature.
Every layer must support it
IPv6 is not one switch. The whole chain has to be ready:
- Network hardware, firewalls, load balancers and VPN gateways.
- Operating systems (long solved) and applications, which is where most work hides: code that stores addresses in a
VARCHAR(15)column, parses them with a regular expression for four numbers, writes rate-limit rules per single address, or builds URLs like"http://" + ip + ":8080". - Logging, SIEM, fraud detection, geolocation, analytics, licence servers.
- Third parties: payment providers, SaaS APIs, monitoring services, CDNs.
One IPv4-only component anywhere in this chain is enough to keep IPv4 alive for the whole system.
Broken IPv6 is worse than no IPv6
A host with an IPv6 address but a broken IPv6 path will try IPv6 first. Before Happy Eyeballs, this meant long timeouts. Even today, problems like blocked ICMPv6, wrong MTU or a misconfigured firewall show up as "sometimes slow" or "sometimes hangs", which are the hardest bugs to find. Many administrators have learnt one lesson from such incidents: turn IPv6 off. That decision is easy to make and is rarely revisited.
The scarcity was priced in
When the registries ran out, IPv4 addresses did not disappear; they became a traded asset. Organisations sell unused blocks through brokers, and prices rose for years, to around 50–60 US dollars per address at the peak in 2021, before settling at a lower level. For a company that needs a few dozen addresses, that is a rounding error, not a reason to rebuild the network. A market turned a hard limit into a soft cost.
8. What Is Finally Pushing It
Several forces have started to change the calculation in the last few years:
- Cloud pricing. Since February 2024, AWS charges for every public IPv4 address, about 0.005 US dollars per hour, roughly 44 dollars a year per address. Other providers followed with similar charges. For the first time, IPv4 shows up as a line item on an engineering team's bill.
- Mobile networks. Operators with tens of millions of customers cannot buy enough IPv4 at any price. IPv6-only with NAT64 is cheaper than ever-larger CGNAT farms.
- Regulation and procurement. The US federal government (OMB memorandum M-21-07) requires agencies to move towards IPv6-only systems, and several countries tie licences or public contracts to IPv6 support.
- Containers and Kubernetes. Large clusters burn through private IPv4 ranges quickly, and overlapping
10.xranges between clusters, VPNs and partners make routing painful. IPv6 removes the overlap problem entirely. - App stores. Apple has required iOS apps to work on IPv6-only networks since 2016. That one rule fixed IPv4 assumptions in a large share of mobile code.
None of these forces makes IPv4 disappear. They make IPv6 the default for new things, which is how most technology transitions actually end.
9. Security: Different, Not Automatically Better or Worse
IPv6 was once marketed as "more secure because IPsec is built in". That is not true in practice: IPsec support was made optional in 2011 (RFC 6434), and it is used for IPv6 exactly as rarely as for IPv4. The real security differences are elsewhere:
- No NAT, so the firewall matters. In IPv4, NAT accidentally acted as a firewall: inbound connections to a private address were simply not possible. In IPv6 every device has a global address. A home router or corporate edge without a stateful firewall makes all devices reachable from the internet. Good routers block unrequested inbound IPv6 by default, but check yours.
- Forgotten second stack. A server hardened for IPv4 may listen on IPv6 with no firewall rules at all. Many security incidents are simply "the rules only covered IPv4". Write every rule for both IPv4 and IPv6, or use rules that cover both.
- VPN leaks. A VPN that tunnels only IPv4 leaves IPv6 traffic going out directly, past the tunnel. The VPN article covers this in detail.
- Rogue Router Advertisements. Any device on a local network can announce itself as a router and redirect traffic. Switches support RA Guard to block this; enable it on access ports.
- Scanning is harder, not impossible. Nobody can scan a /64 subnet address by address. Attackers instead use DNS, certificate transparency logs and predictable addresses like
::1or::80. Do not rely on obscurity. - Blocklists and rate limits. Blocking a single IPv6 address is useless, because a client can pick a new one in the same /64 at will. Rate limiting and blocklists should work on prefixes, typically /64 for end users and /48 or /56 for whole connections.
10. A Practical Checklist
You do not have to migrate a whole company to make IPv6 work for your systems. These steps cover most of the practical value.
For a website or API
- Publish an
AAAArecord next to theArecord. Many CDNs and load balancers do this with one setting. - Listen on IPv4 and IPv6. On Linux, a socket bound to
::usually accepts IPv4 as well (IPv4-mapped addresses like::ffff:203.0.113.5), unlessIPV6_V6ONLYis set. Check what your reverse proxy really listens on. - Mirror every firewall rule for IPv6, and allow the ICMPv6 types that IPv6 needs (Packet Too Big, Neighbor Discovery). Blocking all ICMPv6 breaks IPv6.
- Test from an IPv6-only client, for example a phone on mobile data or a test VM with IPv4 disabled.
For application code
- Store addresses in a type that holds 128 bits (
inetin PostgreSQL,VARBINARY(16)in MySQL, or at leastVARCHAR(45)), never in a 15-character string. - Use the standard library to parse and format addresses (
InetAddressin Java,ipaddressin Python,net.ParseIPin Go). Never parse with a regular expression. - Compare normalised forms.
2001:DB8::1,2001:db8:0:0:0:0:0:1and2001:0db8::0001are the same address. - Put square brackets around addresses in URLs:
http://[2001:db8::1]:8080/. A colon is otherwise read as the port separator. - Rate-limit, block and count users by prefix (/64) as well as by address.
- When resolving names, try all returned addresses and prefer libraries with Happy Eyeballs. Do not pick only the first
Arecord.
For a network or platform team
- Get a provider-independent or provider-assigned prefix and plan subnets as /64, never smaller.
- Decide on SLAAC, DHCPv6 or both per network segment, and remember that Android needs SLAAC.
- Enable RA Guard and DHCPv6 Guard on access switches.
- For new clusters and mobile-heavy services, evaluate IPv6-only plus NAT64 instead of dual stack. It removes one stack instead of adding one.
- Add IPv6 to monitoring: a service that is up on IPv4 and down on IPv6 is invisible to most uptime checks, and Happy Eyeballs hides it from users until it causes slowness.
11. Will IPv4 Ever Disappear?
Probably not in the way the original plan imagined. A more likely future is already visible in mobile networks:
- IPv6 becomes the native protocol of networks, clouds and devices.
- IPv4 becomes a service at the edge, offered through NAT64 gateways and load balancers for the shrinking part of the internet that still needs it.
- Public IPv4 addresses become a paid extra, like a fixed phone number, used for legacy systems and specific needs.
Some networks are already there, while others are still at 10% IPv6. The internet does not migrate as one system; it migrates operator by operator, country by country, and application by application. Thirty years is long for a protocol migration, but it is not unusual for a piece of infrastructure that billions of devices rely on and nobody can switch off.
12. Conclusion
IPv6 solves IPv4's address problem completely and simplifies the packet header, and every operating system has supported it for more than fifteen years. It still took until 2026 for half of the internet's users to reach Google over it.
- IPv6 is a separate protocol. Without compatibility, every network has to run both until the last important peer has moved.
- NAT and an address market made IPv4 good enough for most organisations and removed the pressure to change.
- The benefits go to providers and the internet as a whole, while the costs fall on each organisation that has to do the work.
- Mobile networks lead, enterprise networks lag, and countries with a few determined operators or regulators are far ahead.
- Cloud pricing for IPv4, mobile scale and container networks are now turning IPv6 from a nice-to-have into the cheaper option.
- For your own systems, the work is small and concrete: an
AAAArecord, firewall rules for both protocols, 128-bit address storage, prefix-based rate limits and a test from an IPv6-only client.
Try it with your own service today. Run dig AAAA against your domain, open it on a phone using mobile data, and look at which address family your logs record. In many cases you will find that some of your users already reach you over IPv6, through a translator they do not know exists.
Sources and Further Reading
- J. Postel, RFC 791: Internet Protocol, 1981.
- K. Egevang, P. Francis, RFC 1631: The IP Network Address Translator (NAT), 1994.
- S. Deering, R. Hinden, RFC 8200: Internet Protocol, Version 6 (IPv6) Specification, 2017 (earlier RFC 1883, 1995, and RFC 2460, 1998).
- S. Thomson, T. Narten, T. Jinmei, RFC 4862: IPv6 Stateless Address Autoconfiguration, 2007.
- F. Gont et al., RFC 8981: Temporary Address Extensions for Stateless Address Autoconfiguration in IPv6, 2021.
- D. Schinazi, T. Pauly, RFC 8305: Happy Eyeballs Version 2, 2017.
- M. Bagnulo et al., RFC 6146 (Stateful NAT64) and RFC 6147 (DNS64), 2011.
- M. Mawatari, M. Kawashima, C. Byrne, RFC 6877: 464XLAT, 2013.
- J. Weil et al., RFC 6598: IANA-Reserved IPv4 Prefix for Shared Address Space, 2012.
- Google IPv6 statistics: https://www.google.com/ipv6/statistics.html
- APNIC Labs, IPv6 capability measurements: https://stats.labs.apnic.net/ipv6
- APNIC Blog, "Google hits 50% IPv6", April 2026: https://blog.apnic.net/2026/04/28/google-hits-50-ipv6
- Internet Society Pulse, "18 years later, IPv6 reaches majority": https://pulse.internetsociety.org/blog/18-years-later-ipv6-reaches-majority
- Arcep, Barometer of the Transition to IPv6, 2025: https://www.arcep.fr/fileadmin/reprise/observatoire/ipv6/Arcep_2025_Barometer_of_the_Transition_to_IPv6.pdf
- AWS, "New – AWS Public IPv4 Address Charge", July 2023: https://aws.amazon.com/blogs/aws/new-aws-public-ipv4-address-charge-public-ip-insights/
- Office of Management and Budget, Memorandum M-21-07: Completing the Transition to IPv6, 2020.




