IPv6 Explained: Addresses, Privacy, and How to Test Your Connection
Read and shorten IPv6 addresses, understand how devices configure themselves, what privacy addresses do, and how to check and troubleshoot IPv6 on your own network.
Published by SpeedTesting.dev · Updated · 3 min read
Quick answer
IPv6 gives every device a globally unique address, so NAT is no longer needed. Most connections now run IPv4 and IPv6 side by side, and broken IPv6 usually shows up as slow page starts rather than total failure.
Why IPv6 Exists
IPv4 provides about 4.3 billion addresses, which ran out years ago. Workarounds such as NAT and carrier-grade NAT (explained in our public vs private IP guide) let many devices share one address, at the cost of complexity and broken incoming connections.
IPv6 uses 128-bit addresses, enough for every device to have its own globally unique address many times over. By 2025, close to half of the users reaching Google's services did so over IPv6, with much higher shares on many mobile networks. Most home connections now run dual-stack: IPv4 and IPv6 at the same time, with the device choosing whichever works best for each connection.
Check whether your own connection has IPv6 with our IPv6 test.
Reading and Shortening IPv6 Addresses
An IPv6 address is written as eight groups of four hexadecimal digits separated by colons, for example 2001:0db8:0000:0000:0000:ff00:0042:8329. Two rules shorten it:
- Leading zeros in any group can be dropped: 0db8 becomes db8, and 0042 becomes 42.
- One run of consecutive all-zero groups can be replaced with a double colon, once per address.
Applying both gives 2001:db8::ff00:42:8329. The double colon can only appear once, because otherwise it would be ambiguous how many zero groups each one represents.
Networks are written with a prefix length, as in IPv4. A home connection typically receives a /56 or /64 from the provider. A single /64 subnet contains about 18 quintillion addresses, which is why IPv6 networks are never "full".
The Addresses You Will See on Your Device
Run ipconfig or ip addr on a dual-stack device and you will usually see several IPv6 addresses at once. That is normal.
- Link-local (fe80::/10): always present on every IPv6 interface, used only on the local network for things like finding the router.
- Global unicast (currently mostly 2000::/3, so beginning with 2 or 3): reachable from the internet. There are often two kinds: a stable address and one or more temporary addresses.
- Unique local (fd00::/8): optional, used for internal-only communication, similar in purpose to private IPv4 ranges.
- Loopback (::1): this device, equivalent to 127.0.0.1.
ipconfig
netsh interface ipv6 show addresses
ifconfig en0 | grep inet6
ip -6 addr show
ip -6 route show default
How Devices Get IPv6 Addresses
Instead of always asking a DHCP server, IPv6 devices usually configure themselves. The router periodically sends router advertisements announcing the network prefix. Each device combines that prefix with an interface identifier it generates to create its own global address. This process is called Stateless Address Autoconfiguration (SLAAC). DHCPv6 exists as well and is common in enterprise networks, and many routers use it upstream to request a prefix from the provider.
Older systems built the interface identifier from the hardware MAC address, which meant a device kept the same identifier on every network it joined. Modern operating systems use privacy extensions instead: they generate temporary addresses that change regularly (often daily) and use them for outgoing connections, so websites cannot track a device simply by its IPv6 address.
No NAT Does Not Mean No Protection
Because every device has a global address, IPv6 does not need NAT. A common worry is that this exposes devices directly to the internet. In practice, home routers apply a stateful firewall to IPv6 that blocks unsolicited incoming connections by default, providing the same practical protection NAT did for IPv4.
The upside is that legitimate incoming connections become simpler: you can allow a specific port to a specific device in the firewall, with no port forwarding table and no conflict between devices wanting the same port. You can confirm what is reachable from outside with the open port checker.
Troubleshooting IPv6 Problems
Browsers use a technique called Happy Eyeballs: they try IPv6 and IPv4 almost simultaneously and use whichever connects first. As a result, broken IPv6 rarely causes total failure. Instead, it shows up as a short delay before some sites start loading, or as specific services failing while others work.
- Run the IPv6 test. If it reports an IPv6 address but connections fail or are slow, IPv6 routing is broken somewhere.
- Ping a well-known IPv6 host such as 2606:4700:4700::1111. If the ping fails while IPv4 works, the problem is IPv6-specific.
- Restart the router; IPv6 prefix delegation from the provider sometimes fails after an outage and only recovers on reconnection.
- Update router firmware; early IPv6 implementations in some routers were unreliable.
- If you use a VPN that does not support IPv6, enable its IPv6 leak protection so traffic does not bypass the tunnel. Our DNS and WebRTC leak test shows whether that is happening.
Disabling IPv6 entirely is a last resort. It can hide the symptom, but it also removes the benefits and occasionally breaks features in modern operating systems that expect it.
ping -6 2606:4700:4700::1111
tracert -6 example.com
ping6 -c 4 2606:4700:4700::1111
traceroute6 example.com
ping -6 -c 4 2606:4700:4700::1111
tracepath -6 example.com
Related Articles
What This IP Tool Tells You
What the What Is My IP tool shows about your connection, the difference between IPv4 and IPv6 and public and private addresses, how accurate IP location is, and how to protect your IP privacy.
Public vs Private IP Addresses, NAT, and CGNAT Explained
Understand the difference between the address your device uses at home and the one websites see, recognise private ranges at a glance, and find out whether your provider puts you behind carrier-grade NAT.
What This NAT Type Checker Tells You
What the NAT type checker can and cannot tell you, how NAT types affect gaming on PS5, Xbox, Switch, and PC, and how to fix double NAT, CGNAT, and strict NAT.
Why Speed Test Results Vary and How to Get a Reliable Reading
Understand why two speed tests a minute apart disagree, what each metric means, and a repeatable method for testing that gives results you can act on or show your ISP.