Subject: Re: i don't understand netbsd ppp :(
To: None <wojtek@wojtek.from.pl>
From: Andrew Brown <atatat@atatdot.net>
List: netbsd-users
Date: 02/26/2001 14:48:27
>> it has to do with the way bsd code does routing.  if you want the
>
>so here it's NOT default like with linux, where accessing local interface
>is always local.

like i said, it has to do with the way bsd does routing.  i'm not
really clear on it myself, so i don;t want to go too far into it.  :)

>> local interface to get packets through the look back interface, it
>> needs to have a route for that explicitly added, eg:
>> 
>>     route add 195.117.150.137 127.0.0.1
>
>thanks..
>
>could i add it to ip-up?

i don't see why not.

    route add $4 127.0.0.1

>> this then needs to be removed when the link goes down.
>could i add  

to ip-down?  yep.  that should work.

-- 
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org             * "ah!  i see you have the internet
twofsonet@graffiti.com (Andrew Brown)                that goes *ping*!"
andrew@crossbar.com       * "information is power -- share the wealth."