Subject: Re: ppp routing difficulties
To: None <kpneal@pobox.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 02/07/2002 22:38:24
On Tue, Feb 05, 2002 at 09:05:40PM -0500, kpneal@pobox.com wrote:
> I'm having a bit of trouble getting the routing correct for
> my ppp connection. 
> 
> I have a network in my house that is private. I also have a
> network that is visible on the Internet. At the border is a
> NetBSD/alpha 1.5.2 box with a ppp connection. 
> 
> I am able to send data /through/ the gateway with no problems.
> The issue is that I cannot send data /from/ the gateway to the
> Internet. IE, on the gateway from ping www.netbsd.org I get the error 
> "ping: sendto: No route to host". 
> 
> As an added complication, the data sent from the gateway machine
> to the internet needs to come from a different address than the
> address of the ppp0 interface. The gateway data sent to the 'net
> needs to come from 209.42.217.34. 
> 
> I am using the defaultroute option in my pppd config file. 

You can give 209.42.217.34 to your ppp interface too (you can have the same
address on both a point to point and a broadcast interface). This would sovle
the problem I guess.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
--