<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hello all,
<p>I would like to synchronize several computers to a NTP server in a LAN
not connected to the internet. My NTP server uses its own clock and the
NTP clients do not known server's IP. Therefore I need to use broadcast
or multicast synchronization.
<p>In the server machine, I run xntpd daemon using the following /etc/ntp.conf
file:
<p> <i> server 127.127.1.0 # local
clock</i>
<br><i> fudge 127.127.1.0 stratum 10</i>
<p><i> driftfile /etc/ntp/drift</i>
<br><i> broadcast 192.67.79.255</i>
<br><i> broadcastdelay 0.008</i>
<p><i> authenticate no</i>
<br><i> disable auth</i>
<p><i> # Keys file. If you want to diddle your
server at run time, make a</i>
<br><i> # keys file (mode 600 for sure) and define the
key number to be</i>
<br><i> # used for making requests.</i>
<br><i> # PLEASE DO NOT USE THE DEFAULT VALUES HERE.
Pick your own, or remote</i>
<br><i> # systems might be able to reset your clock at
will.</i>
<br><i> #</i>
<br><i> #keys
/etc/ntp/keys</i>
<br> <i>#trustedkey 65535</i>
<br>
<p>In every client machine, xntpd is running with following /etc/ntp.conf
file:
<p> <i> driftfile /etc/ntp/drift</i>
<br><i> broadcastclient yes</i>
<br><i> broadcastclient 192.67.79.255 # listen
on default 192.67.79.255</i>
<br><i> broadcastdelay 0.008</i>
<p><i> authenticate no</i>
<br><i> disable auth</i>
<p><i> # Keys file. If you want to diddle your
server at run time, make a</i>
<br><i> # keys file (mode 600 for sure) and define the
key number to be</i>
<br><i> # used for making requests.</i>
<br><i> # PLEASE DO NOT USE THE DEFAULT VALUES HERE.
Pick your own, or remote</i>
<br><i> # systems might be able to reset your clock at
will.</i>
<br><i> #</i>
<br><i> #keys
/etc/ntp/keys</i>
<br><i> #trustedkey 65535</i>
<p>And then the problem is that the computers clients don't synchronize
with the computer server.
<p>Best regards. Thanks.
<br>
<pre>--
| Roman Rodriguez Perea | Visual Tools, S.A. | Tel [+34] 91 729 48 44 |
| Technology Dept. | Isla Graciosa , 1 | Tel [+34] 91 358 52 36 |
| mailto: rrodriguez@visual-tools.com | E-28034 Madrid | |
| roman@visual-tools.com | | |</pre>
<p>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br> </html>