netdev
[Top] [All Lists]

Re: [2.4 PATCH] bugfix: ARP respond on all devices

To: Richard Underwood <richard@xxxxxxxxxxxxxxxxx>
Subject: Re: [2.4 PATCH] bugfix: ARP respond on all devices
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Tue, 19 Aug 2003 09:51:05 -0700
Cc: skraw@xxxxxxxxxx, willy@xxxxxxxxx, alan@xxxxxxxxxxxxxxxxxxx, carlosev@xxxxxxxxxxxx, lamont@xxxxxxxxxxxxxxxx, davidsen@xxxxxxx, bloemsaa@xxxxxxxxx, marcelo@xxxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx, linux-net@xxxxxxxxxxxxxxx, layes@xxxxxxxxx, torvalds@xxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
In-reply-to: <353568DCBAE06148B70767C1B1A93E625EAB5B@xxxxxxxxxxxxxxxxxxxxxxxxx>
References: <353568DCBAE06148B70767C1B1A93E625EAB5B@xxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Tue, 19 Aug 2003 17:54:26 +0100
Richard Underwood <richard@xxxxxxxxxxxxxxxxx> wrote:

>       When a HOST sends out an ARP request, it's NOT associated with a
> single connection, it's associated with the host. Why should it pick a
> "random" IP number to send as the source address?

It's not "random", it is using the IP address it intends
to use as the source in packets it will output once the
ARP completes.

In fact, if you look at the code in arp_solicit(), the source address
is coming directly from the packet we are trying to output.

<Prev in Thread] Current Thread [Next in Thread>