cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
15119
Views
0
Helpful
11
Replies

Router DHCP server not giving IP address

amb1s1
Level 1
Level 1

Hi, I have a 3911 router with a 1242 AP. The problem that I have is that when the user is trying to connect, the user get the OS Ip address 169.254.168.154 and I see that when I do the "show dot11 association" command, but when I do sh ip dhcp binding on the  router I see

172.19.9.141        0100.18de.74db.14       Jan 31 2011 11:14 AM    Automatic

The router is seeing as if the router gave the ip address to the user, but the reality the user was assigne the OS ip address 169.

I did "debug ip dhcp server events" and I got the following:

Jan 31 11:09:06.752 EST: DHCPD: Seeing if there is an internally specified pool class:
Jan 31 11:09:06.756 EST:   DHCPD: htype 1 chaddr 0100.18de.74db.14

Jan 31 11:09:06.756 EST:   DHCPD: remote id 020a00000a58218400000000
Jan 31 11:09:06.756 EST:   DHCPD: circuit id 00000000
Jan 31 11:09:22.748 EST: DHCPD: Sending notification of DISCOVER:
Jan 31 11:09:22.752 EST:   DHCPD: htype 1 chaddr 0100.18de.74db.14

Jan 31 11:09:22.752 EST:   DHCPD: remote id 020a00000a58218400000000
Jan 31 11:09:22.752 EST:   DHCPD: circuit id 00000000
Jan 31 11:09:22.752 EST: DHCPD: Seeing if there is an internally specified pool class:
Jan 31 11:09:22.752 EST:   DHCPD: htype 1 chaddr 0100.18de.74db.14

Jan 31 11:09:22.752 EST:   DHCPD: remote id 020a00000a58218400000000
Jan 31 11:09:22.752 EST:   DHCPD: circuit id 00000000
Jan 31 11:09:22.752 EST: DHCPD: Sending notification of DISCOVER:
Jan 31 11:09:22.752 EST:   DHCPD: htype 1 chaddr 0100.18de.74db.14

Jan 31 11:09:22.752 EST:   DHCPD: remote id 020a00000a58218400000000
Jan 31 11:09:22.752 EST:   DHCPD: circuit id 00000000
Jan 31 11:09:22.756 EST: DHCPD: Seeing if there is an internally specified pool class:
Jan 31 11:09:22.756 EST:   DHCPD: htype 1 chaddr 0100.18de.74db.14

Jan 31 11:09:22.756 EST:   DHCPD: remote id 020a00000a58218400000000
Jan 31 11:09:22.756 EST:   DHCPD: circuit id 00000000
Jan 31 11:10:46.710 EST: DHCPD: checking for expired leases.

the following are my config on the router:

no ip dhcp use vrf connected
ip dhcp excluded-address 172.19.9.137 172.19.9.140

!

!

ip dhcp pool DM_Access
   network 172.19.9.136 255.255.255.248
   dns-server 172.20.50.215 172.20.50.217
   default-router 172.19.9.137
   domain-name corp.gaptea.com
   lease 0 2

. Thanks

11 Replies 11

cadet alain
VIP Alumni
VIP Alumni

Hi,

to which nic does 00.18de.74db.14  MAC correspond?

by the way your DHCP scope is really small:only 2 addresses

network 172.19.9.136 255.255.255.248

this gives hosts from .137 to .142 included but you are excluding:

ip dhcp excluded-address 172.19.9.137 172.19.9.140

from .137 to .140 included  which leaves .141 and .142

Is it on purpose?

Regards.

Alain.

Don't forget to rate helpful posts.

The NIC is from the User PC that is having problems and yes the 2 ip

is on purpose.

can you clear dhcp bindings then renew lease on client and post the debug ip dhcp server events + debug ip dhcp server packets.

Regards.

Alain.

Don't forget to rate helpful posts.

This is the Latest Debug that I did. I see that it is showing; DHCPD: Pool DM_Access has no parent.

Feb 11 15:08:11.394 EST: %SEC-6-IPACCESSLOGP: list 167 permitted udp 172.19.9.10(67) -> 172.19.9.12(67), 10 packets
Feb 11 15:08:20.902 EST: DHCPD: Sending notification of DISCOVER:
Feb 11 15:08:20.902 EST:   DHCPD: htype 1 chaddr 0018.de14.db74
Feb 11 15:08:20.902 EST:   DHCPD: remote id 020a00000a580d8400000000
Feb 11 15:08:20.902 EST:   DHCPD: circuit id 00000000
Feb 11 15:08:20.902 EST: DHCPD: DHCPDISCOVER received from client 0100.18de.14db.74 through relay 172.19.9.10.
Feb 11 15:08:20.902 EST: DHCPD: Seeing if there is an internally specified pool class:
Feb 11 15:08:20.902 EST:   DHCPD: htype 1 chaddr 0018.de14.db74
Feb 11 15:08:20.902 EST:   DHCPD: remote id 020a00000a580d8400000000
Feb 11 15:08:20.902 EST:   DHCPD: circuit id 00000000
Feb 11 15:08:20.902 EST: DHCPD: Sending DHCPOFFER to client 0100.18de.14db.74 (172.19.9.14).
Feb 11 15:08:20.902 EST: DHCPD: child  pool: 172.19.9.8 / 255.255.255.248 (DM_Access)
Feb 11 15:08:20.902 EST: DHCPD: pool DM_Access has no parent.
Feb 11 15:08:20.902 EST: DHCPD: child  pool: 172.19.9.8 / 255.255.255.248 (DM_Access)
Feb 11 15:08:20.902 EST: DHCPD: pool DM_Access has no parent.
Feb 11 15:08:20.902 EST: DHCPD: child  pool: 172.19.9.8 / 255.255.255.248 (DM_Access)
Feb 11 15:08:20.902 EST: DHCPD: pool DM_Access has no parent.
Feb 11 15:08:20.902 EST: DHCPD: unicasting BOOTREPLY for client 0018.de14.db74 to relay 172.19.9.10.
Feb 11 15:08:20.906 EST: DHCPD: Sending notification of DISCOVER:
Feb 11 15:08:20.906 EST:   DHCPD: htype 1 chaddr 0018.de14.db74
Feb 11 15:08:20.906 EST:   DHCPD: remote id 020a00000a580d8400000000
Feb 11 15:08:20.906 EST:   DHCPD: circuit id 00000000
Feb 11 15:08:20.906 EST: DHCPD: DHCPDISCOVER received from client 0100.18de.14db.74 through relay 172.19.9.11.
Feb 11 15:08:20.906 EST: DHCPD: Seeing if there is an internally specified pool class:
Feb 11 15:08:20.906 EST:   DHCPD: htype 1 chaddr 0018.de14.db74
Feb 11 15:08:20.906 EST:   DHCPD: remote id 020a00000a580d8400000000
Feb 11 15:08:20.906 EST:   DHCPD: circuit id 00000000
Feb 11 15:08:20.906 EST: DHCPD: Sending DHCPOFFER to client 0100.18de.14db.74 (172.19.9.14).
Feb 11 15:08:20.910 EST: DHCPD: child  pool: 172.19.9.8 / 255.255.255.248 (DM_Access)
Feb 11 15:08:20.910 EST: DHCPD: pool DM_Access has no parent.
Feb 11 15:08:20.910 EST: DHCPD: child  pool: 172.19.9.8 / 255.255.255.248 (DM_Access)
Feb 11 15:08:20.910 EST: DHCPD: pool DM_Access has no parent.
Feb 11 15:08:20.910 EST: DHCPD: child  pool: 172.19.9.8 / 255.255.255.248 (DM_Access)
Feb 11 15:08:20.910 EST: DHCPD: pool DM_Access has no parent.
Feb 11 15:08:20.910 EST: DHCPD: unicasting BOOTREPLY for client 0018.de14.db74 to relay 172.19.9.11.
Feb 11 15:08:23.902 EST: DHCPD: Sending notification of DISCOVER:
Feb 11 15:08:23.902 EST:   DHCPD: htype 1 chaddr 0018.de14.db74
Feb 11 15:08:23.902 EST:   DHCPD: remote id 020a00000a580d8400000000
Feb 11 15:08:23.902 EST:   DHCPD: circuit id 00000000
Feb 11 15:08:23.902 EST: DHCPD: DHCPDISCOVER received from client 0100.18de.14db.74 through relay 172.19.9.11.
Feb 11 15:08:23.902 EST: DHCPD: Seeing if there is an internally specified pool class:
Feb 11 15:08:23.902 EST:   DHCPD: htype 1 chaddr 0018.de14.db74
Feb 11 15:08:23.902 EST:   DHCPD: remote id 020a00000a580d8400000000
Feb 11 15:08:23.902 EST:   DHCPD: circuit id 00000000
Feb 11 15:08:23.902 EST: DHCPD: Sending DHCPOFFER to client 0100.18de.14db.74 (172.19.9.14).
Feb 11 15:08:23.902 EST: DHCPD: child  pool: 172.19.9.8 / 255.255.255.248 (DM_Access)
Feb 11 15:08:23.902 EST: DHCPD: pool DM_Access has no parent.
Feb 11 15:08:23.902 EST: DHCPD: child  pool: 172.19.9.8 / 255.255.255.248 (DM_Access)
Feb 11 15:08:23.902 EST
: DHCPD: pool DM_Access has no parent.
Feb 11 15:08:23.902 EST: DHCPD: child  pool: 172.19.9.8 / 255.255.255.248 (DM_Access)
Feb 11 15:08:23.902 EST: DHCPD: pool DM_Access has no parent.
Feb 11 15:08:23.902 EST: DHCPD: unicasting BOOTREPLY for client 0018.de14.db74 to relay 172.19.9.11.
Feb 11 15:08:23.906 EST: DHCPD: Sending notification of DISCOVER:
Feb 11 15:08:23.906 EST:   DHCPD: htype 1 chaddr 0018.de14.db74
Feb 11 15:08:23.906 EST:   DHCPD: remote id 020a00000a580d8400000000
Feb 11 15:08:23.906 EST:   DHCPD: circuit id 00000000
Feb 11 15:08:23.906 EST: DHCPD: DHCPDISCOVER received from client 0100.18de.14db.74 through relay 172.19.9.10.
Feb 11 15:08:23.906 EST: DHCPD: Seeing if there is an internally specified pool class:
Feb 11 15:08:23.906 EST:   DHCPD: htype 1 chaddr 0018.de14.db74
Feb 11 15:08:23.906 EST:   DHCPD: remote id 020a00000a580d8400000000
Feb 11 15:08:23.906 EST:   DHCPD: circuit id 00000000
Feb 11 15:08:23.906 EST: DHCPD: Sending DHCPOFFER to client 0100.18de.14db.74 (172.19.9.14).
Feb 11 15:08:23.906 EST: DHCPD: child  pool: 172.19.9.8 / 255.255.255.248 (DM_Access)

Hi,

Your client is not on the same subnet as the DHCP server and there is a dhcp relay between and the server is  offering an IP address

corresponding to the address of the relay where the DHCP discover was sent.(there are 2 different giaddress here)

But we don't see any requests from client for the proposed IP and no ack from server.

Is your relay a Cisco gear? if so can you post sh run | s dhcp and can you debug dhcp ont it qat the same time as on server.

Regards.

Alain.

Don't forget to rate helpful posts.

You see that it is in a different subnet is because we had the same problem in another branch, so the debug output it shwoing a different subnet. I would like to know what is a no parent child means, thanks

Hi,

After some research her is what i've found: your manual binding is your child pool and it should be a part of a normal pool: the parent pool

So eg you have a parent pool of 172.16.3.0/24 and you want to provide host A with 172.16.3.20/24 then this is your child pool.

Regards.

Alain.

Don't forget to rate helpful posts.

So going by my config:

no ip dhcp use vrf connected
ip dhcp excluded-address 172.19.9.137 172.19.9.140

!

!

ip dhcp pool DM_Access
   network 172.19.9.136 255.255.255.248
   dns-server 172.20.50.215 172.20.50.217
   default-router 172.19.9.137
   domain-name corp.gaptea.com
   lease 0 2

.

How can I create a parent Pool. Thanks

Hi,

You don't need to create one because this is surely not the problem.

Can you post ipconfig/all then deactivate and reactivate user NIC while debugging dhcp on the relay agent if you've got one and the dhcp server:

debug ip dhcp server events and debug ip dhcp server packets

Do you have switches in between? have they got dhcp snooping enabled?

Can you do sh access-list on the server and relay before and after the NIC retries to get a lease.

Regards.

Alain.

Don't forget to rate helpful posts.

Hello,

I know this is a really old post/thread, but I have the same problem, so thought I'd see if I could use this thread.

 

I have a few wireless access points, autonomous, and they are in subnet 192.168.37.0

 

I want clients (associations) that connect to an AP to get an IP address depending on what device it is.

let's say I want  one group of devices in 192.168.2.0, another one in 192.168.3.0 and "everything else"in 192.168.4.0.

 

with dhcp enabled on the router.

When I assign an address to a client/associatin in the same subnet as the APs are (192.168.37.0) it just works.

 

However, if I make a dhcp pool (static)  with static binding  MAC/IP,  I have the same problem:

Apr 27 15:09:36.561: DHCPD: client's VPN is .
Apr 27 15:09:36.561: DHCPD: No option 125
Apr 27 15:09:36.561: DHCPD: Sending notification of DISCOVER:
Apr 27 15:09:36.561: DHCPD: htype 1 chaddr 58ef.689e.9981
Apr 27 15:09:36.561: DHCPD: remote id 020a0000c0a8250101000025
Apr 27 15:09:36.561: DHCPD: circuit id 00000000
Apr 27 15:09:36.561: DHCPD: DHCPDISCOVER received from client 58ef.689e.9981 on interface GigabitEthernet0/1.37.
Apr 27 15:09:36.561: DHCPD: Seeing if there is an internally specified pool class:
Apr 27 15:09:36.561: DHCPD: htype 1 chaddr 58ef.689e.9981
Apr 27 15:09:36.561: DHCPD: remote id 020a0000c0a8250101000025
Apr 27 15:09:36.561: DHCPD: circuit id 00000000
Apr 27 15:09:36.561: DHCPD: there is no address pool for 192.168.37.1.
Apr 27 15:09:36.561: DHCPD: setting giaddr to 192.168.37.1.
Apr 27 15:09:36.561: DHCPD: BOOTREQUEST from 58ef.689e.9981 forwarded to 192.168.1.1.

 

The pool for DHCP to use is there, I think it just doesn't know to use it.

The APs are connected to a Cisco 2960 switch, and the ports the APs are connected to are trunks.

 

I used to have an small business router, an RVC320, where connecting an AP have it use a different subnet then the cleints connecting to it "miraculously" just worked.

 

I am trying to do the same thing an a Cisco 2900 router  with Cisco 2960 switches.

 

thanks,

 

Ron

 

Hi Alain,

Just checking if it is normal to see following debug messages if there is no dhcp pool configured on the router ?

001549: Jun  7 17:24:29.330 UAE: DHCPD: Seeing if there is an internally specified pool class:

Regards,

Akhtar

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card