cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2576
Views
0
Helpful
2
Replies

IPv6 DHCP: Matching pool cannot be found

Netmart
Level 1
Level 1

Hello, 

I was wondering, if someone could please take a look at the attached config including logs.

Basically, I wanted to set up a simple dhcpv6  topology:

dhcpv6 RTR----Relay----Client.

 

For some reason client does not receive DHPCv6 address. At dhcpc6 router the following message is captured: IPv6 DHCP: Matching pool cannot be found

 

Please advise.

 

Thanks.

2 Replies 2

Harold Ritter
Cisco Employee
Cisco Employee

Here's a few things you should change in the config.

 

Server:

You should have a pool that correspond to the link address of the router interface facing the client (2001:db8:200::1)

 

ipv6 dhcp pool NET200
address prefix 2001:DB8:200::/64
dns-server 2001:DB8:ABCD::1
dns-server 2001:DB8:ABCD::2
domain-name njit.com

 

Client:

- You do not need ipv6 address autoconfig, unless you need to acquire an address via SLAAC as well as DHCP. Only dhcp should be sufficient.

- If you want to simulate a host on the client, you should remove "ipv6  unicast-routing", which turns the client into a router.

- Do you really need prefix delegation (PD)? If so, you need to configure a prefix delegation pool on the server. If not, remove the "ipv6 dhcp client pd NET100" from the client.

 

Regards, 

 

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

Netmart
Level 1
Level 1

Thank you Harald.

Following your suggestion, it seems that DHCP server is now assigning IPv6 address:

 

DHCPv6 setup:

login on-success log
ipv6 unicast-routing
ipv6 dhcp pool NET100
address prefix 2001:DB8:100::/64
link-address 2001:DB8:200::1/64
dns-server 2001:DB8:ABCD::1
dns-server 2001:DB8:ABCD::2
domain-name cisco.com


interface GigabitEthernet1
no ip address
negotiation auto
ipv6 address 2001:DB8:23::3/64
ipv6 enable
ipv6 dhcp server
no mop enabled
no mop sysid

------------------------------

DHCPserver#sh ipv6 dhcp binding
Client: FE80::E78:7AFF:FE65:6F00
DUID: 00030001001EE56F0700
Username : unassigned
VRF : default
IA NA: IA ID 0x00070001, T1 43200, T2 69120
Address: 2001:DB8:100:0:ECD2:9AF0:B9EA:A63A
preferred lifetime 86400, valid lifetime 172800
expires at Apr 26 2020 02:48 AM (172627 seconds)
DHCPserver#

 

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

 

lient2#debug ipv6 dhcp
IPv6 DHCP debugging is on
Client2#
*Apr 24 02:33:36.315: IPv6 DHCP: Sending SOLICIT to FF02::1:2 src FE80::E78:7AFF:FE65:6F00 on GigabitEthernet1
*Apr 24 02:33:36.325: IPv6 DHCP: Received ADVERTISE message
*Apr 24 02:33:36.325: IPv6 DHCP: Received ADVERTISE from FE80::E78:7AFF:FE33:BF00 on GigabitEthernet1
*Apr 24 02:33:36.325: IPv6 DHCP: Adding server FE80::E78:7AFF:FE33:BF00
*Apr 24 02:33:36.325: IPv6 DHCP: Sending REQUEST to FF02::1:2 src FE80::E78:7AFF:FE65:6F00 on GigabitEthernet1
*Apr 24 02:33:36.331: IPv6 DHCP: Received REPLY message
*Apr 24 02:33:36.331: IPv6 DHCP: Received REPLY from FE80::E78:7AFF:FE33:BF00 on GigabitEthernet1
*Apr 24 02:33:36.332: IPv6 DHCP: Processing options
*Apr 24 02:33:36.332: IPv6 DHCP: Adding address 2001:DB8:100:0:ECD2:9AF0:B9EA:A63A/128 to GigabitEthernet1
*Apr 24 02:33:36.336: IPv6 DHCP: T1 set to expire in 43200 seconds
*Apr 24 02:33:36.336: IPv6 DHCP: T2 set to expire in 69120 seconds
*Apr 24 02:33:36.336: IPv6 DHCP: Configuring DNS server 2001:DB8:ABCD::1
*Apr 24 02:33:36.344: IPv6 DHCP: Table ID: 0 and VRF_name:
*Apr 24 02:33:36.344: IPv6 DHCP: Configuring DNS server 2001:DB8:ABCD::2
*Apr 24 02:33:36.344: IPv6 DHCP: Table ID: 0 and VRF_name:
*Apr 24 02:33:36.344: IPv6 DHCP: Configuring domain name njit.com
*Apr 24 02:33:36.344: IPv6 DHCP: DHCPv6 address changes state from REQUEST to OPEN (ADDR_REPLY_RECEIVED) on GigabitEthernet1
*Apr 24 02:33:37.861: IPv6 DHCP: Sending SOLICIT to FF02::1:2 src FE80::E78:7AFF:FE65:6F00 on GigabitEthernet1
*Apr 24 02:33:37.873: IPv6 DHCP: Received ADVERTISE message
*Apr 24 02:33:37.873: IPv6 DHCP: Received ADVERTISE from FE80::E78:7AFF:FE33:BF00 on GigabitEthernet1
*Apr 24 02:33:37.873: IPv6 DHCP: Received NoPrefixAvail - ignoring
*Apr 24 02:33:37.874: IPv6 DHCP: Discarding message due to parse error
*Apr 24 02:33:37.874: IPv6 DHCP: Removing server FE80::E78:7AFF:FE33:BF00
*Apr 24 02:34:07.796: IPv6 DHCP: Sending SOLICIT to FF02::1:2 src FE80::E78:7AFF:FE65:6F00 on GigabitEthernet1
*Apr 24 02:34:07.808: IPv6 DHCP: Received ADVERTISE message
*Apr 24 02:34:07.808: IPv6 DHCP: Received ADVERTISE from FE80::E78:7AFF:FE33:BF00 on GigabitEthernet1
*Apr 24 02:34:07.808: IPv6 DHCP: Received NoPrefixAvail - ignoring
*Apr 24 02:34:07.808: IPv6 DHCP: Discarding message due to parse error
*Apr 24 02:34:07.808: IPv6 DHCP: Removing server FE80::E78:7AFF:FE33:BF00
*Apr 24 02:34:37.352: IPv6 DHCP: Reached max retransimission count 10
*Apr 24 02:34:37.353: IPv6 DHCP: DHCPv6 changes state from SOLICIT to IDLE (TIMEOUT) on GigabitEthernet1.

 

 

Client2#sh ipv6 interface
GigabitEthernet1 is up, line protocol is up
IPv6 is enabled, link-local address is FE80::E78:7AFF:FE65:6F00
No Virtual link-local address(es):
Description: Connected to DHCPrelay
Stateless address autoconfig enabled
Global unicast address(es):
2001:DB8:100:0:ECD2:9AF0:B9EA:A63A, subnet is 2001:DB8:100:0:ECD2:9AF0:B9EA:A63A/128
2001:DB8:200:0:E78:7AFF:FE65:6F00, subnet is 2001:DB8:200::/64 [EUI/CAL/PRE]
valid lifetime 2591925 preferred lifetime 604725
Joined group address(es):
FF02::1
FF02::2
FF02::1:FF65:6F00
FF02::1:FFEA:A63A
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 advertised reachable time is 0 (unspecified)
ND advertised retransmit interval is 0 (unspecified)
ND router advertisements are sent every 200 seconds
ND router advertisements live for 1800 seconds
ND advertised default router preference is Medium
Hosts use stateless autoconfig for addresses.

 

Regards,

 

netmart