Hello all,

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.

In the server machine, I run xntpd daemon using the following /etc/ntp.conf file:

    server  127.127.1.0    # local clock
    fudge   127.127.1.0 stratum 10

    driftfile /etc/ntp/drift
    broadcast 224.0.1.1

    authenticate no
    disable auth

In every client machine, xntpd is running with following /etc/ntp.conf file:

    driftfile /etc/ntp/drift
    multicastclient 224.0.1.1  # listen on default 224.0.1.1

    authenticate no
    disable auth

When I try to start xntpd into client machine I get the following:

Jul 26 13:13:51 roman xntpd[1892]: bind() fd 9, family 2, port 123, addr e0000101, in_classd=1 flags=0 fails: Address already in use
Jul 26 13:13:51 roman xntpd[1892]: ...multicast address 224.0.1.1 using wildcard socket

And when I run the ntpq I get the following:

ntpq> peer
No association ID's returned

I have a Mandrake installation.
And then the problem is that the computers clients don't synchronize with the computer server.

Best regards. Thanks.
 

-- 
| 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: [EMAIL PROTECTED] | E-28034 Madrid      |                        |  
|              [EMAIL PROTECTED] |                     |                        |
 

 
 
 
 



Reply via email to