Sponsored Content
Full Discussion: NTP Server on FreeBSD
Operating Systems BSD NTP Server on FreeBSD Post 302204424 by Zarnick on Wednesday 11th of June 2008 02:34:33 PM
Old 06-11-2008
NTP Server on FreeBSD

Hello, I'm trying to create a NTP server on a FreeBSD machine inside my local network, so all the clients of that network can actually query for that machine.
Should be of no problem right?
Here's the configuration of the /etc/ntp.conf on the FreeBSD machine:
Code:
server br.pool.ntp.org burst

driftfile /var/db/ntp.drift

logfile /vat/log/ntp.log

restrict default ignore
restrict 10.100.0.1 mask 255.255.255.0 nomodify notrap

It should get the time from br.pool.ntp.org, and restrict everything besides the local network right?
Here's the output of a linux machine when I try to execute
Code:
ntpdate -d -t 60 10.100.0.1

Code:
transmit(10.100.0.1)
receive(10.100.0.1)
transmit(10.100.0.1)
receive(10.100.0.1)
transmit(10.100.0.1)
receive(10.100.0.1)
transmit(10.100.0.1)
receive(10.100.0.1)
transmit(10.100.0.1)
10.100.0.1: Server dropped: strata too high
server 10.100.0.1, port 123
stratum 16, precision -19, leap 11, trust 000
refid [10.100.0.1], delay 0.02589, dispersion 0.00000
transmitted 4, in filter 4
reference time:    00000000.00000000  Thu, Feb  7 2036  4:28:16.000
originate timestamp: cbfa9813.907afd6e  Wed, Jun 11 2008 15:29:39.564
transmit timestamp:  cbfa9a32.19d11be6  Wed, Jun 11 2008 15:38:42.100
filter delay:  0.02591  0.02589  0.02589  0.02589 
         0.00000  0.00000  0.00000  0.00000 
filter offset: -542.536 -542.536 -542.536 -542.536
         0.000000 0.000000 0.000000 0.000000
delay 0.02589, dispersion 0.00000
offset -542.536628

11 Jun 15:38:42 ntpdate[7791]: no server suitable for synchronization found

Can anyone please help me out?

Thanks a lot.

Zarnick.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Ntp Server

Hi. i was wondering if anyone can show me or direct me on setting up a ntp server under redhat.. Is there any howtos so i can get familar to it "any good sites" (3 Replies)
Discussion started by: souldier
3 Replies

2. Solaris

ntp server and ntp client

All, How do you set a Solaris 9 server which received ntp updates from a ntp server to broadcast them on a local subnet. I have created a /etc/inet/ntp.conf file to receive the updates from a server on network and need to make this server become like a ntp relay from the main server. Any... (1 Reply)
Discussion started by: bubba112557
1 Replies

3. IP Networking

server is not getting synchronized with ntp server

Hello Guys, i have a problem my local server is not getting synchronized with ntpd server. 1)ntpq -p is giving the following output remote refid st t when poll reach delay offset jitter ============================================================================== ... (9 Replies)
Discussion started by: mannam srinivas
9 Replies

4. Red Hat

NTP server

Hi All.... I need to configure NTP server in my network, which is heterogeneous, containing Linux as well as windows systems. I'm planning to configure it on RHEL 5.0. What are the prerequisites for this and do I need to register this server? Can anyone give me as many information as... (1 Reply)
Discussion started by: Amol21
1 Replies

5. Solaris

ntp server configuration

hi Please give me the configuration steps for NTP server. How do i sync other servers with this NTP server thanks to all (1 Reply)
Discussion started by: sijocg
1 Replies

6. Linux

How often does Linux NTP server update its time with the external NTP server?

All here, thank you for listening. Now I've set up a Linux NTP server by adding a external windows NTP server in /etc/ntp.conf. Then I start the ntpd daemon. But how often does the Linux NTP server update its time with the external NTP server? I've looked up everywhere but found no information... (1 Reply)
Discussion started by: MichaelLi
1 Replies

7. UNIX for Advanced & Expert Users

NTP server can not be reached

hello Guys, I have an NTP problem on my SUN N240 server. External NTP server is being used for this box and when i run 'ntpq -p' i get connection refused message; Code: ntpq -p ntpq: read: Connection refused Here this is the ntp.conf file: Code: cat /etc/ntp.conf # BEGIN NTP... (1 Reply)
Discussion started by: dyavuzy1
1 Replies

8. HP-UX

Setting up NTP HP-UX clients from solaris NTP server

Hi I wonder if its possible to setup NTP clients running HP-UX o.s. from a solaris 10 NTP server? FR (3 Replies)
Discussion started by: fretagi
3 Replies

9. Red Hat

Ntp client sync with local over ntp server

Hi, I have two ntp servers in my cluster and I want all the nodes in my cluster to sync with either of the ntp servers or just one. Unfortunately it keep rotating the sync, between my ntp server 1, ntp server 2 and local. Is there anyway I can change the sync to avoid local? # ntpq -p ... (3 Replies)
Discussion started by: pjeedu2247
3 Replies

10. Linux

What is the best OS for NTP server?

Hello I need to create NTP server for all my devices, What is the best OS for NTP Server? "CentOS, Redhat, Ubuntu " I tried before Ubuntu but some of device not detect the server Need your recommendation Thank you (2 Replies)
Discussion started by: moudmm
2 Replies
Net::NTP(3pm)						User Contributed Perl Documentation					     Net::NTP(3pm)

NAME
Net::NTP - Perl extension for decoding NTP server responses SYNOPSIS
use Net::NTP qw(get_ntp_response); my %response = get_ntp_response(); ABSTRACT
All this module does is send a packet to an NTP server and then decode the packet received into it's respective parts - as outlined in RFC1305 and RFC2030. DESCRIPTION
This module exports a single method (get_ntp_response) and returns an associative array based upon RFC1305 and RFC2030. The response from the server is "humanized" to a point that further processing of the information received from the server can be manipulated. For example: timestamps are in epoch, so one could use the localtime function to produce an even more "human" representation of the timestamp. EXPORT get_ntp_response(<server>, <port>); This module exports a single method - get_ntp_response. It takes the server as the first argument (localhost is the default) and port to send/recieve the packets (ntp or 123 bu default). It returns an associative array of the various parts of the packet as outlined in RFC1305. It "normalizes" or "humanizes" various parts of the packet. For example: all the timestamps are in epoch, NOT hexidecimal. SEE ALSO
perl, IO::Socket, RFC1305, RFC2030 AUTHOR
Now maintained by Ask BjA~Xrn Hansen, <ask@develooper.com<gt> Originally by James G. Willmore, <jwillmore (at) adelphia.net<gt> or <owner (at) ljcomputing.net<gt> Special thanks to Ralf D. Kloth <ralf (at) qrq.de<gt> for the code to decode NTP packets. COPYRIGHT AND LICENSE
Copyright 2009 by Ask BjA~Xrn Hansen; 2004 by James G. Willmore This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.12.3 2011-06-05 Net::NTP(3pm)
All times are GMT -4. The time now is 01:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy