IPv6 routing /48s

Mark Andrews Mark_Andrews at isc.org
Tue Dec 9 19:12:59 CST 2008


In message <20081209233310.GY78345 at burnout.tpb.net>, Niels Bakker writes:
> * Mark_Andrews at isc.org (Mark Andrews) [Wed 26 Nov 2008, 03:20 CET]:
> >It's used for both.
> 
> Yet from /usr/src/lib/libc/getaddrinfo.c
> ---
>             /* Rule 7: Prefer native transport. */
>             /* XXX: not implemented yet */
> ---
> 
> But it is not used to distinguish between 2001: and 2002: as ::/0 has a 
> higher precedence in the default FreeBSD IPv6 address selection policy 
> table.  Where does FreeBSD and by extension KAME get its strong 
> preference for 2001: from?  I just can't find the code.
> 
> (I'm reviving this old thread because you chose to ignore my mail to you 
> but did not fail to reply to a single mail I sent to the list concerning 
> this.)

        /* Rule 5: Prefer matching label. */

	If you have a 2001 address and the destination has a 2001 and 2002
	address the 2001 will sort to the top here.

	Mark
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark_Andrews at isc.org




More information about the NANOG mailing list