[ntp:questions] Synching all client machines to 1 server all on the same LAN

Kevin Birkett kbirkett at icudatasystems.com
Fri Nov 14 20:26:49 UTC 2003


Hello,

I have been working with NTP for 2 days trying to synchronize several client 
machines to 1 server.  I would like to do this with multicast since we use 
DHCP and the server IP addr could change.  It seems as if it would be simple 
to configure a broadcast on the server, and then a multicastclient on each 
client machine.  However, I can't get the times to sync up.

Here is the Server ntp.conf file:

logconfig all
logfile /etc/ntpd.log

broadcast 224.0.1.1

server 127.127.1.0
fudge	127.127.1.0 stratum 10	

driftfile /etc/ntp/drift


And the client ntp.conf file:

logconfig all
logfile /etc/ntpd.log
multicastclient

Here is the logfile generated on the client:

14 Nov 15:03:09 ntpd[3151]: bind() fd 9, family 2, port 123, addr 224.0.1.1, 
in_classd=1 flags=0 fails: Address already in use
14 Nov 15:03:09 ntpd[3151]: ...multicast address 224.0.1.1 using wildcard 
socket
14 Nov 15:03:09 ntpd[3151]: running as uid(38)/gid(38) euid(38)/egid(38).
14 Nov 15:03:09 ntpd[3151]: system event 'event_restart' (0x01) status 
'sync_alarm, sync_unspec, 1 event, event_unspec' (0xc010)

Here is the output of the ntpq -p command on the server

     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 NTP.MCAST.NET   0.0.0.0         16 u    -   64    0    0.000    0.000 4000.00
*LOCAL(0)        LOCAL(0)        10 l   45   64   37    0.000    0.000   0.008

The problem is that the time is never updated on the client machines.  I did 
snoop eth0 and saw that the server was broadcasting the packets, but for some 
reason the client is just not picking it up.  I forgot to mention that I am 
running RedHat 7.3.  Any help on this situation would be greatly appreciated.  
If I need to supply more information about my system or settings, please let 
me know.

Kevin










More information about the questions mailing list