On 22 March 2011 03:00, J. Hellenthal <jh...@dataix.net> wrote: > > Hi Matt, > > Unofficially not sure if you have already checked into this so I am not sure > if it is really a solution to your problem but may be a step forward. Check > out the man page for ip6addrctl(8) that allows you to set a precedence for > each prefix/route. The default output of ip6addrctl(8) can be dumped into > /etc/ip6addrctl.conf where it will also be parsed and restored upon reboot. >
This does indeed look like exactly what I was after however I can't seem to get it to do anything unless I'm using it wrong. root@tao[~]# ip6addrctl show Prefix Prec Label Use ::1/128 50 0 0 ::/0 40 1 155126 2002::/16 30 2 0 ::/96 20 3 0 ::ffff:0.0.0.0/96 10 4 0 The IP on vr0 is 2a01:348:294::1/64 and the IP on gif0 is 2a01:348:6:45c::2/128. Right now if I ping6 ipv6.google.com I get this PING6(56=40+8+8 bytes) 2a01:348:6:45c::2 --> 2a00:1450:8002::67 so it's sourcing traffic from the gif0 IP. I assume in that list the higher the precedence the higher the priority so I ran "ip6addrctl add 2a01:348:294::/64 45 5". This makes no difference. Traffic still comes from the gif0 IP. I also tried adding the gif0 prefix with "ip6addrctl add 2a01:348:6:45c::2/128 44 6" to make it lower but same effect. In case I got the precedence the wrong way round I tried reversing it. Same effect. So I guess I'm not using it correctly. Can you enlighten me as to what I'm doing wrong with it? Matt. _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"