Subject: arp table & ppp
To: None <current-users@netbsd.org>
From: Shin'ichiro TAYA <taya@sm.sony.co.jp>
List: current-users
Date: 09/11/2000 20:12:52
Hi all,

I have a trouble regarding to ppp and proxyarp.
I have ppp server running NetBSD 1.5-ALPHA_2.
pppd is executed with arg. below.

#!/bin/sh
/usr/sbin/pppd /dev/tty00 115200 auth init /usr/local/etc/ppp/chat-init-modem crtscts silent XXX.sm.sony.co.jp:YYY.sm.sony.co.jp domain sm.sony.co.jp login proxyarp modem usehostname ms-dns xx.xx.xx.xx asyncmap 0 holdoff 10 persist

XXX.sm.sony.co.jp is a hostname of ppp server.
YYY.sm.sony.co.jp is a hostname assigned to ppp client.

Sometime, client can't connect to any host including ppp server.
At this time, arp table of ppp server looks like follows:

YYY.sm.sony.co.jp (aa.bb.cc.dd) at (incomplete)
YYY.sm.sony.co.jp (aa.bb.cc.dd) at 00:10:5a:85:4b:6d permanent published (proxy only)

My assumption is

(1)While communicating XXX and YYY, connection is accidentally closed.

(2)Arp entry for YYY is deleteded.

(3)XXX attempt to send IP packaet to YYY, but no arp entry for YYY
then create arp entry and search mac address of YYY.

    YYY.sm.sony.co.jp (43.16.48.42) at (incomplete)

(4)Again ppp connection established, then pppd create arp entry

	 YYY.sm.sony.co.jp (43.16.48.42) at 00:10:5a:85:4b:6d permanent published (proxy only)

but do not delete arp entry created at (3)

(5)YYY.sm.sony.co.jp (43.16.48.42) at (incomplete) is found first
and use to send IP packet.

My assumption is correct?
Or my setting of pppd is incorrect?