Configuring NTP server and Client.
Hi all,
I'm stuck with configuring ntp proxy.
Requirement is
Host A(10.102.79.182) sync with remote ntp server(10.102.78.198).
and other machines (Host a1, a2) syncs with the Host A
Host A's /etc/ntp.conf
------------------------------
server 10.102.78.198 //RemoteserverIP
restrict 10.102.78.198 mask 255.255.255.255
server 10.102.79.182//SelfIp
restrict 10.102.79.182 mask 255.255.0.0
restrict 127.0.0.1 mask 255.255.255.255
restrict default ignore
tinker panic 0
driftfile /var/lib/ntp/drift
-----------------------------
Host a1
---------------------
server 10.102.79.182
restrict 10.102.79.182 mask 255.255.255.255 nomodify notrap nopeer
restrict 127.0.0.1 mask 255.255.255.255
restrict default ignore
tinker panic 0
driftfile /var/lib/ntp/drift
---------------------
but a1 is not syncing with Host A awaited for almost 3-4hrs
checked with ntpq seems fine.
[hosta1~]# ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
10.102.79.182 .INIT. 16 u - 1024 0 0.000 0.000 4000.00
[hostA ~]# ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
10.102.78.198 .LOCL. 1 u 20 64 377 1.201 4319598 10.081
10.102.79.182 .INIT. 16 u - 1024 0 0.000 0.000 4000.00
Could you let me know what configuration is missing or how to fix this
|