[ntp:questions] Creating a multi-minute offset

A C agcarver+ntp at acarver.net
Thu Feb 23 20:21:25 UTC 2012


On 2/22/2012 23:56, David Woolley wrote:
> A C wrote:
>> Ok, so here's an odd question but I had an amusing thought so I want
>> to know:
>>
>> Is it possible to force a client to synchronize with network servers
>> but also maintain a time offset of several minutes from those servers?
>
> If this isn't just a special case of timezones, you would need to modify
> the OS interface layer of the code to shift the time when reading and
> writing the system clock, so that the core of ntpd sees the correct time.

Yeah, it's not a matter of time zone, it's trying to force an absolute 
time lag on one machine as part of a simulation.  The idea was that the 
clocks should run at the same speed but one of them needs to be shifted 
from the other.

It was a thought but obviously it doesn't work.


More information about the questions mailing list