[ale] NTP

Mike Panetta ahuitzot at mindspring.com
Sun Oct 6 19:41:18 EDT 2002


I think what he was trying to ask is, why 127.127.1.0 instead of the
more normally used 127.0.0.1?  Both addresses are treated the same by
the IP stack AFAIK....

Mike

On Sun, 2002-10-06 at 14:58, Robert Heaven wrote:
> Yes, there is significance... That's what allows ntpd to sync to it's
> local clock if it can't reach the one specified in the first "server"
> statement.
> 
> 
> On Sun, 2002-10-06 at 09:22, David Corbin wrote:
> > Robert Heaven wrote:
> > 
> > >Your time server (call it "server_A") should have an ntpd.conf similar
> > >to this:
> > >
> > >server  tock.usno.navy.mil
> > >server  127.127.1.0
> > >fudge   127.127.1.0   stratum 12
> > >driftfile  /var/log/ntp.drift
> > >statsdir  /var/log/
> > >  
> > >
> > Is there any signifcance to 127.127.1.0?  Any reason not to uset the 
> > "standard" localhost IP?
> > 
> > >The second "server" statement allows the ntpd daemon to sync to itself
> > >so the other hosts won't give you that message. 
> > >
> > >Then, all your other hosts should have an ntpd.conf file like this:
> > >
> > >server  server_A.nowhere.net (or use you IP address)
> > >driftfile  /var/log/ntp.drift
> > >statsdir  /var/log/
> > >
> > >
> > >
> > >On Sat, 2002-10-05 at 13:29, David Corbin wrote:
> > >  
> > >
> > >>When I do "ntpdate A", I get "no server suitable for synchronization found".
> > >>
> > >>Robert L. Harris wrote:
> > >>
> > >>    
> > >>
> > >>>I just run xntpd and then tell my clients that my ntp server is a
> > >>>master.  Been working great for about a year now.
> > >>>
> > >>>Thus spake David Corbin (dcorbin at imperitek.com):
> > >>>
> > >>> 
> > >>>
> > >>>      
> > >>>
> > >>>>Date: Sat, 05 Oct 2002 10:15:25 -0400
> > >>>>From: David Corbin <dcorbin at imperitek.com>
> > >>>>To: ale at ale.org
> > >>>>Subject: [ale] NTP
> > >>>>
> > >>>>I'm trying to setup a local server to provide a reasonably accurate time 
> > >>>>for machines on my LAN.  For years I've just been sending all my 
> > >>>>machines out to "public servers" (stratum-2, I think), and now I want 
> > >>>>only one machine(A) to do that, and other local machines to ask A for 
> > >>>>the time.
> > >>>>
> > >>>>I can't figure out what I need to do on A to make it respond to NTP as a 
> > >>>>server.   Anyone know?
> > >>>>
> > >>>>Thanks
> > >>>>David
> > >>>>
> > >>>>
> > >>>>---
> > >>>>This message has been sent through the ALE general discussion list.
> > >>>>See http://www.ale.org/mailing-lists.shtml for more info. Problems should 
> > >>>>be sent to listmaster at ale dot org.
> > >>>>   
> > >>>>
> > >>>>        
> > >>>>
> > >>>
> > >>>:wq!
> > >>>---------------------------------------------------------------------------
> > >>>Robert L. Harris                
> > >>>                              
> > >>>DISCLAIMER:
> > >>>     These are MY OPINIONS ALONE.  I speak for no-one else.
> > >>>FYI:
> > >>>perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
> > >>> 
> > >>>
> > >>>      
> > >>>
> > >>
> > >>
> > >>---
> > >>This message has been sent through the ALE general discussion list.
> > >>See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
> > >>sent to listmaster at ale dot org.
> > >>
> > >>    
> > >>
> > >
> > >  
> > >
> > 
> > 
> > 
> 
> 
> 
> ---
> This message has been sent through the ALE general discussion list.
> See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
> sent to listmaster at ale dot org.
> 



---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list