Articles & BlogBy 13 min read

For anyone who has seen a long address full of colons in their network settings and wondered what it is. By the end you will be able to read an IPv6 address, check whether your own connection has one, and explain why the internet is moving to it.

The internet runs on two addressing systems at once. The older one, IPv4, ran short of addresses years ago and has been kept going with workarounds. The newer one, IPv6, has more addresses than anyone can use, and large public measurements now find close to half of users on it.

The article "IP Addresses, Ports and Your Home Router" in this set explains what an address, a private range, DHCP, NAT and a port are. This one picks up from there.

A narrow aisle between two tall rows of rack-mounted servers in a dark data center, their front panels lit by hundreds of small blue and green lights, with a clear plastic curtain at the far endEvery machine in a room like this needs its own address, and so does every phone and console that talks to it. Photo by the US Department of Energy, public domain, via Wikimedia Commons.

Why did IPv4 run out?

An IPv4 address is 32 bits long. That allows 2 to the power of 32 addresses, about 4.3 billion, for the whole world. The Internet Assigned Numbers Authority (IANA) passed large blocks to five regional registries, which passed smaller ones to providers and companies. One by one the pools emptied.

WhoWhat happenedWhen
IANA (the central pool)Last blocks handed to the regional registries3 February 2011
APNIC (Asia Pacific)Reached its final /8 block15 April 2011
RIPE NCC (Europe, Middle East, parts of Central Asia)Reached its last /8, then ran outSeptember 2012, then 25 November 2019
LACNIC (Latin America and the Caribbean)Down to its last /10 block10 June 2014
ARIN (American Registry for Internet Numbers)Free pool reached zero24 September 2015
AFRINIC (Africa)Began exhaustion phase 1, then phase 231 March 2017, then 13 January 2020

The world answered in three ways. Homes and offices put many devices behind one public address with NAT. Providers then did the same thing one level up: carrier-grade NAT (CGNAT) puts many customers behind one public address. An internet standard, RFC 6598 (April 2012), set aside 100.64.0.0/10 for the link between the provider's NAT and your router. And a market formed. Organizations that need IPv4 now join a waiting list or go to what ARIN and RIPE NCC both call the IPv4 transfer market. I found no price published by a registry, so I give none.

What does an IPv6 address look like?

An IPv6 address is 128 bits. That allows about 3.4 x 10^38 addresses. It is written as eight groups of four hexadecimal digits (0 to 9 and a to f) with colons between them:

2001:0db8:00a1:0012:0000:0000:0000:0c1f

This is one address written in full. Two rules, set down in RFC 5952, shorten it:

  1. Drop the leading zeros in each group. 0db8 becomes db8, and 0000 becomes 0.
  2. Replace the longest run of all-zero groups with ::, once per address. Twice would be ambiguous.
2001:db8:a1:12::c1f

This is the same address after both rules.

Diagram of the IPv6 address 2001:0db8:00a1:0012:0000:0000:0000:0c1f drawn as eight boxes of 16 bits each. The first three boxes are the routing prefix, 48 bits in this example, set by your provider. The fourth box is the subnet ID, 16 bits, which names the LAN. The last four boxes are the interface ID, always 64 bits, which names the device on that LAN. Below, the address is written three ways: in full, with leading zeros dropped as 2001:db8:a1:12:0:0:0:c1f, and with one double colon for the run of zeros as 2001:db8:a1:12::c1f. A note says the first 64 bits name the LAN, here 2001:db8:a1:12::/64, and that a home given a /56 has 8 subnet bits, enough for 256 LANs.The first half of an IPv6 address says which network, the second half says which device.

IPv4IPv6
Address size32 bits128 bits
Written asFour decimal numbers: 192.0.2.10Eight hex groups: 2001:db8:a1:12::c1f
How manyAbout 4.3 billionAbout 3.4 x 10^38
A normal LANOften a /24, 254 devicesAlways a /64
What a home getsOne public address, or a shared one behind CGNATA whole prefix, room for many LANs
How a device gets its addressDHCPSLAAC, DHCPv6, or both
Finding a neighbor on the LANARPNeighbor Discovery
Reaching every device at onceBroadcastNo broadcast, multicast instead
NAT at homeNearly alwaysNot needed
Address with a port192.0.2.10:443[2001:db8::1]:443

How is an IPv6 network laid out?

The split is fixed. The first 64 bits name the network and the last 64, the interface ID, name the device. So every LAN is a /64, whether it holds three devices or three thousand. The network sizing taught in "The Magic Number: Subnetting in Your Head" in this set is an IPv4 skill.

Your provider gives your router a prefix shorter than /64 so it can make several LANs, such as a main network and a guest network. RIPE NCC's guidance for providers (RIPE-690, October 2017) suggests a /56 for homes and a /48 for businesses, and warns against handing a customer a single /64. A /56 leaves 8 bits to number LANs, which is 256 of them.

You can tell what kind of address you are looking at from how it starts.

TypePrefixStarts withWhat it is for
Global unicast2000::/32 or 3Public addresses, reachable across the internet
Unique localfc00::/7fd in practicePrivate use inside a site, not routed on the internet
Link-localfe80::/10fe80One LAN only. Every interface has one
Multicastff00::/8ffOne packet to a group of devices
Loopback::1The machine talking to itself
Documentation2001:db8::/322001:db8Examples in guides like this one, never assigned

A device can get its address in two ways. With SLAAC (stateless address autoconfiguration, RFC 4862) the router announces the prefix and the device makes up the rest itself. With DHCPv6 (RFC 8415) a server hands the address out, much as DHCP does in IPv4.

Expect more than one address per device. RFC 8981 describes temporary addresses: the device invents random interface IDs and changes them over time, so one fixed number does not follow you from site to site. The job ARP does in IPv4 belongs to the Neighbor Discovery Protocol (RFC 4861), which also finds routers.

Why does this matter to you?

With no NAT in the way, each device can have an address that is unique in the world. Two players, or a player and a server in someone's house, can connect directly.

Compare that with CGNAT. RFC 6269 (June 2011) lists the problems: a port must also be opened on the provider's NAT, which you do not control, and when one customer gets a shared address blocklisted, everyone behind it is affected. RFC 7021 (September 2013), a report of lab tests, found that peer-to-peer console gaming failed behind the carrier NAT setups it tried. If a console reports a strict NAT type and forwarding ports changes nothing, CGNAT is one possible cause.

Tip

Look at the WAN or Internet address on your router's status page. If it falls between 100.64.0.0 and 100.127.255.255, you are behind carrier-grade NAT, and no port forward on your own router will make you reachable over IPv4. IPv6, if your provider offers it, is one way around that.

Now the security side. NAT hid your devices as a side effect. The real protection is the stateful firewall beside it, which lets in replies to connections you started and drops the rest. RFC 6092 (January 2011) recommends that home routers filter IPv6 that way, refusing connection attempts from outside by default. It also requires an easy switch to a "transparent mode" that forwards everything, and it allows a maker to ship with that mode on. So check yours.

Watch out

A device with both IPv4 and IPv6 has two doors. A firewall rule or port forward written for one does nothing for the other. If you host anything, check both, and remember that an IPv6 rule you open exposes that device to the whole internet directly.

How do you check your own connection?

These commands only read. They change nothing.

On Windows:

ipconfig

This lists the addresses on each network adapter, IPv4 and IPv6 together:

   IPv6 Address. . . . . . . . . . . : 2001:db8:a1:12::c1f
   Temporary IPv6 Address. . . . . . : 2001:db8:a1:12:5c8e:91ff:2b0d:77a4
   Link-local IPv6 Address . . . . . : fe80::1c2d:3e4f:5a6b:7c8d%12
   IPv4 Address. . . . . . . . . . . : 192.168.1.23

On Linux:

ip -6 addr

This shows only the IPv6 addresses on each interface. Each line ends with a scope, global or link:

    inet6 2001:db8:a1:12::c1f/64 scope global dynamic
    inet6 fe80::1c2d:3e4f:5a6b:7c8d/64 scope link

On macOS:

ifconfig en0

This shows one interface. The lines that start with inet6 are its IPv6 addresses.

Read the result with the table above. If the only IPv6 address starts with fe80, the device has IPv6 switched on but no public IPv6 address. One starting with 2 or 3 means your provider is giving you IPv6.

ping -6 example.com

This sends test packets over IPv6 only, on Windows and Linux. On macOS the command is ping6 example.com.

In a browser, test-ipv6.com checks whether you reach the internet over IPv4, IPv6 or both. When you need an IPv6 address with a port, put the address in square brackets, as in https://[2001:db8::1]:443/, so the port's colon is not mistaken for part of the address.

How do the two live side by side?

IPv4 and IPv6 cannot talk to each other directly, so networks use one of three arrangements.

Dual stack gives every device both. When a name has both kinds of address, your device follows a method called Happy Eyeballs (RFC 8305): try IPv6 first, and if it has not connected after a short wait (the document suggests 250 milliseconds), start an IPv4 attempt as well and keep whichever connects.

NAT64 with DNS64 lets a network drop IPv4 altogether and still reach IPv4 sites. The DNS server invents an IPv6 address that stands for the IPv4 one, and a gateway translates between the two.

Diagram in five steps. An IPv6-only phone at 2001:db8:a1:12::c1f, with no IPv4 address, asks a DNS64 resolver run by the carrier for a site's address. The site has only the IPv4 address 198.51.100.10, so DNS64 answers with 64:ff9b::c633:640a, which is the prefix 64:ff9b::/96 followed by the same four numbers in hex. The phone sends IPv6 packets to that address and the network routes them to a NAT64 gateway. The gateway rewrites each packet as IPv4, from its own address 203.0.113.7 to 198.51.100.10. Replies return the same way and are translated back to IPv6.DNS64 hands out a stand-in address and NAT64 translates, so an IPv6-only device can still reach an IPv4-only site.

464XLAT (RFC 6877) adds a small translator on the device itself, for apps that insist on IPv4. Their traffic is turned into IPv6 on the phone and back into IPv4 at the provider.

Where is addressing going?

Start with what is measured. Google's public IPv6 statistics show 47.1% of its users arriving over IPv6 on Thursday 12 November 2026, and 50.8% on Saturday 7 November. APNIC Labs, which measures differently, puts the share of the world's users who can use IPv6 at 44.3% for the 30 days to 12 November 2026. The spread between regions is wide.

Share of users who can use IPv6, by region, 30 days to 12 November 2026
Share of users who can use IPv6, by region, 30 days to 12 November 2026
Americas52.43%
Asia50.44%
World44.31%
Oceania44.26%
Europe38.54%
Africa6.85%

Source: APNIC Labs, IPv6 Capability Metrics, read 13 November 2026

Then the published plans. In the United States, Office of Management and Budget memorandum M-21-07 (19 November 2020) told federal agencies to plan for at least 20% of the IP-enabled assets on federal networks to run IPv6-only by the end of fiscal year 2023, 50% by the end of 2024 and 80% by the end of 2025. I did not read an official report on whether those targets were met, so I do not say.

The standards describe three designs already in use:

  • IPv6-only data centers that translate IPv4 visitors at the edge (RFC 7755, February 2016).
  • IPv6-mostly networks (RFC 8925, October 2020), where a device that can live without IPv4 says so with DHCP option 108 and the same network still serves older devices that cannot.
  • IPv4 as a service (RFC 8585, May 2019), where the provider's network is IPv6-only and IPv4 is carried over the top of it to your router.

IPv4 is not going away soon. By the same measurements, about half of users still arrive over it. RFC 8585 notes that some devices and apps speak only IPv4, and the federal memo says public services may need IPv4 at their edge for longer. Every design above exists to keep IPv4 reachable while less of the network runs on it.

What to remember

  • IPv4 has about 4.3 billion addresses and the central pool was handed out by February 2011. NAT, carrier-grade NAT and a transfer market keep it going.
  • An IPv6 address is 128 bits in eight hex groups. Drop leading zeros, and use :: once for the longest run of zero groups.
  • The first 64 bits are the network and the last 64 are the device. fe80 is link-local, fd is private, and 2 or 3 is public.
  • Without NAT, the firewall is your protection. Check that your router filters inbound IPv6, and write rules for both protocols.
  • A WAN address from 100.64.0.0 to 100.127.255.255 means carrier-grade NAT.
  • Close to half of measured users are on IPv6, and translation keeps IPv4 reachable.

Run the command for your system tonight and see which kinds of IPv6 address you have. Then find the IPv6 firewall page in your router's settings before you need it. The natural next read is "Firewalls, NAT and Port Forwarding."

Sources (41)