06-14-2014 06:12 AM
Hi,
I'm using DHCP server on SF300 switches for assigning IPs to guest clients.
DHCP lease expiration time is set to 1h, start address is 192.168.1.11 and end address is 192.168.1.20.
SF300 switch assigns all 10 IP addresses to different clients until pool gets exhausted. After 1 hour all DHCP leases become expired and I can verify this on address binding page.
Problem is new clients are connected after let's say 2 hours and they can't get IP address from SF300 switch because pool is exhausted and switch don't delete/reuse expired DHCP leases.
Is there any way to force switch to reuse or delete obsolete DHCP leases so new clients would be able to get valid IP address?
06-15-2014 07:40 AM
Hello there,
You can use the command (in privileged EXEC) clear ip dhcp binding X.X.X.X or just an * (asterisk) but if you use just the asterisk instead of an specific ip addresses, ALL bindings will be cleared, including active ones.
Hope this helps.
06-15-2014 08:29 AM
Hi,
thank you for information. I know expired bindings can be deleted from privileged cli or web interface but I want this to be done automatically.
Any idea?
08-29-2014 04:23 AM
The issue is resolved with the latest firmware 1.4.0.88.
08-29-2014 12:34 PM
Is this something you had to configure to work in the new firmware or did you just upgrade to the the 1.4.0.88 firmware and dhcp server starting to automatically reuse expired lease addresses?
08-29-2014 01:27 PM
Hi,
I've just upgraded to newest firmware and that was it. Did you experience some other issue?
08-31-2014 02:36 AM
No, I haven't been able to upgrade yet, but I was wondering if there were any specific configuration commands to be applied to the dhcp settings after upgrading to make this work or if it was simply the change in firmware that fixed your problem.
Thanks.
08-31-2014 07:56 AM
I had to upgrade boot code before the upgrade of firmware. That was the only catch.
After the upgrade the dhcp server started reusing IP addresses of expired DHCP leases.
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