An IPv6 address is 128 bits long, written as eight blocks of 16 bits in hexadecimal, separated by colons, e.g. 2001:0db8:85a3:0000:0000:8a2e:0370:7334.
Global routing prefix (48 bits) – identifies the organisation’s network on the internet; usually assigned by the provider.
Subnet ID (16 bits) – lets the organisation create its own subnets (per department or site). Together with the routing prefix this is the network prefix (first 64 bits).
Interface ID (64 bits) – identifies the single device (interface) in the subnet; created from the MAC address (EUI-64) or randomly (privacy extensions), via SLAAC or DHCPv6.
Simple view: 64-bit network prefix + 64-bit interface ID. Short notation: leading zeros in a block may be left out, and one sequence of zero blocks may be replaced by :: (only once).
Diagram
Key vocabulary
Term
Meaning
Example
IPv6
the new IP version with 128-bit addresses
Our provider supports IPv6.
prefix
the network part of an IPv6 address
The provider gave us a /48 prefix.
interface ID
the device part of an IPv6 address
The interface ID is created randomly.
hexadecimal
base-16 numbers using 0–9 and a–f
IPv6 addresses are written in hexadecimal.
block (hextet)
one 16-bit group of an IPv6 address
An IPv6 address has eight blocks.
privacy extensions
random interface IDs to protect privacy
Windows uses privacy extensions by default.
Useful phrases
to be 128 bits longAn IPv6 address is 128 bits long.
to leave out leading zerosYou can leave out leading zeros in each block.
to replace zeros with a double colonReplace one group of zero blocks with a double colon.
to be assigned by the providerThe routing prefix is assigned by the provider.
Talk about it
Read the IPv6 address in the diagram aloud in English and name each part.
Why did the world need IPv6? How many addresses does it offer compared to IPv4?
Why are random interface IDs better for privacy than IDs made from the MAC address?
IHK hint
German: Aufbau IPv6-Adresse: 128 Bit, 8 Blöcke à 16 Bit hexadezimal; Global Routing Prefix (48) + Subnetz-ID (16) + Interface-ID (64); vereinfacht 64 Bit Präfix + 64 Bit Interface-ID.