Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Mar 2011 17:25:21 +0000
From:      Matt Smith <matt.xtaz@gmail.com>
To:        Hajimu UMEMOTO <ume@freebsd.org>
Cc:        freebsd-net@freebsd.org
Subject:   Re: IPv6 policy based source routing
Message-ID:  <AANLkTi=AO1rATXj1aUZ8VMMtT-Mix=PWt_H%2BUEN621V=@mail.gmail.com>
In-Reply-To: <ygewrjr13ei.wl%ume@mahoroba.org>
References:  <AANLkTi=BOnUbfnmiqgaKj6jzyLjbKMedENbQBvYm_8Rj@mail.gmail.com> <AANLkTimZ7CWWnJMOECEFvjDUVWxqX94fqZg9pvQhiYPL@mail.gmail.com> <ygewrjr13ei.wl%ume@mahoroba.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 22 March 2011 17:16, Hajimu UMEMOTO <ume@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:
>
> =A0 =A0 =A0 =A0ifconfig 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@tao[~]# ifconfig gif0 inet6 2a01:348:6:45c::2 deprecated
root@tao[~]# ping6 ipv6.google.com
PING6(56=3D40+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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=AO1rATXj1aUZ8VMMtT-Mix=PWt_H%2BUEN621V=>