[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


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


fudge stratum 10	

driftfile /etc/ntp/drift

And the client ntp.conf file:

logconfig all
logfile /etc/ntpd.log

Here is the logfile generated on the client:

14 Nov 15:03:09 ntpd[3151]: bind() fd 9, family 2, port 123, addr, 
in_classd=1 flags=0 fails: Address already in use
14 Nov 15:03:09 ntpd[3151]: ...multicast address using wildcard 
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         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.


More information about the questions mailing list