Regarding the dhcp lease time
dhcp1 at thehobsons.co.uk
Mon May 13 19:26:35 UTC 2019
Murali Krishna <muralikrishch at gmail.com> wrote:
> I agree to your comments that rather than the usecase this is a testcase.
OK, basically you are breaking the system and the system responds in a correspondingly broken fashion.
Neither the DHCP protocol nor the server & client are designed to handle "time goes backwards by 5 years" - what happens if you do that is undefined.
If you go to a doctor and say something like "when I do X, it hurts", the doctor is likely to suggest that you don't do X.
In the same manner, my advice would be to stop breaking things by altering the clock. Or if you really must alter the clock, stop the DHCP server beforehand and keep it stopped until you've reset the clock back to the correct time.
And don't expect correct DHCP operations with the server using a self-assigned link-local address.
More information about the dhcp-users