Stateless Address Auto Configuration (SLAAC) is the IPv6 Auto Configuration technique that is done automatically on the hosts with the help of IP Prefixes coming from a router with Router Advertisements (RAs). In this type of Auto configuration, in Stateless Auto Address Configuration there is no need to track any address information like Stateful, DHCP technique.
Learning IP Addresses from the DHCP is a Stateful Auto Address Configuration. This can be done with both IPv4 and IPv6. But with IPv6, a new term has come. This is Stateless Auto Address Configuration (SLAAC). So, this Stateless Auto Address Configuration can be done with DHCP or without DHCP.
In normal DHCP, DHCP Servers track the addresses that they have given. DHCP Servers has lists about these IP addresses. This is a Stateful Addresss Auto Configuration. Here, in SLAAC, there is another technique. This technique is Stateful. The addresses given to the hosts are not tracked in SLAAC.
DHCP itself is a Stateful technique. But when it is used with SLAAC, only some properties of DHCP is used. So, SLAAC can be used with two types according to DHCP usage. These SLAAC types are:
To Check Yourself on Various Networking Lessons, You Can Use All Network Quizes Page!
SLAAC is done with the help of Router Advertisement Messages coming form the router.These Router Advertisement Messages contain some specifal flags. These are M and O flags. According to these flags, the type of Auto Configuration is determined, Stateful or Stateless auto configuration is done.
Here, M Flag is always 0 for SLAAC. And for SLAAC with DHCPv6, 0 bit is set to 1. For SLAAC without DHCP, it is set to 0.