Subject: Re: i don't understand netbsd ppp :(
To: Andrew Brown <atatat@atatdot.net>
From: None <wojtek@wojtek.from.pl>
List: netbsd-users
Date: 02/18/2001 08:54:25
> 
> 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.

> 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?
 
> this then needs to be removed when the link goes down.
could i add  
> On Sun, Jan 28, 2001 at 04:50:24PM +0100, wojtek@wojtek.from.pl wrote:
> >> > 	inet 195.117.150.137 -> 195.117.150.129 netmask 0xffffffff
> >> >
> >> 
> >> it looks similiar to mine, other than the netmask looks wrong (and the mtu is 
> >> smaller, but that shouldn't stop it working), what's in your options file?
> >netmask was changed by me trying to fix it. default was 0xffffff00.
> >mtu is set by me (works better with slow ppp link)
> >> Routing tables
> >> 
> >> Internet:
> >> Destination        Gateway            Flags     Refs     Use    Mtu  Interface
> >> default            158.152.1.222      UGS         2    10776   1524  ppp0
> >> 10.30.64/24        link#1             UC          0        0   1500  tlp0
> >> 127                127.0.0.1          UGRS        0        0  33228  lo0
> >> 127.0.0.1          127.0.0.1          UH          1        0  33228  lo0
> >> 158.152.1.222      194.222.29.33      UH          1        0   1524  ppp0
> >> 
> >> ppp0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1524
> >>         inet 194.222.29.33 -> 158.152.1.222 netmask 0xffffff00
> >> 
> >> > the same works ok with 10.20.30.1 or 127.0.0.1
> >> 
> >> perhaps it's some other problem, eg filtering? is the machine meant to 
> >> forward connections?  How did you configure ppp?  There's a some stuff in the 
> >it's my home machine. no forwarding, only this ppp and ep0.
> >configured in standard way.
> 
> -- 
> |-----< "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."
>