Hi,

>>>>> On Tue, 15 Mar 2011 14:37:20 +0000
>>>>> Matt Smith <matt.x...@gmail.com> said:

matt> I have been doing some more research into this and it appears the
matt> proper way to accomplish what I want is to set
matt> net.inet6.ip6.use_deprecated to 0 and then deprecate the IPv6 address
matt> on the gif0 interface by setting the preferred lifetime to zero. This
matt> apparently makes the source address selection algorithm choose the
matt> alternative address on vr0. I can do the first part but I can't figure
matt> out how to do the second part. Any ideas surrounding this?

matt> The windows command to do this is: "netsh interface ipv6 set address
matt> IP6Tunnel <client endpoint IP> preferredlifetime=0s" so I need a
matt> FreeBSD equivalent of this command. Does such a thing exist? I've had
matt> a quick search through the ifconfig man page etc but nothing jumps out
matt> at me.

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.

Sincerely,

--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
u...@mahoroba.org  ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/
_______________________________________________
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"

Reply via email to