Wise people learn when they can; fools learn when they must - Arthur Wellesley

Sunday, 9 February 2020

LINUX(49)- NETWORK TIME PROTOCOL (NTP) -3



               LINUX(49)- NETWORK TIME PROTOCOL (NTP) -3

Now time to consider the commands, output values and configuration file in detail.

Log / Security / troubleshooting

How to know the service ntpd is running or not?
How to check NTP server is alive and responding to ntp queries?
How to check the NTP status?
Understanding output of “ntpq -p”
Important config files related to NTP,
How to check the current ntp configuration status?
What if you wanted your local machine to server as NTP server?
How to use Local Clock as Backup?
How to enable NTP logging?
What is driftfile and drift value?
how to verify ntp process is running or not?
How to update ntp time manually?
How to check the sync and time accuracy?
how to check ntp port 123 is working or not?

LINUX(48)- NETWORK TIME PROTOCOL (NTP) -2



               LINUX(48)- NETWORK TIME PROTOCOL (NTP) -2

We learned about the basics of NTP, now it’s time for configuration.

Here I used RHEL-6 as NTP server for my network and RHEL-7 as client.

The daemon “ntpd” is responsible for ntp service. Whenever the system/service starts the ntpd reads its configuration file /etc/ntp.conf

But before that we need ntp package to be installed on our system.

Check whether it is installed or not,

LINUX (47)- NETWORK TIME PROTOCOL (NTP) -1



               LINUX (47)- NETWORK TIME PROTOCOL (NTP) -1


Network Time Protocol (NTP) is an Internet Protocol used for synchronization of computer clocks with some external time reference for précised timing. Or NTP is a system which is responsible to provide accurate timing to systems across the internet.

NTP is an application layer protocol works within the TCP/IP suite and relies on UDP on port 123.