Doubt configuring NTP
I believe I still didn't understand how to use the "restrict" keyword in /etc/inet/ntp.conf of a Solaris NTP server.Or is it not working as expected?
The server (192.168.1.10) side:
The client (192.168.1.200) side:
The doubt:Is the following correct and expected output?
The server (192.168.1.10) side:
server# cat /etc/inet/ntp.conf
tos orphan 5
restrict 192.168.1.200 ignore
tos orphan 5
restrict 192.168.1.200 ignore
The client (192.168.1.200) side:
client# cat /etc/inet/ntp.conf
server 192.168.1.10 iburst
server 192.168.1.10 iburst
The doubt:Is the following correct and expected output?
client# ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
192.168.1.10 .INIT. 16 u - 64 0 0.000 0.000 0.000
client# ntpdc -c peers
remote local st poll reach delay offset disp
=======================================================================
=192.168.1.10 192.168.1.200 16 64 0 0.00000 0.000000 3.99217
client# ntpq
ntpq> associations
ind assid status conf reach auth condition last_event cnt
remote refid st t when poll reach delay offset jitter
==============================================================================
192.168.1.10 .INIT. 16 u - 64 0 0.000 0.000 0.000
client# ntpdc -c peers
remote local st poll reach delay offset disp
=======================================================================
=192.168.1.10 192.168.1.200 16 64 0 0.00000 0.000000 3.99217
client# ntpq
ntpq> associations
ind assid status conf reach auth condition last_event cnt
1