1834008 Members
1449 Online
110063 Solutions
New Discussion

Re: ntp

 
steven anewalt
New Member

ntp

I am configuring ntp in secured environment. I want to set up the server using just the local clock and to broadcast to the rest of the subnet.

my server conf is
broadcast xxx.xxx.xxx.255
and my client is
broadcastclient xxx.xxx.xxx.255

I also have the file and key stuff in there.
Do I need the server 127.0.1.0 or anything else in the conf files.

I am not seeing anything when I snoop.
I do have trusted solaris 8 running, could this be a problem.

I am leaving something out.
and it is impossible for me to connect to the outside world for stratum 1 clocks etc...

any advise...
3 REPLIES 3
John Poff
Honored Contributor

Re: ntp

Hi,

I've setup ntp before, but I'm no wizard on the subject. I've never messed with the 'broadcast' config part. I just put in an entry for the 'server' and configured it that way. All the boxes pointing to the ntp server should have a 'server' entry for that ntp server hostname or IP address. I'm not quite sure what the config would look like for the box doing the ntp serving.

Here is a URL to a recent thread that discussed ntp setup. There are some links in it to some ntp docs:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x89126049dbb6d611abdb0090277a778c,00.html

JP
guillon_2
Advisor

Re: ntp

Hello

here the docs to configure a ntp server.
http://www.docs.hp.com/hpux/onlinedocs/B2355-90741/B2355-90741.html
=> go to Configuring the Network Time Protocol (NTP)

what version of ntp are you running :
/sbin/init.d/xntpd stop
/sbin/init.d/xntpd start
in the syslog, you should find the version of ntp

editer ensuite /etc/ntp.conf
version 3.4 => server 127.127.1.10
version 3.5 => server 127.127.1.1 for the local clock

/sbin/init.d/xntpd stop
/sbin/init.d/xntpd start

ntpq -p
you should have local in the output. it take 5 to 10 minutes for the synchronization
steven anewalt
New Member

Re: ntp

I appreciate the advise. and using the sam does seem easy. I found my problem. I mean MY problem. Cause my dumb butt left out a very important line in the networks and tnrhdb files. There for no broadcasting. Again thanks,