In article <[EMAIL PROTECTED]> (at Sat, 5 Feb 2005 20:02:42 -0800), "David S. Miller" <[EMAIL PROTECTED]> says:
> > Yes, IPv6 needs "split device" semantics > > (for per-device statistics such as Ip6InDelivers etc), > > and I like later solution. > > Ok. I never read whether ipv6, like ipv4, is specified to support > a model of host based ownership of addresses. Does anyone know? I'm not sure it is explicitly specified, but there're some hints: 1. we need to allow multiple addresses on multiple interfaces. e.g. link-local address 2. if a packet has come from A to link-local address on the other side B, we should not receive it. +-------+ ---->|A B| +-------+ Currently, it does not happen in usual because ndisc does NOT handle addresses on other device. 3. mib document states that we should take statistics on interface which the address belongs to; not the interface where the packet has come from: cited from RFC2011bis: Local (*) packets on the input side are counted on the interface associated with their destination address, which may not be the interface on which they were received. This requirement is caused by the possibility of losing the original interface during processing, especially re-assembly. (*): here it means incoming, but not forwarding. BTW, BSD has similar reference to interface structure in routeing entry. -- Hideaki YOSHIFUJI @ USAGI Project <[EMAIL PROTECTED]> GPG FP: 9022 65EB 1ECF 3AD1 0BDF 80D8 4807 F894 E062 0EEA - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/