NTP server na FBSD

Dušátko Jan jan at dusatko.org
Tue Oct 20 12:04:34 CEST 2009


> On Tue, 20 Oct 2009, Radek Krejca wrote:
> 
> >20 Oct 11:28:29 ntpdate[29178]: no server suitable for synchronization
> found
> 
> 	ahoj, je to by default UDP komunikace mezi porty 123 tam i zpet.
> Mas
> to povoleny ve firewallu? Mne to hazelo stejny hlasky, kdyz to bylo
> zavreny.
> Navic, FreeBSD ma v sobe ntpd(8), myslim ze by mohl stacit. h.

Take pouzivam NTPD a bohate postacuje. Jak je konfigurovan?

Ja pouzivam:

server cz.pool.ntp.org prefer
driftfile /var/db/ntp.drift
restrict 10.0.0.0 mask 255.0.0.0 notrust nomodify notrap
restrict 169.254.0.0 mask 255.255.0.0 notrust nomodify notrap
restrict 172.16.0.0 mask 255.240.0.0 notrust nomodify notrap
restrict 192.168.0.0 mask 255.255.0.0 notrust nomodify notrap
restrict 224.0.0.0 mask 240.0.0.0 notrust nomodify notrap
restrict 240.0.0.0 mask 248.0.0.0 notrust nomodify notrap
restrict 255.255.255.255 mask 255.255.255.255 notrust nomodify notrap


Pripadne je mozne pridat napriklad:
broadcast address 192.168.0.0
	nebo 
manycast address 224.0.123.0

A obdobne upravit konfiguraci na strane klienta. Otazkou je, pro jake
klienty je tento server pouzivat. Obecne mam problem s Windows, zvlaste
starsimi verzemi. W2K a podobne nepodporovali NTPv3 a podobne.

Honza




More information about the Users-l mailing list