Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Sep 1995 00:05:01 +0200
From:      Rob Simons <rob@Simplex.NL>
To:        questions@freebsd.org
Subject:   Re: PPP acting up
Message-ID:  <199509172205.AAA13376@Simplex.NL>

next in thread | raw e-mail | index | archive | help
| I believe that the proxyarp flag causes the pppd to go beserk and
| consume lots of processor time for no apparent reason. I knew someone
| who ran pppd and his machine never saw a processor load below 1.0 as a
| result. The fact that the proxyarp flag doesn't work, and is common in
| both these situations makes me suspicious.
| 
| The friend also despaired of pppd not hanging up cleanly, and hacked
| together a script which ping'ed the remote end every so often and
| killed the pppd if it didn't reply. A hack, but it work(ed).


#!/bin/sh
#
# interface tty speed localip remoteip

arp -s $5 0:0:1c:6:1e:d2 pub


Ok, the moment I wrote the prevous letter I saw the error, the above
line should of course be :

/usr/sbin/arp -s $5 0:0:1c:6:1e:d2 pub

:-(

Well, apparently this solution works for me. options 'proxyarp' is
switched off, no more > 100% CPU load and hanging pppd's, and the ip-up
makes sure the arp entry is made.

Hopefully this has been helpful for others,

- Rob 


/*--------------------------------------------------------------*\
/*   Rob Simons                      |  rob@simplex.nl          *\
/*   ------------  |  -------------  |  --------  |  -------    *\
/*   Novell Netware System Operator  |  UNIX system operator    *\
/*--------------------------------------------------------------*\



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199509172205.AAA13376>