cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
358
Views
0
Helpful
1
Replies

dhcpv6 configuration

hello guys i got really confused by the slaac stateless stateful dhcpv6 servers , cans someone please explain them to me in the most simple way possible , i don't get them and they get mixed up and i don't know what's what anymore

thanks

1 Reply 1

  • SLAAC - Stateless Address Autoconfiguration

An IPv6 host connecting to the LAN should send an ICMPv6 Router Solicitation (RS) packet destined to the multicast IPv6 group FF02::2 (only local Routers will process the packet).

Upon reception of this packet, the local Router replies with an ICMPv6 Router Advertisement (RA). This packet includes among other information, the Network Prefix and Default Gateway for the subnet.

Thanks to this packet, the IPv6 hosts knows what is the Network Prefix and Default Gateway (DG) it should use. Actually, the DG is not part of the payload of the RA but the IPv6 host gets that info from the IPv6 Source address of the RA packet.

Finally, the host portion of the IPv6 address is derived by the IPv6 Host itself based on its own MAC address, commonly using a method called EUI-64 (I won't dig into this to keeps the explanation simple, just think on this as the way the Host creates its own IPv6 host portion of the addressing).

In conclusion, the IPv6 host can get its full IPv6 address (Network Prefix + Host portion) and Default Gateway without the need of a DHCPv6 Server.

  • Enters DHCPv6

SLAAC does not provide DNS information so the IPv6 host requires DHCPv6 if you want it to get the DNS IPv6 address automatically.

Note that DHCPv6 does not provide Default Gateway information so you still require the IPv6 host receive the RA packet from the Router.

  • DHCPv6 stateless.

IPv6 hosts gets:

  1. Network prefix information from the DHCPv6 Server.
  2. Host portion of the IPv6 addressing deriving it based on its own Mac Address (EUI-64 method).
  3. Default Gateway via the RA packet.
  4. DNS information from the DHCPv6 Server.

  • DHCPv6 stateful.

IPv6 hosts gets:

  1. Network prefix information from the DHCPv6 Server.
  2. Host portion of the IPv6 addressing from the DHCPv6 Server. Therefore stateful as the DHCPv6 server keeps a record of these.
  3. Default Gateway via the RA packet.
  4. DNS information from the DHCPv6 Server.

This document may also be of help:

Troubleshooting IPv6 dynamic address assignment between Cisco and Windows