What is Stateless Address Autoconfiguration (SLAAC) in IPv6?
Answer
SLAAC is a method with which an IPv6 device configures its own IP address automatically – without a DHCP server. “Stateless” means that no central server keeps a record (state) of which address belongs to which client.
1. Link-local address: first the device creates its own link-local address (fe80::…) – similar to APIPA in IPv4.
2. Router Solicitation (RS): the client asks via multicast whether there is a router.
3. Router Advertisement (RA): the router answers with the network prefix (first 64 bits) and other parameters.
4. Build the address: the client combines the prefix with its own interface ID (EUI-64 from the MAC address or random).
5. Duplicate Address Detection (DAD): before using it, the client checks via multicast that no other device has the same address.
The stateful alternative is DHCPv6; both can be combined (SLAAC for the address, DHCPv6 for options like DNS).
Diagram
Key vocabulary
Term
Meaning
Example
autoconfiguration
setting itself up automatically
IPv6 hosts use autoconfiguration.
stateless
without a central record of assignments
SLAAC is stateless – no server keeps a list.
Router Advertisement (RA)
a message from a router with the network prefix
The router sends an RA every few minutes.
Router Solicitation (RS)
a request from a host asking for routers
The laptop sent an RS when it joined the network.
Duplicate Address Detection (DAD)
checking that an address is not already used
DAD found no conflict.
APIPA
IPv4 self-assigned address 169.254.x.x
APIPA is the IPv4 equivalent of a link-local address.
Useful phrases
to assign itself an addressThe device assigns itself an address.
without a DHCP serverSLAAC works without a DHCP server.
to combine … with …The client combines the prefix with its interface ID.
to check for duplicatesFirst it checks for duplicates.
Talk about it
Explain SLAAC step by step as if you were the laptop joining a new network.
What is the difference between stateless (SLAAC) and stateful (DHCPv6) configuration?
Why might an admin still want DHCPv6 in a company network?