ntp server: mulitiple interfaces
Joel Hammer
Joel
Mon May 17 11:45:22 PDT 2004
I think I have solved the problem but as usual I am not sure what it was.
There were three anomalies:
1. The output of peer with ntpq had no "tattletails" by the names of the servers.
eg:
remote refid st t when poll reach delay offset jitter
==============================================================================
hammer2.jhammer tock.usno.navy. 2 u 38 64 377 0.871 -68.400 9.995
This is supposed to mean that the server is not being used.
2. When I ran "ntpdate", I got no available servers.
Running "ntpdate hammer2" gave me a time and an offset, but it wouldn't
synchronize.
3. When I ran ntpdate localclient, I got connection refused.
Well, to make a long story short, I removed the firewall on the local
client, opened up an explicit hole in the firewall on the server, changed
the client's timezone from West Coast to East Coast, and started up ntpd
on the localclient (yes, I had turned it off).
Now, nptq gives :
remote refid st t when poll reach delay offset jitter
==============================================================================
*hammer2.jhammer tock.usno.navy. 2 u 24 64 377 0.865 -57.682 5.495
So, things seem to be working.
Joel
On Sun, Mar 09, 2003 at 11:16:18AM -0800, Bill Campbell wrote:
> On Sun, Mar 09, 2003 at 11:57:29AM -0500, Joel Hammer wrote:
> >I have xntp set up on a gateway box and it synchronizes well with some
> >network time servers. I want to use this box to synchronize my home network.
> >
> >I can't get my other boxes to see the time server daemon on the gateway
> >box. This could be explained if the daemon (xntp) was only listening
> >to one of the two NIC's in the gateway. Using nmap, I don't see any open
> >port 123, so, this is possible, I suppose. I have not found any
> >configuration item which tells the daemon which NIC to listen to.
>
> What does ``lsof -n -i | grep ntp'' show? I see xntpd listening on all
> interfaces on one of our dual homed servers.
>
> Bill
> --
> INTERNET: bill at Celestial.COM Bill Campbell; Celestial Software LLC
> UUCP: camco!bill PO Box 820; 6641 E. Mercer Way
> FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676
> URL: http://www.celestial.com/
>
> There's no trick to being a humorist when you have the whole government
> working for you.
> -- Will Rogers
> _______________________________________________
> Linux-users mailing list
> Linux-users at linux-sxs.org
> Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users
More information about the Linux-users
mailing list