[ipv6hackers] IPv6 source address selection on Linux

Gert Doering gert at space.net
Sun Jul 22 20:19:46 CEST 2012


On Thu, Jul 19, 2012 at 05:07:41PM +0200, Sander Smeenk wrote:
> I'm fairly certain i need to fiddle with gai.conf and label / preference
> settings - but there is no information on what i should put in there to
> get the behaviour as described:
> - source from fded:e128:5900::1 *ONLY* for traffic to 2001:db8::1
> - source from public routable v6 address for anything else

If you ever get that to work, please post here so I can learn - I've
tried something similar recently (two GUAs from two different upstream
providers, and trying to insert a policy "use GUA 1 for all connects
TO 2001:608::/32, and GUA 2 for everything *else*") and couldn't make
it do anything.

What I did not test was "change gai.conf, then reboot" - mostly due
to lack of available time.  I just gave up and cursed...

Gert Doering
        -- NetMaster
have you enabled IPv6 on something today...?

SpaceNet AG                        Vorstand: Sebastian v. Bomhard
Joseph-Dollinger-Bogen 14          Aufsichtsratsvors.: A. Grundner-Culemann
D-80807 Muenchen                   HRB: 136055 (AG Muenchen)
Tel: +49 (89) 32356-444            USt-IdNr.: DE813185279

More information about the Ipv6hackers mailing list