DHCP client protocol timing affected by NTP time change

Eugene Grosbein eugen at grosbein.net
Tue Aug 8 12:39:09 UTC 2017

08.08.2017 19:29, Pavel Zhukov wrote:

>>> I am experiencing an interesting problem with DHCP client timeouts.
>>> When the system boots up it set its date/time, starts DHCP client and NTP client.
>>> Only after the DHCP client interface is configured, the NTP client is able to access
>>> the NTP server.
>>> In my case, when NTP client adjusts the date/time it is set 12 hours back because
>>> of different time zone.
>> That's plain wrong and that's a root of your problem.
>> In no way a time zone difference should affect NTP time and kernel
>> time.
> Unfortunately it's not. Some systems keep local time in RTC.

They are asking for troubles. They should not do that.
dhcp code is not only one that would misbehave due to kernel time step back.

> Besides of that there are systems without RTC at all

Yes, and I have such system. They init kernel time with some constant in the past
at the boot time (like, 1 Jan 2000) and step time forward, not back.
So, they don't have this problem.

More information about the dhcp-users mailing list