Subject: bin/4723: pppd proxyarp is not deleting arp entries correctly
To: None <gnats-bugs@gnats.netbsd.org>
From: maximum entropy <entropy@tardis.bernstein.com>
List: netbsd-bugs
Date: 12/19/1997 13:25:03
>Number: 4723
>Category: bin
>Synopsis: pppd proxyarp is not deleting arp entries correctly
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Dec 19 12:50:00 1997
>Last-Modified:
>Originator: maximum entropy
>Organization:
>Release: <NetBSD-current source date>19971218
>Environment:
NetBSD/i386 1.3_ALPHA and NetBSD/atari 1.3_BETA
System: NetBSD tardis.bernstein.com 1.3_BETA NetBSD 1.3_BETA (C466DE) #0: Thu Dec 18 20:02:35 EST 1997 entropy@tardis.bernstein.com:/usr/src/sys/arch/i386/compile/C466DE i386
>Description:
]Date: Thu, 18 Dec 1997 06:38:07 -0500 (EST)
]From: maximum entropy <entropy@zippy.bernstein.com>
]To: current-users@netbsd.org
]Subject: ppp proxyarp problem
]
]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.
]
]It seems that this only happens if seki has open network connections
]when it is rebooted.
]
]Configuration info:
]
]tardis:/etc/ppp/peers/seki :
]tty01 38400
]noauth
]crtscts
]nodefaultroute
]206.20.83.195:206.20.83.203
]local
]persist
]proxyarp
]
]seki:/etc/ppp/peers/tardis :
]ser02 38400
]noauth
]crtscts
]defaultroute
]206.20.83.203:206.20.83.195
]local
]persist
]noproxyarp
]
]Is this a configuration problem or a bug?
]
]Date: Fri, 19 Dec 1997 08:31:07 GMT
]From: christos@zoulas.com (Christos Zoulas)
]
]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.
>How-To-Repeat:
See above
>Fix:
Don't know.
>Audit-Trail:
>Unformatted: