[ntp:questions] [help]how to configure ntp in a private network and without extra refer clock source?
duanshuidao at hotmail.com
Fri Nov 16 08:21:54 UTC 2012
Thanks very much for your suggestions, the orphan mode seems woking perfectly.
meanwhile , I have another ntp question , maybe it is nothing with this threads.
I will open a new thread .
> From: Null at BlackList.Anitech-Systems.invalid
> To: questions at lists.ntp.org
> Date: Thu, 15 Nov 2012 09:47:53 -0800
> Subject: Re: [ntp:questions] [help]how to configure ntp in a private network and without extra refer clock source?
> David Woolley wrote:> Jun Hu wrote:
> >> remote refid st t when poll reach delay offset jitter
> >> ===================================================================
> >> x192.168.227.142 LOCAL(0) 11 u 2 64 377 0.274 61.575 24.412
> >> x192.168.227.148 LOCAL(0) 11 u 39 64 377 0.187 1820.54 23.696
> > Looks like it does reject both as falsetickers if their times are not
> > compatible. Compatible means that they have to agree within the maximum
> > error estimate based on the resolution of the source, the worst case
> > round trip asymmetry, and the allowance for drift since they last got
> > their time from a time server.
> They are walking away from each other;
> If you referenced _everything_ together they may walk away from UTC,
> but they should walk away together, instead of drifting apart.
> At extreme risk of sounding like a broken record, I'd try something like:
> # Start ntpd with -g, the -g will prevent a panic stop if the time needs to be steped when started
> # ntp.conf for ALL (Clients and/or Servers)
> tos cohort 1 orphan 11
> restrict default limited kod nomodify notrap
> restrict 127.0.0.1
> restrict source nomodify
> keys "/etc/ntp.keys" # e.g. contains: 123 M YOUR_MD5_KEY
> trustedkey 123
> manycastserver 126.96.36.199
> manycastclient 188.8.131.52 key 123 preempt
> multicastclient 184.108.40.206 key 123 preempt
> server 192.168.1.10 iburst key 123 # If you address the server by name append preempt
> server 192.168.1.20 iburst key 123
> pool pool.ntp.org preempt # Won't hurt anything if the internet can't be reached
> E-Mail Sent to this address <BlackList at Anitech-Systems.com>
> will be added to the BlackLists.
> questions mailing list
> questions at lists.ntp.org
More information about the questions