[ntp:questions] ntp.conf For Clients
Stewart Pelegan
spelegan at csc.com
Tue Jun 21 13:51:11 UTC 2005
I've got a bunch of Sun workstations on a standalone network. Two
servers(srva, 10.20.30.40, and srvb, 10.20.30.41) are running ntp 4.2 in
server mode and are connected to an outside time source and they're
working just fine. I'd like the remaining workstations(all on the same
subnet) to point to these servers as their time sources. What
statement(s) do I need in the clients' ntp.conf file to do this and also
be able to see the entries in the clients' ntp.log file showing that the
clocks are in sync.
Right now, I've got the following in the clients' ntp.conf:
broadcastclient
multicastclient 224.0.1.1
enable auth monitor
logfile /opt/ntp/logs/ntp.log
driftfile /opt/ntp/logs/ntp.drift
statsdir /opt/ntp/logs/
statistics loopstats peerstats clockstats
filegen peerstats file peerstats type day enable
filegen loopstats file loopstats type day enable
filegen clockstats file clockstats type day enable
and the servers have:
server 127.127.5.0 prefer
server 10.20.30.41
server 127.127.1.0
fudge 10.20.30.41 stratum 1
fudge 127.127.1.0 stratum 1
broadcast 224.0.1.1 ttl 6
enable auth monitor
logfile /opt/ntp/logs/ntp.log
driftfile /opt/ntp/logs/ntp.drift
statsdir /opt/ntp/logs/
statistics loopstats peerstats clockstats
filegen peerstats file peerstats type day enable
filegen loopstats file loopstats type day enable
filegen clockstats file clockstats type day enable
What corrections do I need to make to the clients' and/or servers'
ntp.conf file in order to get this to work. Thanks.
Stewart Pelegan
Computer Sciences Corporation
301.921.3206
Fax: 301.921.0985
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit
written agreement or government initiative expressly permitting the use of
e-mail for such purpose.
----------------------------------------------------------------------------------------
More information about the questions
mailing list