IPv4 vs IPv6 explained in plain language
Every device that connects to the internet needs an address. For decades that meant IPv4, which looks like 192.0.2.1. IPv4 has room for about 4.3 billion addresses, and they ran out years ago.
What IPv6 changes
IPv6 uses 128 bits instead of 32. That gives roughly 340 undecillion addresses, enough that every device can have its own. An IPv6 address is written in hexadecimal groups separated by colons, such as 2001:db8::1. Long runs of zeros can be shortened to a double colon.
Why it matters to you
With IPv4, many homes share one public address through a technique called NAT. IPv6 reduces the need for it, which can mean simpler connections for video calls, games and remote access. Many mobile networks and fibre providers already give IPv6 by default.
Do you have IPv6?
Many connections have both versions at once, called dual stack. Some only have one. If you see no IPv6 address, your router or provider may not offer it yet, or it may be switched off.
Privacy
Most devices create temporary IPv6 addresses that change over time, so long-term tracking by address is harder than it first sounds.
How to read an IPv6 address
An IPv6 address has eight groups of four hexadecimal digits, such as 2001:0db8:0000:0000:0000:0000:0000:0001. Two rules shorten it. Leading zeros in a group can be dropped, and one run of all-zero groups can be replaced with a double colon, so the example becomes 2001:db8::1. The double colon can appear only once, otherwise the address would be ambiguous. The prefix 2001:db8::/32 is reserved for documentation, which is why it appears in examples.
Dual stack and the fallback to IPv4
Most networks run both protocols side by side, which is called dual stack. When you open a site that has both kinds of records, your device tries both and uses whichever connects first, a method known as Happy Eyeballs. If IPv6 is broken somewhere along the path, the connection still succeeds over IPv4, usually with only a brief delay. This is why the move to IPv6 has been gradual and not a single switch-over day.
Common problems when IPv6 is involved
- A router that has IPv6 switched off, so only IPv4 is shown.
- A VPN that carries IPv4 but leaves IPv6 outside the tunnel, which can reveal your real address. Check both tabs in My IP Address with the VPN on.
- Firewall rules written only for IPv4, which leave IPv6 traffic unfiltered.
- Older equipment or apps that cannot accept an IPv6 address in a settings field.
A checklist for site owners
- Add AAAA records next to your existing A records.
- Make sure the web server listens on IPv6.
- Mirror firewall and rate-limit rules for IPv6.
- Test from a network that has IPv6 only.
- Check that your logs and databases store the longer addresses correctly.
See your own IPv6 address and where it appears to be.