IPv6
SLAAC
Devices build their own IPv6 address from the prefix a router advertises.
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.
Read next
- IPv6 The 128-bit Internet Protocol: a /64 prefix for the network, 64 bits for the card.
- Link-local address The fe80:: address every IPv6 card gives itself, valid only on its own link.
- DHCP How a device gets its address, gateway and DNS server when it joins a network.
- Default gateway The router a device sends everything to that is not on its own network.
- DHCPv6 IPv6's DHCP: addresses (stateful) or only settings (stateless), as the router advertisement's M and O flags say.
- Neighbour discovery IPv6's replacement for ARP, and more: ICMPv6 messages to find neighbours and routers.
- Temporary address A random IPv6 address a device makes beside its stable one and uses for connections it opens.