From owner-freebsd-questions Tue Oct 12 2:24:56 1999 Delivered-To: freebsd-questions@freebsd.org Received: from merlins.force9.net (merlins.force9.net [195.166.128.23]) by hub.freebsd.org (Postfix) with SMTP id 3B4E214CA4 for ; Tue, 12 Oct 1999 02:24:50 -0700 (PDT) (envelope-from ric@sinclairassoc.force9.co.uk) Received: (qmail 16493 invoked from network); 12 Oct 1999 09:24:49 -0000 Received: from mayfly.plus.net.uk (HELO mayfly.force9.net) (195.166.128.28) by merlins.force9.net with SMTP; 12 Oct 1999 09:24:48 -0000 Received: (qmail 21775 invoked from network); 12 Oct 1999 09:24:47 -0000 Received: from unknown (HELO sinclairassoc.force9.co.uk) (212.56.123.222) by mayfly.plus.net.uk with SMTP; 12 Oct 1999 09:24:47 -0000 Message-ID: <3802FE62.9EF83F6C@sinclairassoc.force9.co.uk> Date: Tue, 12 Oct 1999 10:24:50 +0100 From: Richard Morte Organization: Sinclair Associates X-Mailer: Mozilla 4.61 [en] (X11; I; FreeBSD 3.2-RELEASE i386) X-Accept-Language: en-GB, en MIME-Version: 1.0 To: Todd Backman Cc: "freebsd-questions@FreeBSD.ORG" Subject: Re: Traceroute problems via Gateway References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Todd Backman wrote: > > are you using natd? > > On Tue, 12 Oct 1999, Richard Morte wrote: > > > 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 mtu 1500 > > inet 212.56.123.197 --> 195.66.129.122 netmask 0xffff00 > > > > or occasionally: > > > > tun0: flags=8051 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. Todd, thanks for replying. No, natd not running - see above comment. But I do have a locally configured DNS and the win boxes do receive the correct name/address after a lookup > > > > 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 > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message