In this tutorial we will learn to Deploy and Configure DHCPv6 Dynamic Host Configuration Protocol for IPv6 .It’s working very similar to DHCP Server in IPv4.
We need to create DHCPv6 POOL and named it.here in this Lab our pool name will be LANR1. And Finally we have to tell the router interface connected with Client machines about the DHCP POOL LANR1.
DHCP for IPv6 Address Assignement
Step 1:First Configure IPv6 address on Router.
Router>enable Router#config t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#host R1 R1(config)#int fa0/0 R1(config-if)#ipv6 add 2000:1111:AAAA:BBBB::1/64 R1(config-if)#no shut
R1(config-if)#exit R1(config)#int fa0/1 R1(config-if)#ipv6 add 2000:1111:AAAA:CCCC::1/64 R1(config-if)#no shut
R1(config-if)#exit R1(config)#ipv6 unicast-routing R1(config)#
Step 2:Assign IP Address to DNS SERVER
Step3:Configure DHCPv6 for IPv6 on Cisco Router R1:
DHCP Configuration on IPv6
R1(config-if)#exit R1(config)#ipv6 unicast-routing R1(config)#ipv6 dhcp pool LANR1 R1(config-dhcp)#dns-server 2000:1111:AAAA:BBBB::2 R1(config-dhcp)#domain-name linuxtiwary.com R1(config-dhcp)#prefix-delegation pool LANR1
R1(config)#ipv6 local pool LANR1 2000:1111:AAAA:CCCC::/64 64 R1(config)#int fa0/1 R1(config-if)#ipv6 dhcp server LANR1 R1(config-if)#ipv6 ND managed-config-flag R1(config-if)#