Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Sep 2007 16:03:45 -0500
From:      David Kelly <dkelly@hiwaay.net>
To:        jhall@vandaliamo.net
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ntpd time server
Message-ID:  <20070915210345.GA34684@Grumpy.DynDNS.org>
In-Reply-To: <3713.65.117.48.155.1189889169.squirrel@admintool.trueband.net>
References:  <3713.65.117.48.155.1189889169.squirrel@admintool.trueband.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Sep 15, 2007 at 08:46:09PM -0000, jhall@vandaliamo.net wrote:
> Is it possible to use ntpd as a client as well as a server?

Of course. Your server is a client of its own ntpd.

> I have my firewall setup to get updates from the Internet which it does
> without any problem.  However, I am not seeing any clients syncrhonizing
> with the firewall.
> 
> The firewall ntp.conf files contains the following.
> 
> server ntp-2.mcs.anl.gov prefer
> driftfile /data_prgs/local/etc/ntp.drift

Is my understanding these days the Politically Correct and Polite thing
to do is not list a specific machine (unless its yours) as ntp server
but to use servers which have volunteered to be placed in a revolving
DNS pool, like this:

server 0.pool.ntp.org
server 1.pool.ntp.org
server 2.pool.ntp.org
server pool.ntp.org

> The clients contain the following.
> server firewall
> driftfile /var/db/ntp.drift
> 
> firewall is a resolved via internal DNS, and it is resolved to the correct
> IP address.
> 
> Any suggestions would be greatly appreciated.

On your clients type "ntpd -c peers" and one machine should be listed,
your "server" named "firewall" something like this (on MacOS X):

% ntpdc -c peers
     remote           local      st poll reach  delay   offset    disp
=======================================================================
=andraia.local   192.168.123.177  2 4096    3 0.00085 -0.231870 3.95285


Do the same thing on the "server" to see what it thinks of the servers
it is connected to.

-- 
David Kelly N4HHE, dkelly@HiWAAY.net
========================================================================
Whom computers would destroy, they must first drive mad.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070915210345.GA34684>