IPv6 over gif(4) broken in 6.2-RELEASE?
hrs at FreeBSD.org
Sat Jan 20 17:45:09 UTC 2007
"Bruce A. Mah" <bmah at freebsd.org> wrote
in <20070120162936.GA18104 at tomcat.kitchenlab.org>:
bm> I'm observing a problem with IPv6 over gif(4) tunnels on 6.2-RELEASE
bm> and recent 6-STABLE, namely that I can't seem to be able to pass
bm> traffic over them.
bm> Essentially, when I configure a gif interface like this:
bm> # ifconfig gif0 inet6 aaaa:bbbb:cccc:dddd::1 aaaa:bbbb:cccc:dddd::2 prefixlen 128
bm> the interface should add a host route to aaaa:bbbb:cccc:dddd::2
bm> through gif0. This is necessary to be able to pass traffic over the
bm> tunnel, particularly since the source and destination addresses of the
bm> link don't need to have any relationship to each other.
bm> However, this route doesn't get installed on recent 6-STABLE.
bm> Therefore there is no way to get an IPv6 packet to the other end of
bm> the tunnel because there's no route for the destination. The most
bm> obvious symptom is that I try to ping the other tunnel endpoint and
bm> ping6: UDP connect: No route to host
bm> I know this worked on RELENG_6 as of June 2006; my home firewall has
bm> been running this code for months without a hitch. It doesn't work in
bm> 6.2-RC2 or 6.2-RELEASE (fresh CD installs on i386, GENERIC kernels),
bm> or this week's RELENG_6 (nanobsd on i386).
bm> I somewhat suspect revs. 126.96.36.199 and 188.8.131.52 to
bm> src/sys/netinet/nd6.c. If I locally revert these two changes (see
bm> diff below), IPv6 over gif(4) works again.
bm> There's another workaround for people stuck in this situation and who
bm> aren't in a position to try this diff. That is to manually install
bm> the host route like this:
bm> # route add -host -inet6 aaaa:bbbb:cccc:dddd::2 -interface gif0 -nostatic -llinfo
I remember Dimitry Andric reported the same problem on -stable on 30
Dec, and after he reverted rev.184.108.40.206 it worked fine again. Do
you have the symptom even on 6.2-RELEASE? Since RELENG_6_2_0_RELEASE
did not have the change, I thought there was no problem.
I will try to reproduce it on my box anyway...
| Hiroki SATO
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20070120/57cccd3f/attachment.pgp
More information about the freebsd-net