Relinquish Lease - explanation
-
Hello guys,
Does anyone know what this function is used for?
Thanks in advance for your time! -
That would be to release the DHCP address. In Windows, I've occasionally found it necessary to release my address, as I was getting the wrong one when trying to connect to a different network. I don't know if it would ever be needed in FreeBSD though, as it wasn't written by Microsoft.
-
@JKnott What is the difference if I just press release WAN
And if I add the Relinquish Lease checkmark and then press release WAN
-
If you check that it should send a relinquish message to the server so that IP address becomes available for other clients.
-
@stephenw10 if I understand correctly in the first case when press release WAN and after that renew. it Will drop that IP address and get another one.
In the second case when you mark Relinquish Lease and press release WAN and after that renew it will send a packet that IP address free and get another one.
(As far as I understand there is no positive side for you but for the router of your ISP to know that IP address is free. Do i understand it correctly or not?) -
Yes if you're pulling a lease against an ISP server it probably ignores that anyway. It's more useful against a local DHCP server you control.
-
Release WAN : shuts down the DHCP client on WAN? and takes down the WAN interface.
Relinquish : also destroys the information about the current lease, so the next time WAN gets activated and DHCP client start, it will ask for a lease, and it will not ask for a preferred IP address, the one it had last time. The DCHP server can override the preferred request, and still assign another one.When you "Relinquish", the next time the DCP client starts, it will as for any available IP without preferences.
Just my 'MHO' of course.