Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Sep 2002 09:44:28 -0400 (EDT)
From:      Trish Lynch <trish@bsdunix.net>
To:        <net@freebsd.org>
Subject:   ipv6 tunneling over ipv4 acting weird
Message-ID:  <20020912094213.J6060-100000@femme.sapphite.org>

next in thread | raw e-mail | index | archive | help
I may be doing something wrong, but as far as I know, everything looks
right:

I'm trying to get a tunnel that previously worked working again.

this is on FreeBSD 5.0-CURRENT

ifconfig gif0 create
ifconfig gif0 tunnel 68.50.99.190 64.71.128.82
ifconfig gif0 inet6 2001:470:1F00:FFFF::AD 2001:470:1F00:FFFF::AC prefixlen 128
route -n add -inet6 default 2001:470:1F00:FFFF::AC


femme:~# ifconfig gif0
gif0: flags=8051 mtu 1280
tunnel inet 68.50.99.190 --> 64.71.128.82
inet6 fe80::2d0:b7ff:fe23:3a0f%gif0 prefixlen 64 scopeid 0x5
inet6 2001:470:1f00:ffff::ad --> 2001:470:1f00:ffff::ac prefixlen 128


All looks correct however when ping6ing the peer, I get no response, so I
did a tcpdump on the gif0 interface:

09:35:35.338762 sapphite-pt.tunnel.tserv1.fmt.ipv6.he.net >
sapphite.tunnel.tserv1.fmt.ipv6.he.net: icmp6: echo request
09:35:36.338752 sapphite-pt.tunnel.tserv1.fmt.ipv6.he.net >
sapphite.tunnel.tserv1.fmt.ipv6.he.net: icmp6: echo request
09:35:37.338746 sapphite-pt.tunnel.tserv1.fmt.ipv6.he.net >
sapphite.tunnel.tserv1.fmt.ipv6.he.net: icmp6: echo request
09:35:38.338790 sapphite-pt.tunnel.tserv1.fmt.ipv6.he.net >
sapphite.tunnel.tserv1.fmt.ipv6.he.net: icmp6: echo request

If I then do a tcpdump on the fxp1 interface (external ipv4 interface)....


femme:~# tcpdump -i fxp1 host 64.71.128.82
tcpdump: listening on fxp1
09:36:28.456322 64.71.128.82 > listmistress.org:
sapphite.tunnel.tserv01.fmt.ipv6.he.net >
sapphite-pt.tunnel.tserv1.fmt.ipv6.he.net: icmp6: echo reply
09:36:29.339881 listmistress.org > 64.71.128.82:
sapphite-pt.tunnel.tserv1.fmt.ipv6.he.net >
sapphite.tunnel.tserv1.fmt.ipv6.he.net: icmp6: echo request
09:36:29.448975 64.71.128.82 > listmistress.org:
sapphite.tunnel.tserv1.fmt.ipv6.he.net >
sapphite-pt.tunnel.tserv1.fmt.ipv6.he.net: icmp6: echo reply
09:36:30.339941 listmistress.org > 64.71.128.82:
sapphite-pt.tunnel.tserv1.fmt.ipv6.he.net >
sapphite.tunnel.tserv1.fmt.ipv6.he.net: icmp6: echo request
09:36:30.446743 64.71.128.82 > listmistress.org:
sapphite.tunnel.tserv1.fmt.ipv6.he.net >
sapphite-pt.tunnel.tserv1.fmt.ipv6.he.net: icmp6: echo reply
09:36:31.339905 listmistress.org > 64.71.128.82:
sapphite-pt.tunnel.tserv1.fmt.ipv6.he.net >
sapphite.tunnel.tserv1.fmt.ipv6.he.net: icmp6: echo request


Why is the reply not being tunneled back? it works on my OpenBSD box, just
not on my FreeBSD one (the one that I route with)

-Trish

--
Trish Lynch					   trish@bsdunix.net
Ecartis Core Team 			      trish@listmistress.org
Key fingerprint = C44E 8E63 6E3C 18BD 608F  E004 9DC7 C2E9 0E24 DFBD



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020912094213.J6060-100000>