07-27-2013 06:34 AM - edited 03-07-2019 02:37 PM
Hi,
I have DHCP on my cisco WAN 881 router, but everytime router does not issue DHCP in order.
so either i have restart the router every day or i have to clear clear arp & Clear ip dhcp binding.
Can any one help me on this??
Thanks in advance.
Regards,
07-28-2013 03:11 AM
Hello
can you elaborate on what you mean by alocating addresses in order?
what is your requirement for this?
res
Paul
Sent from Cisco Technical Support Android App
08-01-2013 04:02 AM
Hi,
I have configured DHCP range from 192.168.0.10 192.168.0.100
In this range cisco router always skips few IP's eventhough they are not allocated to user.
Evertime DHCP range gets full and needs restart or clearing DHCP range manually.
Hope you understood my problem.
Regards,
08-01-2013 04:36 AM
Hi Jeevan,
I have configured DHCP range from 192.168.0.10 192.168.0.100
In this range cisco router always skips few IP's eventhough they are not allocated to user.
can you please paste the configuration of DHCP on your rotuer? You have mentioned that some of the IPs are not even allocated, maybe there is a misconfiguration problem.
Evertime DHCP range gets full and needs restart or clearing DHCP range manually.
If you want to reduce the lease time, use this command:
Router(dhcp-config)# lease {days[hours][minutes] | infinite}
Best regards,
Jan
08-01-2013 09:44 AM
Hi,
Below is the config..
ip dhcp excluded-address 192.168.0.1 192.168.0.9
ip dhcp excluded-address 192.168.0.16
ip dhcp excluded-address 192.168.0.20
ip dhcp excluded-address 192.168.0.26
ip dhcp excluded-address 192.168.0.31 192.168.0.34
ip dhcp excluded-address 192.168.0.38
ip dhcp excluded-address 192.168.0.50
ip dhcp excluded-address 192.168.0.100 192.168.0.254
ip dhcp pool Cisco
network 192.168.0.0 255.255.255.0
default-router 192.168.0.100
dns-server 192.168.0.100 192.168.0.16
lease infinite
update arp
Router sikps many IP's in the range.
Regards,
08-01-2013 10:02 AM
Hi Jeevan,
well, you do have a lot of IP addresses excluded from the usable range, to be honest. If my calculations are correct, precisely 82 addresses can be used for hosts.
The next major problem is the lease time of infinite. That way, the bindings will never be flushed (if not done manually through the clear command or by restarting the router). What about trying the command I have provided in the previous post? For instance:
Router(dhcp-config)# lease 0 0 30
That way, the lease time will be set to 30 minutes. After that, it will age out dynamically.
How many hosts do you have on your network and why do you exclude so many addresses?
The router should go in the order, I believe, which addresses are skipped for example? Can you verify this by using show ip dhcp binding?
Best regards,
Jan
08-01-2013 12:39 PM
hello
if.your dhcp scope.is being exhausted either drop the lease time to a short interval or extend the private scope to a possible 23 bit mask which will give you another 254 hosts.
you will also need to change the svi ip mask ro accomodate this new value
res
paul
Sent from Cisco Technical Support Android App
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