Clear all DHCP leases
-
How do I get the router to reissue leases to connected devices? I hit the clear button by accident and only Static IP devices are showing now. no leases are being given out. I rebooted the router and nothing has changed.
-
@ama clients will renew their leases when its time to do so.. This is normally at around the 50% mark of their lease time.. Until it comes time for them to renew, they could care if the dhcp server is up or not.
You could force the client to renew its lease, simple reboot of the client will normally do that for sure. But you can also just run a command on the client to attempt to renew its lease. The specifics of the command or method would depend on the client.
I believe the default lease time is like 2 hours, but maybe you changed yours? Mine is set for 4 days.. So a client would not attempt to renew its lease until like 48 hours since it last got/renewed a lease.
-
@johnpoz Thank you very much John. So, there is no way on the router to flush and renew the client leases?
-
@johnpoz I rebooted a laptop, no lease renewal. I ran ipconfig release and renew and got nothing!!
-
@ama what does your lease show on the client? What does the dhcp log show?
If you released it, and it couldn't get a new lease - then it wouldn't be working, and most likely would give itself 169.254.x.x address
-
@ama said in Clear all DHCP leases:
So, there is no way on the router to flush and renew the client leases?
The server doesn't and can't take any initiate.
It's like a web server and the a web browser : you could update your web server with new pages and content, but it wouldn't reach out to all the browsers that were visiting it in the past, to update what they were looking at : the user has to open his browser, revisit your web server, and then see the new content.
The initiative to renew a lease is entire decided by the device that starts a DHCP client process, so it can renew the lease, or, if refused, get a new lease (new IP).
@ama said in Clear all DHCP leases:
I rebooted the router and nothing has changed.
The list with attributed leases will get populated over time, when the clients decides that its lease is at 50 % of the duration. It will renegotiate the lease, and this is what populates the DHCP server lease list.
-
@Gertjan Thank you for the valuable information. I ended up reloading the configuration file and started back from scratch. All is well now. Once again, Thank you for the support!