Concepts / IPv6

IPv6

SLAAC

Also called stateless address autoconfiguration, router advertisement, router solicitation, RA

Devices build their own IPv6 address from the prefix a router advertises.

The router says the prefix; each device builds its address
The router says the prefix; each device builds its address

A new device asks all routers (ff02::2) with a router solicitation; the router answers all nodes (ff02::1) with an advertisement carrying the prefix, fd00:0:1::/64, and its own link-local address as the way out. The device puts its own interface id after the prefix and has an address. No server hands addresses out or keeps a list of them, unlike DHCP.

A router sends router advertisements to all nodes, periodically and when asked by a router solicitation. Each carries the prefix (with the autonomous flag), a router lifetime making it a default router, and the MTU. Devices append their interface id to the prefix and route through the router's link-local address. No server keeps a list of addresses, unlike DHCP; DHCPv6 exists alongside it for the rest.

See it on real machines

Read next

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Sign in with Google or email to start.

Start this lab