Verifying the Stateless DHCPv6 Server
In Figure 1, the show ipv6 dhcp pool command verifies the name of the DHCPv6 pool and its parameters. The number of active clients is 0, because there is no state being maintained by the server.
The show running-config command can also be used to verify all the commands that were previously configured.
Verifying the Stateless DHCPv6 Client
In this example, a router is used as a stateless DHCPv6 client. In Figure 2, the output from the show ipv6 interface command shows that the router has ”Stateless address autoconfig enabled“ and has an IPv6 global unicast address. The IPv6 global unicast address was created using SLAAC, which includes the prefix contained in the RA message. The IID was generated using EUI-64. DHCPv6 was not used to assign the IPv6 address.
The default router information is also from the RA message. This was the source IPv6 address of the packet that contained the RA message and the link-local address of the router.
The Figure 3 output from the debug ipv6 dhcp detail command shows the DHCPv6 messages exchanged between the client and the server. In this example, the command has been entered on the client. The INFORMATION-REQUEST message is shown because it is sent from a stateless DHCPv6 client. Notice that the client, router R3, is sending the DHCPv6 messages from its link-local address to the All_DHCPv6_Relay_Agents_and_Servers address FF02::1:2.
The debug output displays all the DHCPv6 messages sent between the client and the server including the DNS server and domain name options that were configured on the server.
Use the Syntax Checker in Figure 4 to configure and verify stateless DHCPv6 on the router.