IPv6 policy based source routing

Matt Smith matt.xtaz at gmail.com
Tue Mar 22 17:25:23 UTC 2011


On 22 March 2011 17:16, Hajimu UMEMOTO <ume at freebsd.org> wrote:
> It's Rule 3 of RFC 3484 which avoids deprecated addresses.
> If this solves your problem, you can do it by the following command:
>
>        ifconfig gif0 inet6 <IPv6 ADDRESS> deprecated
>
> Please note that you don't need to set net.inet6.ip6.use_deprecated to
> 0 for this purpose.

root at tao[~]# ifconfig gif0 inet6 2a01:348:6:45c::2 deprecated
root at tao[~]# ping6 ipv6.google.com
PING6(56=40+8+8 bytes) 2a01:348:294::1 --> 2a00:1450:8002::93

Perfect! That does exactly what I wanted. Traffic is sourced from the
other IP address now. Thank you for this. I was about to try and apply
the patch that you posted but this does the trick.

Regards, Matt.


More information about the freebsd-net mailing list