← All questions
Card 88 · Networking

Describe the components of an IPv6 address.

Answer

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.

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

2001:0db8:85a3 : 0001 : 8a2e:0370:7334:0001Global routing prefix48 bitsSubnet ID16 bitsInterface ID64 bitsnetwork prefix (64 bits)device part (64 bits)

Key vocabulary

TermMeaningExample
IPv6the new IP version with 128-bit addressesOur provider supports IPv6.
prefixthe network part of an IPv6 addressThe provider gave us a /48 prefix.
interface IDthe device part of an IPv6 addressThe interface ID is created randomly.
hexadecimalbase-16 numbers using 0–9 and a–fIPv6 addresses are written in hexadecimal.
block (hextet)one 16-bit group of an IPv6 addressAn IPv6 address has eight blocks.
privacy extensionsrandom interface IDs to protect privacyWindows uses privacy extensions by default.

Useful phrases

Talk about it

  1. Read the IPv6 address in the diagram aloud in English and name each part.
  2. Why did the world need IPv6? How many addresses does it offer compared to IPv4?
  3. 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.