From owner-freebsd-net Thu Sep 12 6:44: 9 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A554937B400 for ; Thu, 12 Sep 2002 06:44:04 -0700 (PDT) Received: from femme.sapphite.org (pcp02268182pcs.longhl01.md.comcast.net [68.50.99.190]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3EED143E6E for ; Thu, 12 Sep 2002 06:44:00 -0700 (PDT) (envelope-from trish@bsdunix.net) Received: from localhost (trish@localhost [127.0.0.1]) by femme.sapphite.org (8.12.6/8.12.5) with ESMTP id g8CDiSgo035588 for ; Thu, 12 Sep 2002 09:44:29 -0400 (EDT) (envelope-from trish@bsdunix.net) Date: Thu, 12 Sep 2002 09:44:28 -0400 (EDT) From: Trish Lynch X-X-Sender: To: Subject: ipv6 tunneling over ipv4 acting weird Message-ID: <20020912094213.J6060-100000@femme.sapphite.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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