On 2011/08/03 15:30, Marco wrote: > Hi, > > I've bound multiple local-unique and global-unique addresses to my trunk0 > interface. > > xxx::2 (should be primary, I want that address to be seen for outbound > connections) > xxx::3 > xxx::4 > > and ping6 selects ::4 as its source address if not explicitly given one. > > ping6 selects ::2 only if this address is the 'last' to appear in > hostname.trunk0. > > I've tried with 4.9-current/i386 generic built on Juli 30th 2011 > > Is this a bug or a undefined ipv6 issue?
ipv6 has complicated source-address selection rules - you don't include enough information to tell whether what you're seeing is expected or not but see rfc3484 before attributing this to a possible bug.
