Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to force ALL of the DHCP Clients to renew?

Tags:

dhcp

renewal

Is there any network broadcast call or something that can force all the connected DHCP clients to renew their addresses immediately?

And if not, why not? Surely this functionality has been desired by DHCP administrators from the date it was born. It makes changing a router address on a big network very hard without pervasive client automation.

like image 431
Mike Wise Avatar asked Mar 07 '15 16:03

Mike Wise


People also ask

How do I force all devices to Renew DHCP lease?

To force the AP to release its DHCP-assigned IP address, click Release DHCP. This disconnects the user from web interface as the system reverts to its default IP address. Log in to the device using the default IP address (192.168. 0.1) and click on Renew DHCP to request a new lease from the DHCP server.

How do I force DHCP to get a new IP?

Click Start->Run, type cmd and press Enter. Type ipconfig /release at the prompt window, press Enter, it will release the current IP configuration. Type ipconfig /renew at the prompt window, press Enter, wait for a while, the DHCP server will assign a new IP address for your computer.

How do I refresh DHCP lease?

Type command in the Open: box and press Return. In the DOS window type ipconfig /release and press Return. In the DOS window type ipconfig /renew and press Return. Type exit to close the DOS window.


1 Answers

It is not possible without letting the network down and up at the client network interface.

Theoretically, the DHCP server can send a FORCERENEW message to all connected clients. FORCERENEW is described at RFC3203. (See also https://serverfault.com/a/569869/107832)

Unfortunately, the famous ISC DHCP Server does not support it:

  • no current plans for RFC3203 support, also because of the lack of support for 3118 authentication
  • no real interested by users

RFC 3315 states in section 19.4.1 reconfigure messages. This is, however, for IPv6 only. A message states that DOCSIS 3.0 "requires Reconfigure support (for DHCPv6) as specified in RFC3315"

like image 135
koppor Avatar answered Sep 28 '22 14:09

koppor