I want ntpdate, and don't really care about ntpd.  I need an ntp server running 
on one node, and the other nodes connect to the first node with ntpdate like 
this:

#!/bin/bash
SERVER=ntpserver1
RATE=5
while [ 1 ];
do
ntpdate -b $SERVER
ntpdate -b $SERVER
ntpdate -b $SERVER
sleep $RATE
done

So I think what I would like to do is install an NTP server on one node, verify 
that it works ;^) and have the others keep in synch with the script.

There are no firewalls between the nodes.  There is a firewall to the outside 
world but that is not in my control.



--- On Thu, 9/16/10, Rob <[email protected]> wrote:

> From: Rob <[email protected]>
> Subject: Re: [ntp:questions] Why does ntp keep changing my conf file?
> To: [email protected]
> Date: Thursday, September 16, 2010, 1:04 PM
> Daniel Havey <[email protected]>
> wrote:
> > Did you mean between my testbed and
> ntp.aero.org/dns.aero.org (the servers in my ntp.conf
> file)?  There could be a firewall there but then I
> shouldn't be able to do this:
> > [dha...@node0 ~]$ sudo ntpdate ntp.aero.org
> > 16 Sep 11:31:08 ntpdate[13121]: adjust time server
> 130.221.24.100 offset 0.017606 sec
> >
> > I don't think it is a firewall issue.
> 
> When you do "ntpdate" it sends from a high port number to
> port 123
> on the timeserver, and the timeserver replies from port 123
> to your
> high port number.
> 
> When you use "ntpd" it sends from port 123 to port 123 on
> your timeserver,
> which replies back to port 123.
> 
> When your firewall or some other firewall in your network
> blocks traffic
> to port 123 or to all low portnumbers, you will find that
> ntpdate works
> ok but ntpd won't.
> 
> _______________________________________________
> questions mailing list
> [email protected]
> http://lists.ntp.org/listinfo/questions
> 


      
_______________________________________________
questions mailing list
[email protected]
http://lists.ntp.org/listinfo/questions

Reply via email to