Hi David:
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: [email protected] > To: [email protected] > 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 224.0.1.1 > manycastclient 224.0.1.1 key 123 preempt > multicastclient 224.0.1.1 key 123 preempt > broadcastclient > 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 <[email protected]> > will be added to the BlackLists. > > _______________________________________________ > questions mailing list > [email protected] > http://lists.ntp.org/listinfo/questions _______________________________________________ questions mailing list [email protected] http://lists.ntp.org/listinfo/questions
