10-15-2011 02:42 PM - edited 03-07-2019 02:49 AM
Current configuration on a cisco 2921 (Verson 15.0(1r)M9 Release (fc1)):
ip dhcp pool Voice
network 10.21.179.0 255.255.255.128
default-router 10.21.179.1
option 150 ip 10.21.179.196 10.21.179.200
Issue is when a device looks to renew their lease no IP's are available. Debug ip dhcp events tells me the dhcp pool is exhausted. It appears that when the devices, Cisco phones in this case, goes to renew their lease, they do not renew with the current IP they already have. This causes the pool to become exhausted of ip addresses. For some reason, the router holds the IP's in reserved status and will not reassign them back out for a specific amout of time.
Anyone have any ideas?
10-15-2011 07:27 PM
Can you post the full running config ?
10-16-2011 01:08 AM
Hi,
If you haven't got thousands of phones then assign them static bindings for their specific mac-addresses
ip dhcp pool PHONE1
host x.x.x.x
hardware-address xxxx.xxxx.xxxx
and so on for each phone keeping the parent pool with all the settings then each child pool will inherit these: default-router, tftp server,...
Regards.
Alain.
10-16-2011 02:13 AM
In addition to what others have suggested, why not shorten the DHCP lease time?
Sent from Cisco Technical Support iPhone App
10-17-2011 12:02 PM
You really have two choices:
Decrease your dhcp timer.
Increase your dhcp scope.
If you have more devices than your scope allows, you're going to see this problem over and over.
If you don't, then just decreasing the time the router keeps the mac address assigned to the ip will do the trick.
Ven
10-17-2011 12:34 PM
What's the command for decreasing the dhcp timer.
Tac suggested I use the command "no ip dhcp conflict logging."
10-17-2011 08:52 PM
hi ryan,
thanks for the rating! kindly use the DHCP command below. default is 24 hours or 1 day.
Router(dhcp-config)#lease
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