[Users] NTP Server in einer virtuellen Umgebung

Daniel Bauer mlist at dsb-gmbh.de
Sun Dec 11 10:09:23 EST 2011


Hi @all,

I've a VPS for my internal LAN, which should also be used as a NTP 
server.
The HN has already syncronized the time by de.pool.ntp.org, so the time 
is also ok inside the VPS.
The NTP server inside the VPS stalled, ntpq -p shows:

     remote           refid      st t when poll reach   delay   offset 
jitter
==============================================================================
 localhost       .INIT.          16 l    -   64    0    0.000    0.000 
0.000


my /etc/ntp.conf looks like this:

driftfile /var/lib/ntp/ntp.drift

statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable

server 127.0.0.1
fudge 127.0.0.1 stratum 12

restrict -4 default kod notrap nomodify nopeer noquery
restrict -6 default kod notrap nomodify nopeer noquery

restrict 127.0.0.1
restrict ::1

restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap


does anybody knows a solution?

Thanks
Daniel



More information about the Users mailing list