What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

How to renew or drop DHCP lease

lwizard

Regular Contributor
I have to set a MAC address with a reserved IP.
I can't because that IP was leased to another MAC, so I have to wait till the end of lease time.

I think I could reboot router..

but just for learning.. is there a telnet command to force DHCP to renew lease and to drop lease not in use?

Thanks!
 
If I'm remembering correctly; rebooting is the only option here.
 
Disable & re-enable WAN should renew DHCP lease
 
Would resetting the WAN port renew the LAN DHCP leases too?
 
Okay, keep this in mind. The way to have a client release an IP is by rebooting (or power-cycle it, if no way to reboot) the client, having changed the IP for it's MAC address in the router. That way you don't have to wait for the lease to expire.

So these steps should help:

1. Change the IP for MAC address in the router that you want to release for the other client to use.

2. Reboot or power-cycle the above client with the new IP set in the router, and the client will now have the IP address that you just set. So the IP that it used to have is now available for re-assignment.

3. Set the IP address in the router that you just released above for the client that you want to have it. Reboot or power-cycle this client.

The client that you want to have the IP address will now have it.

Remember that if you've set any static addresses in the clients, they'll also need to be change to correspond to the new addresses that you'd like the clients to have. If they're just reserved addresses in the router, and the clients are set up for DHCP, then you're fine.
 
Last edited:
Once a DHCP server provides a lease, there is no standard method for that server to revoke the lease. Only clients can release their own lease afterward.
 
ipconfig

Can't you get on the PC with the IP address assigned to it, go to command prompt, type in ipconfig /release and then type in ipconfig /renew?
 
Can't you get on the PC with the IP address assigned to it, go to command prompt, type in ipconfig /release and then type in ipconfig /renew?

A lot of wireless devices aren't computers.
 
exact! It was a multimedia device. I have changed from it's wirless interface to ethernet and wanted to reassign reserved IP to new MAC.

It was only a matter of curiosity.

Thank to Merlin for more exaustive answer..
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top