How To Configure Ntp (time Server) On Red Hat

Reply

Join Date: Dec 2006
Posts: 20
Reputation: bintang is an unknown quantity at this point 
Solved Threads: 0
bintang bintang is offline Offline
Newbie Poster

How To Configure Ntp (time Server) On Red Hat

 
0
  #1
Feb 8th, 2007
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.
Reply With Quote Quick reply to this message  
Join Date: Jan 2004
Posts: 468
Reputation: TKS will become famous soon enough TKS will become famous soon enough 
Solved Threads: 18
TKS's Avatar
TKS TKS is offline Offline
Posting Pro in Training

Re: How To Configure Ntp (time Server) On Red Hat

 
0
  #2
Mar 6th, 2007
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.
My Home Away from Home: Yet Another Linux Blog
Reply With Quote Quick reply to this message  
Join Date: Jul 2009
Posts: 1
Reputation: xs2rmittal is an unknown quantity at this point 
Solved Threads: 0
xs2rmittal xs2rmittal is offline Offline
Newbie Poster

Re: How To Configure Ntp (time Server) On Red Hat

 
0
  #3
Jul 17th, 2009
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.



Originally Posted by TKS View Post
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.
Reply With Quote Quick reply to this message  
Join Date: Nov 2009
Posts: 1
Reputation: amaloo047 is an unknown quantity at this point 
Solved Threads: 0
amaloo047 amaloo047 is offline Offline
Newbie Poster

best for u

 
0
  #4
15 Days Ago
Originally Posted by xs2rmittal View Post
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
(Replace 202.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 <NTP server IP>
restrict <server IP>mask <subnet mask>
#iptables -F
#ntpdate -b <server IP>
now all is done
Reply With Quote Quick reply to this message  
Reply

Message:



Similar Threads
Other Threads in the *nix Hardware Configuration Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC