cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2604
Views
5
Helpful
6
Replies

DHCPv6 Issue

Deepak Kumar
VIP Alumni
VIP Alumni

Hi Team,

I configured a DHCPv6 server on Cisco 2901 router (c2900-universalk9-mz.SPA.151-4.M3.bin) in my office lab and Windows 10 System is getting the IPv6 address but it is not pinging with DHCP Router. I am getting error  "PING: transmit failed. General failure." on windows 10 and RTO on Cisco Router.

Here, I am sharing the router Configuration:

no aaa new-model
!
ipv6 dhcp pool test
address prefix FD00:1234:5678:1::/64
dns-server FD00:1234:5678:1::1
domain-name lab.test
!

!

ipv6 unicast-routing

!

interface GigabitEthernet0/1
no ip address
duplex auto
speed auto
ipv6 address FD00:1234:5678:1::1/64
ipv6 nd other-config-flag
ipv6 dhcp server test

!

!

----------

Windows 10 is getting IP:

Ethernet adapter Ethernet:

Connection-specific DNS Suffix . : lab.test
IPv6 Address. . . . . . . . . . . : fd00:1234:5678:1:11f7:434d:3da7:888b
Link-local IPv6 Address . . . . . : fe80::2c03:948c:f82b:1305%21

Now I am sharing some testing output which is done from my side in attached document. As per my test Windows 10 is not replying or sending any packet to DHCP Router.

Please help me.

Thanks.

Deepak Kumar

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!
2 Accepted Solutions

Accepted Solutions

Hello Deepak,

is this the full config ? Make sure you have:

ipv6 unicast-routing

configured globally.

View solution in original post

Hello Deepak,

my bad, it was in the original post already.

Either way, looking at your config, it seems that your pool is configured for stateful DHCP, while the interface is configured for stateless.

Try the following config:

ipv6 dhcp pool test
address prefix FD00:1234:5678:1::/64
dns-server FD00:1234:5678:1::1
domain-name lab.test
!
ipv6 unicast-routing
!
interface GigabitEthernet0/1
no ip address
duplex auto
speed auto
ipv6 address FD00:1234:5678:1::1/64
ipv6 nd managed-config-flag
ipv6 dhcp server test
ipv6 nd prefix FD00:1234:5678:1::/64 14400 14400 no-autoconfig

View solution in original post

6 Replies 6

Hello Deepak,

is this the full config ? Make sure you have:

ipv6 unicast-routing

configured globally.

Hi,

Sorry, It has configured already. 

Regards,

Deepak Kumar

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!

Hello Deepak,

my bad, it was in the original post already.

Either way, looking at your config, it seems that your pool is configured for stateful DHCP, while the interface is configured for stateless.

Try the following config:

ipv6 dhcp pool test
address prefix FD00:1234:5678:1::/64
dns-server FD00:1234:5678:1::1
domain-name lab.test
!
ipv6 unicast-routing
!
interface GigabitEthernet0/1
no ip address
duplex auto
speed auto
ipv6 address FD00:1234:5678:1::1/64
ipv6 nd managed-config-flag
ipv6 dhcp server test
ipv6 nd prefix FD00:1234:5678:1::/64 14400 14400 no-autoconfig

Hi,

This is not working. When I am assigning the static IP then it is working fine but DHCP is not working.

Now I have one question -  why Windows is not going to add any route in the routing table?

Regards,

Deepak Kumar

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!

Hi 

I made a big mistake in configuration. I analysis all packets and found that Router is not sending the "Router Advertising" packet. So I checked the full configuration and found 

ipv6 multicast-routing

instead of 

ipv6 unicast-routing

Thanks all,

Deepak Kumar

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!

Ahsan Bashir
Level 1
Level 1

Do you use -6 option in ping command ?

Review Cisco Networking for a $25 gift card