lkml.org 
[lkml]   [1996]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: ARP: arp called for own IP address
Alan Cox (alan@cymru.NET) wrote:
: > Perhaps checking for own ip address should be done before routing is
: > performed, Alan?

: Probably. I think I'll avoid fiddling with that until post 2.0 just in case

Moreover, RFC1812 teaches us to check for directly attached
interfaces BEFORE route table lookup. (One consequence of this requirement
is that kernel should correctly route packets even if no routing
tables created!) We might follow this recommendation,
but it is so ugly... When remaking routing code I decided
that this recommendation was artifact of before-CIDR epoch and
ignored it (RFC1812 is just draft, anyway).

Now all the scheme is nice and simple, routing tables are
the only source of routing information. If someone forget to create
route table entry for his own address, it is his fault.

Alexey Kuznetsov.




\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.086 / U:2.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site