Synchronisation de deux machines
Bonjour,
Pour un projet réalisé en ce moment à la FAC, nous avons besoin de synchroniser trois machines (distribution Debian Testing) très très précisément (à la microseconde voir plus) ...
Nous avons installé NTP en mode serveur sur la première machine, et en client sur les deux autres.
Mais impossible de les synchroniser ...
Voici les configurations :
1. Coté serveur (148.60.11.36)
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
#server 0.pool.ntp.org
#server 1.pool.ntp.org
#server 2.pool.ntp.org
#server ntp.univ-rennes1.fr
server 127.127.1.1
fudge 127.127.1.1 stratum 10
peer 140.60.11.27
peer 140.60.11.29
driftfile /var/lib/ntp/ntp.drift
#multicastclient
#listen on default 224.0.1.1
#broadcastdelay 0.008
authenticate no
#keys /etc/ntp/keys
#trustedkey 65535
#requestkey 65535
#controlkey 65535
logfile /var/log/ntpd.log
#by default ignore all ntp packets
restrict 0.0.0.0 mask 0.0.0.0 ignore
#allow localhost
restrict 127.0.0.1 mask 255.255.255.255
#accept packets from...
restrict 148.60.11.29
restrict 148.60.11.27 |
2. Coté client (148.60.11.27)
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
#server
server 148.60.11.36
#peer 148.60.11.36
peer 148.60.11.29
#server 127.127.1.1
#fudge 127.127.1.1 stratum 10
authenticate no
logfile /var/log/ntpd.log
driftfile /var/lib/ntp/ntp.drift
statsdir /var/log/ntpstats/
statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable
#maxpoll 4
restrict 0.0.0.0 mask 0.0.0.0 ignore
restrict 127.0.0.1 mask 255.255.255.255
restrict 127.0.0.1
restrict 148.60.11.36
restrict 148.60.11.29 |
Merci d'avance