Re: ipv6 source address selection

2013-10-20 Thread Mikael Abrahamsson
On Sun, 20 Oct 2013, Ole Troan wrote: wouldn't this be RFC6724: Rule 8: Use longest matching prefix. If CommonPrefixLen(SA, D) CommonPrefixLen(SB, D), then prefer SA. Similarly, if CommonPrefixLen(SB, D) CommonPrefixLen(SA, D), then prefer SB. The host has a bunch of /64s. I am

Re: ipv6 source address selection

2013-10-20 Thread Sander Steffann
Hi Mikael, I don't understand why the host would choose source address in 2001:db8:1:1000:/64 when pinging 2001:db8:1:1001:1/128 because of this, but use 2001:db8:1:8000::/64 when pinging the rest of the Internet Still Longest prefix matching :-) Don't think of prefixes as

ipv6 source address selection

2013-10-19 Thread Mikael Abrahamsson
I'm trying to influence my source address selection. First I thought I'd figure out how it works by default. I have a /48. Let's call it 2001:db8:1::/48 I created three /64s on the same LAN with A-bit set so clients would do SLAAC within these: 2001:db8:1::/64 2001:db8:1:1000:/64

Re: ipv6 source address selection

2013-10-19 Thread Arifumi Matsumoto
Hi, I agree with Ole. The longest matching rule was already there in RFC 3484. 2013/10/20 Ole Troan otr...@employees.org: Mikael, I'm trying to influence my source address selection. First I thought I'd figure out how it works by default. I have a /48. Let's call it 2001:db8:1::/48 I