arp request to a different subnet
David A. Bandel
david
Mon May 17 11:29:07 PDT 2004
On Sat, 30 Mar 2002 22:28:52 -0500
begin Joel Hammer <Joel at hammershome.com> spewed forth:
> I will ask the question up front, then give the long, sorry story if
> more details are needed to figure this out:
> Question:
> How can I get an arp request to be transmitted across a gateway to a
> different subnet?
> This is the arp request:
> arp who-has 192.168.1.3 tell 192.168.0.2
> No answer is received.
Short answer: arp doesn't cross subnet boundaries. Reason: arp is only
for systems connected directly to each other. If it's not on the same
wire (connected to the same hub), then it needs to arp the gateway's
address, and the gateway needs to forward. Linux knows this. M$ doesn't.
So if all three systems are connected to the same hub but are on
different subnets (per their netmask), M$ may do things that violate the
RFCs, but Linux won't.
So you should _never_ see an arp for a packet crossing subnets like you
have above. What you are showing is borken, borken, borken.
Ciao,
David A. Bandel
--
Focus on the dream, not the competition.
-- Nemesis Racing Team motto
More information about the Linux-users
mailing list