[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

NTP Server ohne externe Zeitquelle



Hallo Zusammen,

ich habe eine virtuelle Maschine, die von den LAN Clients als NTP Server benutzt werden soll. Eine externe Zeitsynchronisation ist nicht nötig und auch nicht gewünscht, da die Hostnode das bereits übernommen hat. Ich dachte mir, daß ich einfach localhost als Zeitquelle eintrage, leider ohne Erfolg.

ntpq -p zeigt:

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


und meine /etc/ntp.conf schaut so aus:

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


kennt jemand eine Lösung dazu?

Besten Dank
Daniel
Reply to: