Disappearing IPv6 default route
John Hay
jhay at meraka.org.za
Sat Sep 30 13:37:02 PDT 2006
On Sat, Sep 30, 2006 at 08:33:11PM +0100, Matthew Seaman wrote:
>
> Dear list,
>
> I've had IPv6 connectivity for some years via an IPv6 in IPv4 gif tunnel
> courtesy of my ISP. However, about a week ago, when I upgraded to
> 6.2-PRERELEASE, I noticed it had mysteriously stopped working. (It may have
> died before last week though; but that is the probable time) So this
> weekend I set out to find out why.
It is a known problem that I caused. We are working on it. If you
want to, you can try this patch. It should fix your problem.
John
--
John Hay -- John.Hay at meraka.csir.co.za / jhay at FreeBSD.org
Index: sys/netinet6/nd6.c
===================================================================
RCS file: /home/ncvs/src/sys/netinet6/nd6.c,v
retrieving revision 1.67
retrieving revision 1.69
diff -I$FreeBSD: -u -r1.67 -r1.69
--- sys/netinet6/nd6.c 16 Sep 2006 06:24:28 -0000 1.67
+++ sys/netinet6/nd6.c 30 Sep 2006 20:25:33 -0000 1.69
@@ -1390,7 +1390,8 @@
ip6_sprintf(&llsol), error));
}
}
- } else if (req == RTM_ADD && SDL(gate)->sdl_alen == 0) {
+ } else if (req == RTM_ADD && SDL(gate)->sdl_alen == 0 &&
+ (rt->rt_flags & RTF_HOST) != 0) {
ln->ln_state = ND6_LLINFO_INCOMPLETE;
}
break;
More information about the freebsd-stable
mailing list