HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NTP Configuration
Operating System - HP-UX
1837921
Members
6692
Online
110124
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2000 01:59 AM
10-31-2000 01:59 AM
I'm trying to configure an internal NTP server and client. I do not need my NTP server looking outside for its time but to sync the other servers on my LAN. I have the following lines in ntp.conf on the server where x is the server IP and y is the client IP:
broadcast x.x.x.x
driftfile /etc/ntp.drift
authenticate yes
restrict y.y.y.y mask 255.255.255.0 notrust modify
server y.y.y.y
fudge y.y.y.y stratum 10
On the client ntp.conf:
server x.x.x.x
driftfile /etc/ntp.drift
I have touched the driftfile on both machines. When I examine them they read:
255.000 0
on the server and:
0.000 0
on the client
xntpd is running on both.
When I do an ntpq -p the servers seem to have bound but after 24hrs no time change has taken place!
Any suggestions anyone? Am I missing something really obvious here?
broadcast x.x.x.x
driftfile /etc/ntp.drift
authenticate yes
restrict y.y.y.y mask 255.255.255.0 notrust modify
server y.y.y.y
fudge y.y.y.y stratum 10
On the client ntp.conf:
server x.x.x.x
driftfile /etc/ntp.drift
I have touched the driftfile on both machines. When I examine them they read:
255.000 0
on the server and:
0.000 0
on the client
xntpd is running on both.
When I do an ntpq -p the servers seem to have bound but after 24hrs no time change has taken place!
Any suggestions anyone? Am I missing something really obvious here?
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2000 02:03 AM
10-31-2000 02:03 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2000 02:15 AM
10-31-2000 02:15 AM
Re: NTP Configuration
Here is my config and it works fine :
SERVER :
authenticate yes
keys /etc/ntp.keys
trustedkey 32
server 127.127.1.1 version 3 key 32
driftfile /etc/ntp.drift
CLIENT :
authenticate yes
keys /etc/ntp.keys
trustedkey 32
server my_server_hostname version 3 key 32 prefer
driftfile /etc/ntp.drift
This very important there is 127.127.1.1 !!!
(You can skip the first 3 lines if you don't need authentication)
Patrice.
SERVER :
authenticate yes
keys /etc/ntp.keys
trustedkey 32
server 127.127.1.1 version 3 key 32
driftfile /etc/ntp.drift
CLIENT :
authenticate yes
keys /etc/ntp.keys
trustedkey 32
server my_server_hostname version 3 key 32 prefer
driftfile /etc/ntp.drift
This very important there is 127.127.1.1 !!!
(You can skip the first 3 lines if you don't need authentication)
Patrice.
Patrice MARTINACHE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2000 02:42 AM
10-31-2000 02:42 AM
Re: NTP Configuration
Mark,
Try using sam. In your server choose time and then NTP Broadcasting and add the client IP address. In client server choose NTP Network Time Sources and configure it as foolowed:
Host Name or address should be the server and Relationship to local host choose server and Preferred server must be (Yes) and the NTP Version it's normally 3 and disable the authentication key number. After that in the client the NTP status should be (not running) and try at command comm prompt (ntpdate). if work you will see something like adjust to . At server the NTP status should be (NTP: Running).
Hope it'shelp you.
Augusto
Try using sam. In your server choose time and then NTP Broadcasting and add the client IP address. In client server choose NTP Network Time Sources and configure it as foolowed:
Host Name or address should be the server and Relationship to local host choose server and Preferred server must be (Yes) and the NTP Version it's normally 3 and disable the authentication key number. After that in the client the NTP status should be (not running) and try at command comm prompt (ntpdate
Hope it'shelp you.
Augusto
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP