IPv4 vs IPv6: what is the difference?
Why there are two kinds of IP addresses, how they differ in practice, and whether you need to do anything about IPv6.
IPv4 and IPv6 are two versions of the same thing: the address format the internet uses to deliver data. You probably use both every day without noticing – your phone may load one website over IPv6 and the next one over IPv4.
| IPv4 | IPv6 | |
|---|---|---|
| Example | 203.0.113.5 | 2001:db8:85a3::8a2e:370:7334 |
| Length | 32 bits | 128 bits |
| Number of addresses | about 4.3 billion | about 340 undecillion (3.4 × 1038) |
| Written as | 4 numbers 0–255, dots | 8 groups of hex digits, colons |
| Typical home setup | one public address shared by all devices (NAT) | each device has its own public address |
| Introduced | 1981 | 1998 |
Why IPv6 exists
4.3 billion addresses looked like plenty in 1981. Today there are more phones than that. APNIC, the Asia-Pacific registry, ran out of its normal pool of free IPv4 addresses in 2011, and RIPE NCC, the European one, in November 2019. Providers therefore share addresses: your router hides all your devices behind one IPv4 address, and mobile operators put hundreds of customers behind one more (CGNAT). IPv6 removes the shortage – there are enough addresses for every grain of sand to have billions.
How to read an IPv6 address
Leading zeros in a group can be dropped, and one run of zero groups can be replaced by “::”. So 2001:0db8:0000:0000:0000:0000:0000:0001 and 2001:db8::1 are the same address. The first half usually identifies the network, the second half the device.
Do I have IPv6?
Look at the IPv6 line on the MonIP home page or run the IPv6 test, which also shows which version your browser prefers. “Not available” is not an error – your provider or router simply does not offer it yet, and everything keeps working over IPv4.
Does it matter for privacy?
Older systems built the second half of an IPv6 address from the network card's MAC address, which made a device recognisable everywhere. Windows, macOS, iOS and Android now use temporary addresses that change regularly. The bigger risk is a VPN that tunnels only IPv4: websites then still see your real IPv6 address. The VPN check catches that.