Subject: Re: IPv6 source address selection strategy
To: Olaf Seibert <rhialto@polderland.nl>
From: None <itojun@iijlab.net>
List: current-users
Date: 02/07/2001 09:47:54
>I have been playing with IPv6 a bit, an configured myself 2 tunnels, the
>first to freenet6.net, and later the other to ipng.nl.
>
>I noticed that when I set the latter tunnel as the default route, the
>source address of packets was still the address of the former tunnel.
>The result was asymmetric routing: packets went out one tunnel and
>replies came back through the other.
>
>Only when I unconfigured the first address, the source address selected
>was the one from the same (now only) tunnel.
>
>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
	http://www.kame.net/dev/cvsweb.cgi/kame/IMPLEMENTATION.
	(latter one is more recent, but may have some changes made after
	the current integration).

itojun