954,124 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

How To Configure Ntp (time Server) On Red Hat

Dear ALL,

This forum helps me much..and I thank you to everyone who makes this forum useful, even enjoyable.
i'd like to ask to all of you, HOW TO CONFIGURE NTP (TIME SERVER) on Red Hat Linux.?

I've been trying to setting the NTP across my network, but I never make it done.

PS: My computers not connect to Internet, so please let me know how to configure the NTP only on my Local Area Network.

Thnanks a lot for your next reply.

bintang
Newbie Poster
20 posts since Dec 2006
Reputation Points: 10
Solved Threads: 0
 

Configuring NTP locally is pointless because it will not be able to update from the main pool of time servers which are on the internet.

Really, this is like having a DNS server without the internet as well...which is pretty pointless as well.

But if you still think this is a good idea (which, if it cannot update itself via the internet at the beginning...the ntp server will only show the time that you set it to be)

yum -y install ntp


Open up /etc/ntp.conf and configure it to your liking.

TKS
Posting Pro in Training
470 posts since Jan 2004
Reputation Points: 108
Solved Threads: 18
 

Hi,

Can you tell me what should be written in /etc/ntp.conf file for server and client.

Assume my server IP is 192.16.81.10 and client IP is 192.16.81.9.
I do not want any authentication.

I need to synchronize this setup on an urgent basis, so any help is really appreciated.

Configuring NTP locally is pointless because it will not be able to update from the main pool of time servers which are on the internet.

Really, this is like having a DNS server without the internet as well...which is pretty pointless as well.

But if you still think this is a good idea (which, if it cannot update itself via the internet at the beginning...the ntp server will only show the time that you set it to be)

yum -y install ntp

Open up /etc/ntp.conf and configure it to your liking.

xs2rmittal
Newbie Poster
1 post since Jul 2009
Reputation Points: 10
Solved Threads: 0
 

Hi,

Can you tell me what should be written in /etc/ntp.conf file for server and client.

Assume my server IP is 192.16.81.10 and client IP is 192.16.81.9. I do not want any authentication.

I need to synchronize this setup on an urgent basis, so any help is really appreciated.


on server
# yum install ntp
# chkconfig ntpd on
# vi /etc/ntp.conf
add a line
restrict default ignore
restrict 202.54.1.5 mask 255.255.255.245
server 202.54.1.5
(Replace202.54.1.5 and mask with actual remote ISP or ntp.org NTP server IP. Save and close the file.)
then client configuration
#vi /etc/ntp.conf
add a line like
server
restrict mask
#iptables -F
#ntpdate -b
now all is done

amaloo047
Newbie Poster
1 post since Nov 2009
Reputation Points: 10
Solved Threads: 0
 

I know this is an old thread but I got to say, way to be a jerk TKS. Do you REALLY think having a DNS server without the internet is pointless? Really?
What do you do if you have a bunch of machines that are not allowed on the internet, memorize all their IPs?
dude...

jjMan72
Newbie Poster
1 post since Mar 2010
Reputation Points: 10
Solved Threads: 0
 

Hi everybody,

Look, I want sincronize my Red Hat System (clock) with another system (windows XP).

amaloo047, I must do everything write for you.

adrianvh1978
Newbie Poster
1 post since Jul 2010
Reputation Points: 10
Solved Threads: 0
 

Here is a list of guides for NTPd installation:
www.sysadmin.md/ntpd.html

sadotmd
Newbie Poster
5 posts since Sep 2010
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: