[ntp:questions] Re: no servers suitable for synchronization

Andrew andrew at arda.homeunix.net
Thu Nov 13 23:37:56 UTC 2003


I believe you are telling the client to ignore time synch packets from 
your server. You need another restrict line in your client's ntp.conf 
file. Try something like:

server 192.168.0.35
driftfile /etc/ntp.drift
restrict default ignore
restrict 192.168.0.0 mask 255.255.255.0 noquery notrust
restrict 192.168.0.35 nomodify

With this your client will ignore time packets from any machine except 
your time server. Even localhost won't be able to change internal ntpd 
parameters with this setup. Unless, of course, someone changes their IP 
and masquerades as your time server.

Andrew


dave wrote:

> Hello,
>     Still trying to get ntpd going on my network. I'm now getting the error:
> no servers suitable for synchronization found
> when i issue the command:
> ntpdate -b 192.168.0.35
> I've confirmed that ntpd is running on that box udp port 123 is being
> allowed through. On the ntp server it has this in it's ntp.conf file:
> 
> server PublicNtpServerName prefer
> restrict default ignore
> restrict 127.0.0.1 nomodify
> driftfile /etc/ntp.drift
> restrict 192.168.0.0 mask 255.255.255.0 nomodify nopeer
> 
> and on the client workstation, both are FreeBSD boxes if that makes a
> difference and again ntpd is running on the workstation as well:
> 
> restrict default ignore
> server 192.168.0.35
> driftfile /etc/ntp.drift
> 
> Suggestions welcome.
> Thanks.
> Dave.
> 
> 
> 




More information about the questions mailing list