Lab: Hosting NTP Server
I'm setting up a lab using virtual machines, and have 2 ubuntu 9.10 running.
On 1 machine, I wish to provide NTP service to serve the other machine.
I've installed ntp, then adjusted the /etc/ntp.conf to allow my client machine to connect to it.
After starting the service, I ran
sudo ntpdate 10.10.10.2 -> no server suitable for synchronization found.
The /etc/ntp.conf file is as follows:
-------
driftfile /var/lib/
statsdir /var/log/ntpstats/
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 3.sg.pool.ntp.org
restrict -4 default kod notrap nomodify nopeer noquery
restrict -6 default kod notrap nomodify nopeer noquery
restrict 10.10.10.0 mask 255.255.255.0 nomodify notrap
restrict 127.0.0.1
restrict ::1
broadcast 10.10.10.255
-------
Any help is very very much appreciated. Thank you.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu ntp Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Ricky Hair
- Solved:
- Last query:
- Last reply: