[CentOS] NTP problems

Olaf Mueller daily-planet at istari.de
Sat Nov 15 14:13:44 UTC 2008


Anne Wilson wrote:

> On Saturday 15 November 2008 10:41:14 Olaf Mueller wrote:
>> Anne Wilson wrote:
> No, the server is on a fixed IP, internally and externally.
Ok, here is my config file, hope this helps.
There was an option in the 'restrict default' line that I had to remove
for working properly, but I couldn't remember what it was.

# cat /etc/ntp.conf
restrict default kod nomodify notrap nopeer noquery
restrict 127.0.0.1
restrict 192.168.0.0 mask 255.255.255.0 nomodify notrap
restrict 0.de.pool.ntp.org mask 255.255.255.255 nomodify notrap noquery
restrict 1.de.pool.ntp.org mask 255.255.255.255 nomodify notrap noquery
restrict 2.de.pool.ntp.org mask 255.255.255.255 nomodify notrap noquery
restrict 3.de.pool.ntp.org mask 255.255.255.255 nomodify notrap noquery

server 127.127.1.0
server 0.de.pool.ntp.org
server 1.de.pool.ntp.org
server 2.de.pool.ntp.org
server 3.de.pool.ntp.org

driftfile /var/lib/ntp/drift
keys /etc/ntp/keys
fudge 127.127.1.0 stratum 10
broadcastdelay 0.008


regards
Olaf



More information about the CentOS mailing list