02-02-2016 07:05 AM - edited 03-08-2019 04:26 AM
We have a our DHCP server setup on one of our core switches for one of our smaller lesser used networks. It has been functioning fine until yesterday. It was behaving like we had run out of addresses. After doing some digging it "kinda" had.
When running show ip dhcp pool name, it shows Leased 51 / Excluded 184 / Total 254.
I have only excluded 20 of the addresses. ip dhcp excluded-address 10.x.x.1 10.x.x.20
What could cause the switch to exclude the other 164 addresses? Any insight would be greatly appreciated!
Solved! Go to Solution.
02-02-2016 07:42 AM
First thing I would do is remove the dhcp and re-apply it , 9 times out of 10 this fixes the issue
That's a decent enough image your on and obviously your config is ok if that's all in place
Other than that if its still the same I would change IOS version
02-02-2016 07:13 AM
Can you post the dhcp config off the switch, if its not set to exclude addresses and it is, you may have a software issue and show ip dhcp pool
also software version and switch model
02-02-2016 07:20 AM
02-02-2016 07:42 AM
First thing I would do is remove the dhcp and re-apply it , 9 times out of 10 this fixes the issue
That's a decent enough image your on and obviously your config is ok if that's all in place
Other than that if its still the same I would change IOS version
02-02-2016 07:46 AM
I will try that this afternoon when the pool is not needed. We are currently fine with addresses at the moment.
02-04-2016 03:28 AM
did re-applying the pool work or is it still showing excluded range
02-04-2016 07:31 AM
See if "clear ip dhcp conflict * " will recover addresses.
If for some reason a conflict has been detected, the DHCP will automatically block out the conflicting addresses - not sure if/when conflicting addresses are automatically released eventually.
02-05-2016 04:52 AM
I will try this when the ones that are currently using the excluded addresses have time to time out. But it makes complete sense as to why they would be excluded.
09-15-2016 02:32 PM
Hi dstafford90,
I have the same issue, what was the solution for you problem?? thanks a lot, regards!
09-16-2016 12:18 PM
Removing and readding the DHCP pool resolved our issue. We had some IPs that got excluded again but that was because they were still in use. After a few days I ran the "clear ip dhcp conflict *" command and that took care of those since they were no longer in use.
04-05-2023 08:51 AM
09-20-2023 02:21 PM
It doesn't look like they are ever released. My client had about half the DHCP pool excluded because of conflicts going back a year to the last reboot.
02-05-2016 04:49 AM
It cleared almost all of them. I checked the leases before I removed the pool and it had 19 leased. After re-adding there are 19 excluded. So I think what Pwwiddicombe said would be right as well. That it detected that those were already used and excluded them.
Thank you for your assistance!
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