Please help with NTP server and Client

Issues related to configuring your network
Post Reply
cdequincey
Posts: 1
Joined: 2015/08/20 15:00:57

Please help with NTP server and Client

Post by cdequincey » 2015/08/20 15:06:50

Hello everyone, I'm not sure if I have posted in the correct section so please tell me if I have.

I am trying to set up a NTP server for work and then use multiple client from said server. I have read, read and reread the set up guides online and just cannot get it right.

I get the server to connect to an NTP UK pool and then sync the time, however the client just cannot connect. Below are the top ntp.conf files:

Server:

# For more information about this file, see the man pages
# ntp.conf(5), ntp_acc(5), ntp_auth(5), ntp_clock(5), ntp_misc(5), ntp_mon(5).

driftfile /var/lib/ntp/drift

# Permit time synchronization with our time source, but do not
# permit the source to query or modify the service on this system.
restrict default kod nomodify notrap nopeer noquery
restrict -6 default kod nomodify notrap nopeer noquery

# Permit all access over the loopback interface. This could
# be tightened as well, but to do so would effect some of
# the administrative functions.
restrict 127.0.0.1
restrict -6 ::1

# Hosts on local network are less restricted.
restrict 10.10.10.0 mask 255.255.255.0 nomodify notrap

# Use public servers from the pool.ntp.org project.
# Please consider joining the pool (http://www.pool.ntp.org/join.html).
server 0.uk.pool.ntp.org iburst
server 1.uk.pool.ntp.org iburst
server 2.uk.pool.ntp.org iburst
server 3.uk.pool.ntp.org iburst


Client:

# For more information about this file, see the man pages
# ntp.conf(5), ntp_acc(5), ntp_auth(5), ntp_clock(5), ntp_misc(5), ntp_mon(5).

driftfile /var/lib/ntp/drift

# Permit time synchronization with our time source, but do not
# permit the source to query or modify the service on this system.
restrict default kod nomodify notrap nopeer noquery
restrict -6 default kod nomodify notrap nopeer noquery

# Permit all access over the loopback interface. This could
# be tightened as well, but to do so would effect some of
# the administrative functions.
restrict 127.0.0.1
restrict -6 ::1

# Hosts on local network are less restricted.
#restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap

# Use public servers from the pool.ntp.org project.
# Please consider joining the pool (http://www.pool.ntp.org/join.html).
server 10.10.10.220 prefer


If you need any more, please say.

Thank you for all help :)

User avatar
TrevorH
Site Admin
Posts: 33236
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Please help with NTP server and Client

Post by TrevorH » 2015/08/20 15:49:22

Did you open UDP port 123 in your firewall?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply