Subject: pppd/proxyarp <-> routed problem
To: None <current-users@netbsd.org>
From: Markus Kilbinger <kilbi@rad.rwth-aachen.de>
List: current-users
Date: 02/08/2000 11:51:31
Hi!

I encountered the following problem when running dailin connections
with 'pppd' and 'proxyarp' option on a NetBSD/i386 machine
(v.1.4.2_ALPHA, former versions also) if 'routed' is acquiring new
routing information _after_ such a PPP connection ist established. In
this case new upcoming routers were put into the routing table
attached to the PPP device and not to the ethernet device!

My config:

Machines ethernet (we0) ip address: 10.31.2.143/24
Established PPP connection (netstat -rna):

> [...]
> 10.31.2.11         10.31.2.143        UH          0      570      -  ppp0
> 10.31.2.11         00:00:c0:af:5f:ae  UHLS2       0        0      -  we0
> [...]

After this PPP connection is established 'routed' acquired routing
information is put into the routing table like this:

> 10.31.10/24        10.31.2.221        UG          0        0      -  ppp0
> 10.31.11/24        10.31.2.222        UG          0        0      -  ppp0
> 10.31.12/24        10.31.2.223        UG          0        0      -  ppp0
                                                                       ^^^^
where I expected my ethernet device (we0). Is this normal?

Is there a way to 'correct' this, anyway?

Thanks, Markus.