Subject: Re: IPv6 source address selection strategy
To: None <>
From: Olaf Seibert <>
List: current-users
Date: 02/07/2001 18:44:14
On Wed 07 Feb 2001 at 09:50:32 +0900, wrote:
> >>I don't think this is desirable (and IPv4 does not do it like this). Is
> >>there any spec about it?
> >	source address selection algorithm for IPv6 is documented in
> >	sys/netinet6/IMPLEMENTATION, or
> >
> >	(latter one is more recent, but may have some changes made after
> >	the current integration).

3ffe:8114:1000:0000:0000:0000:0000:00dd tunnel		I
3ffe:0b00:0c18:1fff:0000:0000:0000:0149	freenet6 tunnel		
3ffe:2a00:0100:3001:0000:0000:0000:0002	D

It is true that the prexix match between and the
freenet6 tunnel is slightly longer than with the tunnel.
This provides the disambiguation for step 1:

  1. If nonDEP(samescope(D)) is not empty,
     choose a longest matching address against D. If more than one
     address is longest matching, choose arbitrary one provided that
     an address on I is always preferred.

However, this difference is so small that I would say it should not be
considered significant.

> 	there's a spec about it (draft-ietf-ipngwg-default-addr-select-02.txt)
> 	but NetBSD/KAME code is not doing this (yet).

I will read that document next.

> itojun
___ Olaf 'Rhialto' Seibert - rhialto@polder --Soep van de dag, wat zal dat zijn
\X/     --wat kan dat wezen, beter maar het ergste vrezen -Boy Bensdorp