cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4114
Views
0
Helpful
7
Replies

DHCP server not reusing expired leases

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?

7 Replies 7

Gary Paciello
Level 1
Level 1

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.

 

 

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?

The issue is resolved with the latest firmware 1.4.0.88.

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?

Hi,

I've just upgraded to newest firmware and that was it. Did you experience some other issue?

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.

 

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.

 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Switch products supported in this community
Cisco Business Product Family
  • CBS110
  • CBS220
  • CBS250
  • CBS350
Cisco Switching Product Family
  • 110
  • 200
  • 220
  • 250
  • 300
  • 350
  • 350X
  • 550X