Subject: Re: better ARP handling in IPv4 alias address
To: Andrew Brown <atatat@atatdot.net>
From: Jun-ichiro itojun Hagino <itojun@iijlab.net>
List: tech-net
Date: 07/04/2001 08:21:55
>> > 	do people think it worthwhile to bring this in?  basically, this
>> > 	changes behavior of ARP logic against IPv4 alias addresses (non-first
>> > 	address).
>> > 	http://www.NetBSD.org/cgi-bin/query-pr-single.pl?number=13311
>>
>>I.e. makes them act like first-class addresses?  If so, I'm all for
>>it.
>
>first class, with cards that recline and become beds.  i wonder why it
>wasn't always like this...and that one had to add explicit routes for
>your own addresses.

	there are a couple of issues remain, however (i should have appended
	it to the PR):
	- for off-link destinations, the primary (1st)  address will be used as
	  the source address on packets.  we can still trick it by changing
	  rt->rt_ifa though.
	- if the primary (1st) address gets removed, subnet route (like 10/8
	  for 10.0.0.1/8) goes away.  to fix this we need to change rt_ifinit()
	  substantially.

itojun