[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1198415873.4423.96.camel@localhost>
Date: Sun, 23 Dec 2007 08:17:52 -0500
From: jamal <hadi@...erus.ca>
To: YOSHIFUJI Hideaki /
吉藤英明
<yoshfuji@...ux-ipv6.org>
Cc: dshwatrz@...il.com, davem@...emloft.net, netdev@...r.kernel.org,
kaber@...sh.net
Subject: Re: [PATCH net-2.6][NEIGH] Updating affected neighbours when about
MAC address change
On Sun, 2007-23-12 at 22:04 +0900, YOSHIFUJI Hideaki / 吉藤英明 wrote:
> If the secondary MACs are used with ARP/NDP, we should take care of
> that, but I think we use the primary MAC for ARP/NDP, no?
> (In other words, we always use primary MAC for ARP reply / NA, no?)
I think it maybe a policy decision;
In the IPV4 case, where the system owns the IP addresses for the
classical scenario where there is a single MAC address per ethx then we
always respond with MAC address of ethx wherever the arp request was
received from. I think it is different in the case of IPV6 where the eth
device owns the IP address, no? i.e is that where you are drawing the
concept of primary MAC?
The case of multiple MACs per interface requires further policy
resolution IMO. It would be nice to be able to tell the kernel which MAC
to use when responding for which ip address it owns. This can be then
easily mapped to the routing table src address selection.
Patrick?
cheers,
jamal
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists