gif problems in -STABLE

Sean C. Farley sean-freebsd at farley.org
Sat Dec 30 15:18:53 PST 2006


On Sat, 30 Dec 2006, Dimitry Andric wrote:

> Hi,
>
> I just updated one of my machines from RELENG_6 as of 2006-11-03, to
> RELENG_6 as of 2006-12-29.  This caused the IPv6 tunnel which this box
> uses, which had been doing fine for months, to suddenly stop working.
>
> Reverting to my 2006-11-03 kernel restored the tunnel again, so my ISP
> could be ruled out. :)
>
> The symptoms are that the IPv6 default gateway cannot be reached, and
> you'll get "ping6: sendmsg: No route to host" when you try to ping it.
>
> For some reason, the ifconfig command now fails to create the proper
> routing table entries.  With the 2006-11-03 kernel, if I configure my
> gif0 tunnel as follows:

I can confirm my setup with Hurricane Electric also started failing at
some point:
gif_interfaces="gif0"
gifconfig_gif0="AA.BB.CC.DD 64.71.128.83"
ipv6_defaultrouter="AAAA:BBBB:CCCC:DDDD::1C"
ipv6_ifconfig_gif0="AAAA:BBBB:CCCC:DDDD::1D AAAA:BBBB:CCCC:DDDD::1C prefixlen 128"

I needed to add the following to restore the old (working) behavior:
ipv6_static_routes="defroute"
ipv6_route_defroute="AAAA:BBBB:CCCC:DDDD::1C -interface gif0"

Sean
-- 
sean-freebsd at farley.org


More information about the freebsd-stable mailing list