Subject: Re: PPPoE and no route to own IP address
To: David Wetzel <dave@turbocat.de>
From: Ossi Herrala <oherrala@ee.oulu.fi>
List: netbsd-help
Date: 04/11/2006 17:20:20
On Tue, Apr 11, 2006 at 03:12:01PM +0200, David Wetzel wrote:
> Ossi Herrala wrote:
>
> > Something somehere is not setting up a route to my own IP. How can I
> > set it up?
>
> 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
>
Thanks David. That did it!
Maybe add this to ifwatchd(8) man page? I made a quick patch:
http://www.ee.oulu.fi/~oherrala/netbsd/ifwatchd.patch
Thanks again.
--
Ossi Herrala, OH8HUB
PGP: 0x78CD0337 / D343 F9C4 C739 DFFF F619 6170 8D28 8189 78CD 0337
Hi! I am a .signature virus. Copy me into your .signature to join in!