Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Oct 1999 09:52:55 +0100
From:      Richard Morte <ric@sinclairassoc.force9.co.uk>
To:        "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG>
Subject:   Traceroute problems via Gateway
Message-ID:  <3802F6E7.93C772DD@sinclairassoc.force9.co.uk>

next in thread | raw e-mail | index | archive | help
Originally I posed the question as to why Windows clients on the local
(192.168.120) network couldn't access the internet vi a FreeBSD gateway.
Having done alittle more digging I find that I cannot traceroute
(tracert in wins) beyong the local network.

I have ppp with the -alias flag set. After connecting the FreeBSD box to
the net I get the ISP-assigned IP addresses substituted for the 10.0.0.1
and 10.0.0.2 faked IP addresses set in ppp.conf:

tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
   inet 212.56.123.197 --> 195.66.129.122  netmask 0xffff00

or occasionally:

tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
   inet 212.56.111.212 --> 255.255.255.255 netmask 0xffffff
   inet 212.56.111.201 --> 192.168.53.110  netmask 0xffff00

I can ping & traceroute the world from FreeBSD, but not from any windows
clients. Curiously, if I traceroute one of the IP-assigned addresses
from windows, I get:

c:\> tracert 212.56.111.201
Tracing route to 212.56.111.201 over a maximum of 30 hops
 1   1ms   1ms   1ms   212.56.111.201
Trace complete
c:\>

It seems as though tracert is able to resolve the IP address via the
FreeBSD box, but the FReeBSD box is all it sees and reports a single
hop.

I have gateway enable="YES" in rc.conf; ppp is in -alias mode; no
fireall configured; natd not running because ppp is in -alias mode.

I have been through the various configurations many times, but cannot
spot anyting obviously wrong. Any suggestions?

Many thanks,
Ric


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?3802F6E7.93C772DD>