Subject: Re: PPPoE and no route to own IP address
To: Ossi Herrala <oherrala@ee.oulu.fi>
From: David Wetzel <dave@turbocat.de>
List: netbsd-help
Date: 04/11/2006 15:12:01
Ossi Herrala wrote:

> Hello list,
> 
> I have a PPPoE connection which works well. But if I traceroute my own
> IP-address I see that packets go to my default route and then back to
> my machine.
(...)

> Something somehere is not setting up a route to my own IP. How can I
> set it up?

hi

in /etc/ppp/ip-up add:

route add -host $4 127.0.0.1 -interface

in /etc/ppp/ip-down add:

route delete -host $4              

dave

-- 
   _  _
 _(_)(_)_  David Wetzel, Turbocat's Development,
(_) __ (_) Buchhorster Strasse 23, D-16567 Muehlenbeck/Berlin, FRG,
  _/  \_   Fax +49 33056 82835 Phone +49 33056 82834
 (______)  http://www.turbocat.de/