01-11-2011 10:31 PM - edited 03-06-2019 02:56 PM
I just excluded a bunch of addresses from my 6509 AP DHCP scope and then rebooted my APs. They are still getting the excluded addresses from the scope. Anyone know why?
Solved! Go to Solution.
01-12-2011 12:49 AM
Patrick,
I agree with that. In any case, a particular IP address leased to a client depends on various factors, including its MAC address, its Client ID (an opaque value), whether it already has a lease recorded in the lease database, whether the client itself remembers its last IP address and requests it directly on its next boot via DHCPREQUEST (as opposed to going from scratch via DHCPDISCOVER), etc. There are so many variables that giving a straightforward answer is probably not possible - it would require sniffing the DHCP traffic and debugging the DHCP server process on the IOS to exactly pinpoint what was going on.
In any case, thank you very much for your generous ratings!
Best regards,
Peter
01-11-2011 11:10 PM
I had a similiar issue once in the past. In my case, bouncing the interface resolved the problem.
01-11-2011 11:11 PM
bouncing the switchport?
01-11-2011 11:15 PM
In my case it was the fastethernet interface on a 2911 router.
01-11-2011 11:16 PM
was that the interface that connected to the AP?
01-11-2011 11:15 PM
I failed to mention that most of them did get the correct addresses.
01-11-2011 11:18 PM
No there was a small switching infrastructure to which several AP's were connected, but the problem was prevelant across wired and wireless connections.
01-11-2011 11:20 PM
Hello,
I believe that this happens because in the lease database on your 6509, the IP addresses are still recorded as bound to the MAC or Client IDs of your APs. When a station requests an IP address, the DHCP server first looks into the lease database to see whether the station has already been assigned an IP address, and if not, it only then allocates a new lease, taking the exclude list into account. As the leased addresses were allocated before the exclude list was configured, simply configuring the exclude list and rebooting the clients may not help.
You will need to clear the lease database using the command clear ip dhcp binding X.X.X.X to remove the offending addresses.
Best regards,
Peter
01-11-2011 11:27 PM
That did it but, why are only some of the APs keeping the excluded ones?
01-12-2011 12:23 AM
Patrick,
Did the keep their old IP addresses even after you cleared the DHCP binding database and reloaded them?
Best regards,
Peter
01-12-2011 12:27 AM
no, they got new ones after I cleared them. Thanks for the tip. It just seems strange that only a
few kept their old address.
01-12-2011 12:49 AM
Patrick,
I agree with that. In any case, a particular IP address leased to a client depends on various factors, including its MAC address, its Client ID (an opaque value), whether it already has a lease recorded in the lease database, whether the client itself remembers its last IP address and requests it directly on its next boot via DHCPREQUEST (as opposed to going from scratch via DHCPDISCOVER), etc. There are so many variables that giving a straightforward answer is probably not possible - it would require sniffing the DHCP traffic and debugging the DHCP server process on the IOS to exactly pinpoint what was going on.
In any case, thank you very much for your generous ratings!
Best regards,
Peter
01-12-2011 12:51 AM
Thanks, Peter.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide