Subject: Re: NetBSD 1.6: Routing (pppoe)
To: Richard Rauch <rauch@rice.edu>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 09/19/2002 21:36:36
On Thu, Sep 19, 2002 at 01:54:39AM -0500, Richard Rauch wrote:
> After some frustration, I gave up trying to use mouse-pppoe under NetBSD
> 1.6 (at least for now). I could get it up to a point where it would
> connect, but I couldn't get a route *to* the IP number assigned to the
> interface. (Hence, I couldn't even ping the interface's IP number, much
> less anything on the other side of the interface.)
>
> Maybe I was doing something dumb, though. (I never really have had to
> deal with routes much explicitly. (^&)
>
>
> I'm also suffering a secondary problem, even with pppoe. After piecing my
> way through the pppoe(4) man-page, I manually ran the commands that were
> suggested as an /etc/ifconfig.pppoe0 file. This seems to work, but now my
> route *to* the pppoe's IP number goes *through* my ISP and back to me.
> I remember seeing this with a plain PPP connection a few years ago, but
> don't remember how I fixed it. (I do remember that I did fix it; never
You probably need to add a route to lo0 for this.
Maybe something like:
route add -host <your IP address> 127.0.0.1 -interface
--
Manuel Bouyer <bouyer@antioche.eu.org>
--