Subject: Re: i don't understand netbsd ppp :(
To: None <email@example.com>
From: Andrew Brown <firstname.lastname@example.org>
Date: 02/18/2001 00:28:54
it has to do with the way bsd code does routing. if you want the
local interface to get packets through the look back interface, it
needs to have a route for that explicitly added, eg:
route add 126.96.36.199 127.0.0.1
this then needs to be removed when the link goes down.
On Sun, Jan 28, 2001 at 04:50:24PM +0100, email@example.com wrote:
>> > inet 188.8.131.52 -> 184.108.40.206 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
>> Destination Gateway Flags Refs Use Mtu Interface
>> default 220.127.116.11 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
>> 18.104.22.168 22.214.171.124 UH 1 0 1524 ppp0
>> ppp0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1524
>> inet 126.96.36.199 -> 188.8.131.52 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" >-----|
firstname.lastname@example.org * "ah! i see you have the internet
email@example.com (Andrew Brown) that goes *ping*!"
firstname.lastname@example.org * "information is power -- share the wealth."