[447] in linux-net channel archive

home help back first fref pref prev next nref lref last post

Proxy arp across two ppp lines? How?

daemon@ATHENA.MIT.EDU (Kayvan Sylvan)
Sun Jun 11 17:30:17 1995

Date: Sun, 11 Jun 95 13:39 PDT
To: linux-ppp@vger.rutgers.edu, linux-net@vger.rutgers.edu
From: Kayvan Sylvan <kayvan@Sylvan.COM>

I have a situation where I want to set up a local network (via PPP on
direct serial lines) to access my internet link (PPP on a 28.8 KB
modem line).

I've read the NET-2 docs and the PPP docs. It seems like proxy arp is
what I need to set up, but it's not clear how. I'm not running an
ethernet, my network devices are all ppp devices.

Looking at the proxy arp code in pppd-2.1.2d, it seems that pppd does
not set up a proxy arp entry for anything but ethernet. Is this true?

[...]
/*
 * Check that the interface is up, and not point-to-point
 * or loopback.
 */
	    if (ioctl(s, SIOCGIFFLAGS, &ifreq) < 0)
		continue;
	    if ((ifreq.ifr_flags &
		 (IFF_UP|IFF_BROADCAST|IFF_POINTOPOINT|IFF_LOOPBACK|IFF_NOARP))
		!= (IFF_UP|IFF_BROADCAST))
		continue;

The arp program in net-tools-1.2.0 seems to support many different
hardware types, including "slip" and "ppp" along with "ether".

Has anyone set up a local network like this?

Can anyone give me any hints?

			---Kayvan

"The trust and respect of a child is an honor to be earned, not demanded."
Kayvan Sylvan         | Sylvan Associates           | Proud Dad of:
kayvan@Sylvan.COM     | http://www.isp.net/~kayvan  | Katherine Yelena (8/8/89)
(408) 978-1407 PGP OK | Ask me about Avatar.        | Robin Gregory (2/28/92)

home help back first fref pref prev next nref lref last post