netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* arp_solicit and source ip selection
@ 2011-04-11 19:33 Oskar Berggren
  0 siblings, 0 replies; only message in thread
From: Oskar Berggren @ 2011-04-11 19:33 UTC (permalink / raw)
  To: netdev

Hi,

arp_solicit() tries to use the source IP-address of the IP-packet that
caused an ARP resolution to be necessary, when sending an ARP request.
If the IP-packet is not generated locally, that its source IP cannot
be reused in the ARP packet, and instead inet_select_addr() is called
for the relevant network interface.

Any reason why arp_solicit() could not, or should not, use the routing
subsystem to determine source IP address for the ARP request? That
would enable it to take account of any "src" directives specified in
the routing tables.

/Oskar

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-04-11 19:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-11 19:33 arp_solicit and source ip selection Oskar Berggren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).