[ntp:questions] offline machines' time synchronization

Dave Hart davehart at gmail.com
Thu May 24 03:36:58 UTC 2012


On Thu, May 24, 2012 at 3:22 AM, Ali Nikzad <nikzad.a at gmail.com> wrote:
> #ntp.conf
> #ip: 192.168.17.11
> driftfile /etc/ntp.drift

server 192.168.17.22

> tos cohort 1 orphan 11
> restrict source nomodify
> restrict default kod notrap nomodify nopeer noquery
> restrict 127.0.0.1
>
> #ntp.conf
> #ip: 192.168.17.22
>
> driftfile /etc/ntp.drift
> server 192.168.17.11
> tos cohort 1 orphan 11
> restrict source nomodify
> restrict default kod notrap nomodify nopeer noquery
> restrict 127.0.0.1
>
> But they are still not synchronized.

Alternatively you can use an automatic server discovery scheme in mesh
configuration.  For orphan mode to operate as intended, all
participants must see all others as direct peers.

If it goes well, one host will show refid LOCL and stratum 11, the
others will all be stratum 12.  If it doesn't work, please show ntpq
-c "rv 0 version" output.

Cheers,
Dave Hart


More information about the questions mailing list