Advertisement

How to Read an IPv6 Address: Structure, Shortening and Types

An IPv6 address like 2001:0db8:85a3:0000:0000:8a2e:0370:7334 looks like line noise the first time. But it has clean internal structure, and the shortening rules that produce forms like 2001:db8::1 take two minutes to learn.

The anatomy

An IPv6 address is 128 bits, written as eight groups of four hex digits. For a typical global address, the halves have meaning:

The shortening rules

  1. Drop leading zeros in each group: 0db8 โ†’ db8, 0000 โ†’ 0.
  2. Compress one run of consecutive zero groups to :: โ€” only once per address, so it stays unambiguous.

So 2001:0db8:0000:0000:0000:0000:0000:0001 becomes 2001:db8::1, and the loopback (IPv6's localhost) is simply ::1.

Advertisement

Recognising address types at a glance

Starts withTypeMeaning
2xxx/3xxxGlobal unicastPublic, internet-routable
fe80::Link-localAuto-generated, local segment only โ€” every interface has one (IPv6's cousin of 169.254, but always present by design)
fc00::/fd00::Unique localPrivate, like 192.168.x.x
ff00::MulticastOne-to-many delivery
::1LoopbackThis machine

Privacy addresses: why your IPv6 keeps changing

Early IPv6 embedded the device's MAC address in the interface ID โ€” a permanent, globally trackable serial number in every packet. Modern systems instead use privacy extensions: randomised interface IDs rotated regularly (daily or per connection). That's why your device shows several IPv6 addresses at once โ€” a stable one for inbound purposes and temporary ones actually used for outgoing traffic. Check which address the world currently sees on our homepage.

One practical upshot of IPv6: with no NAT, each device has a globally unique address โ€” so the network firewall, not address-sharing, is what keeps unsolicited traffic out.

๐ŸŒ Curious what your connection reveals right now? Check your IP address and location โ†’

Frequently asked questions

Why do I see %eth0 or %15 after an IPv6 address?

That's a zone index attached to link-local (fe80::) addresses โ€” it tells the OS which network interface the address applies to, since every interface has an fe80 address.

Is an IPv6 address more traceable than IPv4?

Per-device uniqueness could make it more traceable, but privacy extensions rotate the visible address regularly, and your prefix still only locates you like an IPv4 address would.

Advertisement