Hello.

In article <[EMAIL PROTECTED]> (at Mon, 21 Aug 2006 07:36:19 +0200), Peter 
Bieringer <[EMAIL PROTECTED]> says:

> In IPv6, the behavior is completly different:
> 
> # ip -6 addr show dev eth0  |grep -w inet6 |grep -w global
>     inet6 2001:db8:0:1::11/64 scope global
> 
> # ip -6 addr add 2001:db8:0:1::253/64 dev eth0
> 
> # ip -6 addr show dev eth0  |grep -w inet6 |grep -w global
>     inet6 2001:db8:0:1::253/64 scope global   <- #2 !!!!
>     inet6 2001:db8:0:1::11/64 scope global    <- #1
> 
> So the last added on is now the first in list. Also, it gets no
> "secondary" flag and "ip" doesn't even support this flag.

IPv6 does not have secondary flag. We even reuse that for
IPv6 temporary addresses.

> And the worse thing is that the first one in list (= last added one) is
> now used as default for outgoing connections. Can be easily tested using
> "ping6".
:
> Is this a bug (I hope so) or a (undocumented?) feature?

An implementation decision.
I do not favor changing this so far.

--yoshfuji
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to