IPv4 and IPv6: why we coexist with two Internets at once

Published on 2026-09-12 by frfrand

Addresses ran out in 2011 and yet everything still works. What changed with IPv6, why the transition is taking so long, and what it means for your server.

IPv4 and IPv6: why we coexist with two Internets at once

Short answer: IPv4 has about 4.3 billion addresses and they ran out in 2011, but the Internet kept working thanks to NAT and the resale of blocks. IPv6, with 128 bits, is enough for everyone, but it is not compatible with IPv4, so today almost everything works in dual stack: you have to take care of the A and AAAA records and the firewall for both versions.

IPv4 addresses officially ran out in 2011. The authority that distributes them handed over the last large block and it was over.

And yet everything kept working. It is worth understanding why, because it explains a good part of how the Internet is structured today.

The number that fell short

IPv4 uses 32 bits, which gives about 4.3 billion addresses. In 1981, when it was defined, that seemed absurdly generous: there were only a few hundred computers connected in the world.

No one foresaw phones, refrigerators, cameras, or virtual servers that are created and destroyed every hour.

Why it did not collapse

Because of two patches that worked too well.

NAT. Your entire house, with fifteen devices, uses a single public address. The router translates. Multiply that by millions of homes and suddenly 4.3 billion go much further.

Secondary market and reassignment. The blocks left over from the first decades are bought, sold, and subdivided.

The cost of those patches is not visible but it exists: with NAT, your device does not have its own reachable address. Initiating a connection to it requires extra configuration. Anything that connects two points directly (video calls, games, transfers) has to take detours to work.

What changed with IPv6

IPv6 uses 128 bits. The resulting number of addresses is so large that usual comparisons do not help: it is enough to give plenty of addresses to every device that exists and will exist.

They are written in hexadecimal, in groups separated by colons, and with an abbreviation rule: leading zeros in each group are omitted, and a stretch of zero groups is replaced only once by double colons.

What it brings besides size:

  • NAT is not needed. Each machine can have its own address, reachable.
  • Autoconfiguration: a device can build a valid address on its own, without a server assigning it.
  • Routing is simpler, because packet headers were simplified.

Why it takes so long

Because they are not compatible with each other. A device that only speaks IPv6 cannot talk to one that only speaks IPv4: they are different protocols, not versions of the same thing.

This forces that, during the transition, almost everything speaks both. That is called dual stack, and it is the normal situation today: your server has an IPv4 address and an IPv6 address, and each client uses the one it can.

The practical consequence is that no one can turn off IPv4 until practically everyone speaks IPv6. And since IPv4 keeps working thanks to NAT, the urgency never arrives. It is a stalemate that has lasted more than a decade.

What it means for your server

Three concrete things, and all of them are forgotten sometimes:

DNS records are two. The A record points to the IPv4 address and the AAAA record to the IPv6 address. If you publish only one, some clients arrive and others do not.

The firewall is double. In Linux, iptables and ip6tables are separate sets of rules. Closing a port in IPv4 and leaving it open in IPv6 is a classic mistake, and hard to notice because everything "seems" fine.

Logs show both. If you filter by address format, you will lose half of the entries.

At ArduMaker it is advisable not to take IPv6 for granted: the name of each VPS in the platform zone (<slug>.arducloud.com) may not have an AAAA record, and the guaranteed entry is via IPv4. If you add an AAAA to your domain, check beforehand that that address actually reaches your site, so as not to leave half the house without a key.

IPv6 in a web application

If you publish a website, check that the A and AAAA records point to addresses where your service actually works. A site may respond over IPv4 and fail over IPv6 if the proxy or firewall are not configured in the same way.

On an ArduMaker VPS, verify the connectivity of the available protocols and do not publish an AAAA record out of habit. The server and network must support IPv6 before announcing it via DNS.

Related: How an IP works · What is DNS.

Frequently Asked Questions

Why not turn off IPv4 once and for all? Because a device that only speaks IPv6 cannot communicate with one that only speaks IPv4. While there are still IPv4-only clients, servers have to speak both.

What is dual stack? That a machine has both an IPv4 address and an IPv6 address at the same time, and each client uses the one it can.

What is the difference between an A record and an AAAA record? The A record points to an IPv4 address and the AAAA record to an IPv6 address. Publish an AAAA record only if your server actually responds via IPv6.

Do iptables rules cover IPv6? No: iptables and ip6tables are separate sets. With nftables you can use the inet family to write a single rule for both.

  • redes
  • IPv4
  • IPv6
  • direccionamiento
  • ArduMaker

Keep reading

All articles · VPS plans