DHCPv6 Operation

DHCPv6 Operation

Bothe of the stateless and stateful DHCPv6 operation are started with an ICMPv6 RA message from the router. The RA message may have been periodic or solicited by the device using an RS message. The devices start client and server communication when stateless or stateful DHCPv6 is indicated in the RA message. The DHCPv6 operation is started when an RA message indicate stateful or stateless DHCPv6.

The DHCPv6 messages are sent in user datagram protocol (UDP). Messages from the server to client uses UDP destination port 546 and messages from the client to server uses UDP destination port 547.

The DHCPv6 client needs to discover a DHCPv6 server. The client sends a Router SOLICIT (RS) message to the reserved IPv6 multicast all-DHCPv6-servers addressFF02::1:2. This multicast address has a link-local scope, which means routers do not forward the messages to other networks.

The available DHCPv6 servers respond with a DHCPv6 ADVERTISE message which tells the client that the server is available for DHCPv6 service. The client responds with a DHCPv6 REQUEST in case of stateful DHCPv6 and Information-request in case of stateless DHCPv6 to the server. The figure below illustrates the DHCPv6 operation.

DHCPv6 Operation

  • Stateless DHCPv6 client– The client sends a DHCPv6 INFORMATION-REQUEST message to the DHCPv6 server. The message including request only for configuration parameters, such as DNS address. The client generated its IPv6 address with the help of the RA message and a self-generated Interface ID. The server reply with the information requested.
  • Stateful DHCPv6 client– The client sends a DHCPv6 REQUEST to the DHCPv6 server to get IPv6 address information including all other configuration parameters.
Avatar of Asad Ijaz

Asad Ijaz

NetworkUstad's lead networking architect with CCIE certification. Specializes in CCNA exam preparation and enterprise network design. Authored 2,800+ technical guides on Cisco systems, BGP routing, and network security protocols since 2018. Picture this: I'm not just someone who writes about tech; I'm a certified expert in the field. I proudly hold the titles of Cisco Certified Network Professional (CCNP) and Cisco Certified Network Associate (CCNA). So, when I talk about networking, I'm not just whistling in the dark; I know my stuff! My website is like a treasure trove of knowledge. You'll find a plethora of articles and tutorials covering a wide range of topics related to networking and cybersecurity. It's not just a website; it's a learning hub for anyone who's eager to dive into the world of bits, bytes, and secure connections. And here's a fun fact: I'm not a lone wolf in this journey. I'm a proud member and Editor of Team NetworkUstad. Together, we're on a mission to empower people with the knowledge they need to navigate the digital landscape safely and effectively. So, if you're ready to embark on a tech-savvy adventure, stick around with me, Asad Ijaz Khattak. We're going to unravel the mysteries of technology, one article at a time!"