What is Stateless DHCPv6? Explained with Examples

By | 3rd December 2015

Stateless DHCPv6 Server and Client Autoconfiguration.

During the SLAAC process, the client receives information to create an IPv6 global unicast address.
This includes the default gateway information from the source IPv6 address in the RA message, which is the link-local address of the router.
A stateless DHCPv6 server can be used to provide information that might not be included in the RA message (DNS server address and the domain name).

Stateless DHCPv6 Server Configuration command terms:

The ipv6 dhcp server interface command binds the DHCPv6 pool to the interface.
The O flag needs to be changed from 0 to 1 using the interface command ipv6 nd other-config-flag.

Stateless DHCPv6 Server Configuration

we use the topology below to configure stateless DHCP servers and clients.

dhcp sever config

R1(config)#ipv6 unicast-routing
R1(config)#ipv6 dhcp pool Stateless_DHCP
R1(config-dhcpv6)#dns-server AAAA:BBBB:CCCC:DDDD::FFFF
R1(config-dhcpv6)#domain-name orbitCO.com
R1(config-dhcpv6)#exit
R1(config)#interface s0/0/0
R1(config-if)#ipv6 address 2001:df6:adac:1::1/64
R1(config-if)#ipv6 dhcp server Stateless_DHCP
R1(config-if)#ipv6 nd other-config-flag

Stateless DHCPv6 Client Configuration

we use the same topology below to configure stateless DHCP client.

dhcp sever config
Stateless DHCPv6 Client Configuration command terms.

The ipv6 enable command is used to enable for a global unicast addressing.
The ipv6 address autoconfig command enables automatic configuration of IPv6 addressing using SLAAC

R2(config)#interface s0/0/0
R2(config-if)#ipv6 enable
R2(config-if)#ipv6 address autoconfig
R2(config-if)#exit

Stateless DHCPv6 Verification

R2#show ipv6 interface s0/0/0
Serial0/0/0 is up, line protocol is up
IPv6 is enabled, link-local address is FE80::2
No Virtual link-local address(es):
Stateless address autoconfig enabled
Global unicast address(es):
    2001:DF6:ADAC:1::2, subnet is 2001:DF6:ADAC:1::/64 [EUI/CAL/PRE]
       valid lifetime 2591259 preferred lifetime 604059
Joined group address(es):
    FF02::1
    FF02::1:FF00:2
MTU is 1500 bytes
ICMP error messages limited to one every 100 milliseconds
ICMP redirects are enabled
ICMP unreachables are sent
ND DAD is enabled, number of DAD attempts: 1
ND reachable time is 30000 milliseconds (using 30000)
ND RAs are suppressed (periodic)
Hosts use stateless autoconfig for addresses.

From the display above, the show ipv6 interface command shows that the router has “Stateless address autoconfig enabled” and has an IPv6 global unicast address (2001:DF6:ADAC:1::2) and displays the subnet address (2001:DF6:ADAC:1::/64) as well.
The IPv6 global unicast address was created using SLAAC which includes the prefix which can be found in the RA message.
The Interface ID was generated using EUI-64 which is displayed to the right of the subnet address.
The Duplicate Address Detection (DAD) is used in verifying that no one else on your network is using the same address you created.

How to Configure DHCPV6 Stateful Auto-configuration (Server and Client .

DHCP Snooping Explained

IPv6 Routing Protocols Explained

IPv6 Explained

Leave a Reply

Your email address will not be published. Required fields are marked *