5 min read
Illustration of eight groups of dots forming a long internet address
Image credits · Illustration: Global Pulse Daily

What Is IPv6 and Why the Internet Needs It

IPv6 replaces IPv4's 32-bit addresses with 128-bit ones, giving the internet room to grow after the central IPv4 pool ran dry in 2011 and reducing reliance on NAT.

In short

IPv6 is version 6 of the Internet Protocol. It uses 128-bit addresses instead of IPv4's 32-bit ones, which expands the supply from about 4.3 billion addresses to roughly 340 undecillion. It exists because IPv4 addresses ran out, and the two protocols now run side by side.

Table of contents 7 sections
Key takeaways
  • IPv6 uses 128-bit addresses, while IPv4's 32-bit addresses allow only about 4.3 billion.
  • IANA allocated its last IPv4 blocks to the regional registries on 3 February 2011.
  • The two protocols cannot talk directly, so networks run dual stack or use translation such as NAT64.
  • IPv6 is not faster by design and does not make a network safe without a working firewall.
  • Most home users need to do nothing, but should confirm the router firewall also covers IPv6.

What is IPv6? It is version 6 of the Internet Protocol, the addressing system that lets devices find each other online, and it replaces IPv4's 32-bit addresses with 128-bit ones. IPv4 offers only about 4.3 billion addresses, and the central pool of unallocated blocks ran out in 2011, so the internet needs more room to keep growing.

What is IPv6 and how does it differ from IPv4?

Every device on a network needs an IP address, a number that says where to deliver data. An IPv4 address is four numbers separated by dots, such as 192.0.2.1. An IPv6 address is eight groups of hexadecimal digits separated by colons, such as 2001:db8:0:0:0:0:0:1. Both examples come from ranges reserved for documentation.

Two shorthand rules from RFC 4291 make IPv6 readable. Leading zeros in a group can be dropped, and one run of all-zero groups can be replaced by a double colon, which may appear only once. The example above becomes 2001:db8::1.

The standard that defines the protocol is RFC 8200, which the IETF has designated Internet Standard 86. Its headline change is address size, from 32 bits to 128. That gives roughly 340 undecillion addresses, enough for every device and every part of every network to have its own.

Why did IPv4 run out of addresses?

A 32-bit address allows 2 to the power of 32 combinations, about 4.3 billion. That looked generous when IPv4 was specified in 1981, long before phones, tablets, cars and sensors needed addresses of their own. Mobile networks, covered in our comparison of 5G and 4G, later put a connected device in nearly every pocket.

On 3 February 2011 the Internet Assigned Numbers Authority gave its last five blocks to the regional internet registries, an event announced by ARIN as the end of the central free pool. Registries have since been working through their own remaining supplies.

Three workarounds keep IPv4 going: network address translation (NAT), which lets many devices share one public address; carrier-grade NAT, the same idea applied by providers across many customers; and transfer markets, where organisations buy and sell address blocks. Each helps, but translation undermines the original idea that any device can reach any other directly, and it complicates hosting, gaming, video calls and troubleshooting.

What else does IPv6 change?

  • A simpler header. The fixed header is 40 bytes, and optional information moves into separate extension headers, which makes forwarding more efficient.
  • No router fragmentation. Only the sending device splits oversized packets. Routers along the path no longer do it.
  • No broadcast. Multicast takes over the jobs that broadcast used to do on a local network.
  • Self-configuration. A device can build its own address from the prefix a router announces, a method called stateless address autoconfiguration, or ask a DHCPv6 server for one.
  • Room for structure. Most networks use a 64-bit host part, so a single subnet already holds more addresses than the whole IPv4 internet.

IPv6 is not faster by design. Any speed-up comes from avoiding address translation or from more direct routes, and many people will notice no difference at all.

How do IPv4 and IPv6 work together?

They are separate protocols and cannot talk to each other directly, so the internet runs both. Most networks use dual stack: each device holds an IPv4 and an IPv6 address and uses whichever works. Software that tries both, a technique called Happy Eyeballs, falls back quickly to IPv4 if the IPv6 path is slow.

Networks that run IPv6 only reach IPv4 sites through translation such as NAT64. When troubleshooting, it helps to know what is IPv6 traffic and what is IPv4, because a fault may affect only one of them.

Names tie it together. The domain name system publishes IPv6 addresses in AAAA records, pronounced quad-A, next to the A records that hold IPv4 addresses. A site is reachable over IPv6 only after its operator has published that record and set up the servers behind it.

Does IPv6 change security and privacy?

Not by itself. Address translation hid devices only as a side effect. The real protection is a stateful filter that blocks unsolicited incoming traffic, and RFC 6092 describes that approach for home routers: traffic that no inside device asked for is discarded by default. Check that your router's IPv6 firewall is switched on.

Privacy has a wrinkle too. An address built from a device's hardware identifier would work as a permanent tracking tag, so mainstream operating systems generate temporary random addresses for outgoing connections. If you use a VPN, confirm that it handles IPv6 or blocks it, because IPv6 traffic that bypasses the tunnel can reveal your real address.

Which IPv6 address types should you recognise?

Once you can read the notation, a few prefixes tell you what kind of address you are looking at. RFC 4291 defines unicast addresses, which name one interface, multicast addresses, which name a group, and anycast addresses, which are shared by several devices so that traffic reaches the nearest one.

  • Global unicast addresses are the public, routable ones. They are allocated from the 2000::/3 block, so they begin with 2 or 3.
  • Link-local addresses begin with fe80 and work only on a single network link. Every IPv6 interface has one, and devices use it to find their neighbours.
  • Multicast addresses begin with ff and deliver to a group of listeners.
  • Loopback is ::1, which always points back at the device itself.

How can you tell whether you are using IPv6?

  1. Open your device's network details or your router's status page.
  2. Look for an address that contains colons.
  3. Ignore addresses that start with fe80, because they are link-local and never leave your own network.
  4. If you see a global address starting with 2 or 3, your connection can reach IPv6 sites.
  5. If you find none, look for an IPv6 setting in the router and ask your internet provider whether your plan supports it.

So what is IPv6 asking of you? For most households, nothing: if it works, leave it alone. Small businesses should check that their website host and content delivery network publish AAAA records. Administrators should run dual stack, apply equivalent firewall rules to both protocols and watch the logs for both address families.

Frequently asked

Written by Said Dulevic

Our international desk covers the infrastructure, policy and people behind the technology shaping the world. Tips and corrections: newsroom@globalpulsedaily.com

More from this author

0 comments

Never published.
A quick check that you are not a script.
Comments are moderated. Links, contact details and abuse are removed.

No comments yet — be the first.