Subject: Re: ppp proxyarp problem
To: None <current-users@NetBSD.ORG>
From: Christos Zoulas <christos@zoulas.com>
List: current-users
Date: 12/19/1997 08:31:07
In article <199712181138.GAA05250@zippy.bernstein.com> entropy@zippy.bernstein.com (maximum entropy) writes:
>
>Hi,
>
>tardis is an i386 running 1.3_ALPHA.
>seki is an atari running 1.3_BETA.
>
>tardis has a SLIP link to the outside world (on tty00), and a network
>card to my local net.  A second serial port (tty01) has a dedicated
>PPP link to seki, with the proxyarp option set.  tardis's default
>route is through sl0.
>
>seki has a PPP link (on serial2) to tardis with the defaultroute
>option set.
>
>Everything works fine for the most part.  However, if I reboot seki,
>sometimes the proxy entry in the arp cache on tardis isn't deleted.
>When seki comes back up and tries to reestablish the ppp session, I
>get:
>
>Dec 17 03:16:03 tardis pppd[24441]: Couldn't set interface address: Address 206.20.83.195 already exists
>Dec 17 03:16:03 tardis pppd[24441]: found interface ep0 for proxy arp
>Dec 17 03:16:03 tardis pppd[24441]: local  IP address 206.20.83.195
>Dec 17 03:16:03 tardis pppd[24441]: remote IP address 206.20.83.203
>
>...and the PPP link is nonfunctional.  If I kill pppd on tardis, then
>"arp -d seki", and restart pppd, all is well again.

This is a bug that was added when sys-bsd.c was converted to use rtm_add
to add the arp entry instead of system("arp .."). Please send-pr it.

christos