Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Nov 2002 05:15:09 GMT
From:      vikashb@mweb.co.za
To:        freebsd-questions@FreeBSD.ORG
Subject:   ntp server problems on 10.x.y.z address subnet
Message-ID:  <E18HdRs-0002oj-00@supermail.mweb.co.za>

next in thread | raw e-mail | index | archive | help
Greetings,

I have a FBSD 4.5p23 box which I have configured to act
as a ntp server for a 10.x.y.z subnet 
the conf files are :
/etc/ntp.conf
--------------------------------
server 198.w.x.1
driftfile /var/run/driftfile
--------------------------------
/etc/rc.conf
--------------------------------------------------------
ntpdate_flags="198.w.x.1"
ntpdate_enable="YES"
xntpd_enable="YES"
xntpd_program="ntpd"
xntpd_flags="-c /etc/ntp.conf -p /var/run/ntpd.pid"
--------------------------------------------------------

configs :
hq-gw      = 198.w.x.1   (fbsd box clients can connect)
hq-ntp     = 196.z.y.2
fw-hq-pvt  = 198.w.x.189 + 10.131.156.2
pvt-ntp    = 10.131.156.5 (fbsd box clients can not connect)

clients can connect to hq-gw 
clients can not connetc to pvt-ntp

The HQ chaps will not route 10.x.x.x adresses
since they use those adresses between routers.

The pvt-ntp gets its clock from hq-gw.
hq-gw gets its clock from a server ht-ntp
hq-ntp gets its clock from lennier.cc.vt.edu.

I have check the firewall rules on fw-hq-pvt
and the rules are :
allow pass udp from any to hq-gw 123
allow pass udp from hq-gw 123 to any.

on pvt-ntp:
if i execute ntpdate hq-gw
i get :
ntpdate[pid]: adjust time server hq-gw offset ....
if i execute ntptrace hq-gw
i get :
198.w.x.1: stratum 15, offset -1.362497, synch distance 0.05914
196.z.y.2:    *Timeout*

If i move pvt-ntp to the 198.w.x network,
then clients can connect to it.
if i move it to the 10.131.156 network
then clients get "no server suitable for synchronization found"

Please advise.


Vikash

---------------------------------------------
This message was sent using M-Web Airmail.
JUST LIKE THAT
Are you ready for 10-digit dialling?
To find out how this will affect your Internet connection go to www.mweb.co.za/ten
http://airmail.mweb.co.za/



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E18HdRs-0002oj-00>