From: Peter Bieringer <pb@bieringer.de>
To: netdev@vger.kernel.org
Cc: Mark Smith <ipng@69706e6720323030352d30312d31340a.nosense.org>,
usagi-users@linux-ipv6.org
Subject: Re: Bug in order of multiple IPv6 addresses per interface? Newest added one is preferred in difference to IPv4
Date: Mon, 21 Aug 2006 12:00:09 +0200 [thread overview]
Message-ID: <44E98429.9030607@bieringer.de> (raw)
In-Reply-To: <20060821185610.07dce833.ipng@69706e6720323030352d30312d31340a.nosense.org>
Mark Smith schrieb:
> Hi,
>
> Sorry not to preserve the list/thread ID, I read the list via nntp/gmane, so please also CC' me directly for replies.
>
>> # 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.
>
>> 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?
>
> Could it be because the new address as a newer and therefore longer
> preferred and valid lifetimes, and therefore becomes a more preferred
> IPv6 source address to use for new connections ?
Hmm, both addresses have:
valid_lft forever preferred_lft forever
Peter
--
Dr. Peter Bieringer http://www.bieringer.de/pb/
GPG/PGP Key 0x958F422D mailto:pb@bieringer.de
Deep Space 6 Co-Founder and Core Member http://www.deepspace6.net/
OpenBC http://www.openbc.com/hp/Peter_Bieringer/
Personal invitation to OpenBC http://www.openbc.com/go/invita/3889
next prev parent reply other threads:[~2006-08-21 10:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-21 9:26 Bug in order of multiple IPv6 addresses per interface? Newest added one is preferred in difference to IPv4 Mark Smith
2006-08-21 10:00 ` Peter Bieringer [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-08-21 5:36 Peter Bieringer
2006-08-21 10:42 ` YOSHIFUJI Hideaki / 吉藤英明
2006-08-21 10:47 ` (usagi-users 03687) " Peter Bieringer
2006-08-21 11:55 ` JINMEI Tatuya / 神明達哉
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44E98429.9030607@bieringer.de \
--to=pb@bieringer.de \
--cc=ipng@69706e6720323030352d30312d31340a.nosense.org \
--cc=netdev@vger.kernel.org \
--cc=usagi-users@linux-ipv6.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).