Skip to content
FALCON CORETECHNOLOGIES

// Lesson 14 of 49 · IPv6

IPv6 address types and autoconfiguration

Global unicast, unique local, link-local, multicast and anycast addresses; EUI-64; SLAAC and DHCPv6.
2 min read#ipv6#slaac#dhcpv6#eui-64

Unicast address types

Type Prefix Scope Notes
Global unicast (GUA) 2000::/3 (starts with 2 or 3) Internet-routable The IPv6 equivalent of a public address
Unique local (ULA) fc00::/7 (in practice fd00::/8) Inside an organisation Similar in purpose to RFC 1918
Link-local fe80::/10 One link only Every IPv6 interface has one; never routed
Loopback ::1/128 The host itself Like 127.0.0.1
Unspecified ::/128 — "No address yet"

Routers use the neighbour's link-local address as the next hop in routing protocols, which is why every interface always has one.

Multicast

Multicast addresses start with ff. Ones you will see:

Address Meaning
ff02::1 All nodes on the link
ff02::2 All routers on the link
ff02::5 / ff02::6 OSPFv3 routers / DR routers
ff02::1:ffXX:XXXX Solicited-node multicast, used by NDP instead of ARP broadcast

Anycast

An anycast address is assigned to several devices; packets go to the nearest one according to routing. It looks like a normal unicast address. Public DNS services are a well-known example.

EUI-64 interface IDs

A device can build its 64-bit interface ID from its 48-bit MAC address:

  1. Split the MAC in half: 00:1a:2b | 3c:4d:5e.
  2. Insert ff:fe in the middle: 00:1a:2b:ff:fe:3c:4d:5e.
  3. Flip the 7th bit of the first byte: 00 → 02.

Result: 021a:2bff:fe3c:4d5e. Many operating systems use random interface IDs instead, for privacy.

How hosts get addresses

Routers send Router Advertisements (RAs) with the prefix and flags. Hosts then use one of:

Method Address from Other info (DNS) from
SLAAC Host builds it from the RA prefix + its own interface ID RA (RDNSS option)
Stateless DHCPv6 SLAAC DHCPv6 server
Stateful DHCPv6 DHCPv6 server DHCPv6 server

The default gateway always comes from the RA (the router's link-local address), never from DHCPv6.

Neighbour Discovery (NDP)

NDP uses ICMPv6 messages: Router Solicitation/Advertisement (RS/RA) and Neighbour Solicitation/Advertisement (NS/NA). NS/NA replace ARP; duplicate address detection (DAD) checks that an address is not already in use before the host uses it.

Key points

  • GUA 2000::/3, ULA fd00::/8, link-local fe80::/10, multicast ff00::/8.
  • Every interface has a link-local address; routers use it as next hop.
  • EUI-64: insert fffe and flip the 7th bit.
  • SLAAC, stateless DHCPv6, stateful DHCPv6 — the gateway always comes from RAs.

Sign in to save your lesson progress across devices. You can read every published lesson without an account.