Subject: Re: ProxyARP
To: Abhishek Khandelwal <abhishek@impulsesoft.com>
From: Ignatios Souvatzis <ignatios@cs.uni-bonn.de>
List: tech-net
Date: 11/24/2000 15:36:19
--BXVAT5kNtrzKuDFl
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Nov 21, 2000 at 10:29:54PM +0530, Abhishek Khandelwal wrote:
>=20
> Actually I have made a routing table coresponding to a Point to Point lin=
k.
> Now for Proxy ARP I have to make another entry into routing table with
> SIN_PROXY Flag set because arp routines of NetBsd looks for ARP entries w=
ith
> Proxy Flag set ( As specified by Richard Stevens Volume1).
> When I make an entry correspondingly then the routing table entry does not
> gets attached to ARP cache and that is where the code fails.

Without seeing at least the addresses, netmasks, etc. you're trying to use,
or your full code, better both, nobody can guess what might be wrong.

e.g., without tricks you can't clone a route (for the ARP entry) when the
address you're trying to put in there falls outside of the route entry for
the interface.

For your special problem, you should look at

a) what pppd does under the proxyarp option
b) the kernel code that is invoked by that

	-is
--=20
 * Progress (n.): The process through which Usenet has evolved from
   smart people in front of dumb terminals to dumb people in front of
   smart terminals.  -- obs@burnout.demon.co.uk (obscurity)

--BXVAT5kNtrzKuDFl
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: 2.6.i

iQEVAgUBOh583jCn4om+4LhpAQG6fwf/an0gmPmNLE/DULDo736Xy/IIxpnBh5ox
Mv/6JQa5WLZ45HUv92MsVV2A9c+KCFMmqkv5fxbTC3MdoyIxKsOkvUg3+lkmOrdd
6OUyTPADxbrkXtMo+OXBPvYLkTsvExG8OJ/VvCmnBrYQMcOQVe3dvQm2CGmy6+K4
DgLDNG7psOij/DlpJUxCH2yjrJ2CQY6jFz0ijWVIU3oehC0ZB2QbbOtjkx6FovI+
vlmbxmEpqDCrsI1NslHTNS0KzFWEhTLN7E6YQ1PI0VfUlF22ULcZvHh5PnZQCz3j
HJdQiivrwqDkgF+g0YD9o7zWBlewj4XC8Pq5c9agl01wvRmFpn38fw==
=i56c
-----END PGP SIGNATURE-----

--BXVAT5kNtrzKuDFl--