From owner-freebsd-stable@FreeBSD.ORG Fri Jul 13 09:50:58 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1ECDB16A404 for ; Fri, 13 Jul 2007 09:50:58 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from heff.fud.org.nz (203-109-251-39.static.bliink.ihug.co.nz [203.109.251.39]) by mx1.freebsd.org (Postfix) with ESMTP id 4D72313C4A7 for ; Fri, 13 Jul 2007 09:50:57 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: by heff.fud.org.nz (Postfix, from userid 1001) id AAF621CC5D; Fri, 13 Jul 2007 21:40:34 +1200 (NZST) Date: Fri, 13 Jul 2007 21:40:34 +1200 From: Andrew Thompson To: FreeBSD Stable Message-ID: <20070713094034.GD11395@heff.fud.org.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) Subject: gif + ipv6 loses route X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2007 09:50:58 -0000 Hi, I have a box that does a ipv6 6in4 connection to my tunnel broker that is having issues. FreeBSD v6gw.fud.org.nz 6.2-STABLE FreeBSD 6.2-STABLE #0: Wed Jun 6 19:16:50 NZST 2007 thompsa@heff.fud.org.nz:/usr/obj/nanobsd.full/usr/ home/thompsa/scratch/nanobsd/src/sys/CONTIVITY i386 fxp0: flags=8843 mtu 1500 options=48 inet6 fe80::209:97ff:febe:ce2c%fxp0 prefixlen 64 scopeid 0x1 inet 10.76.1.8 netmask 0xffffff00 broadcast 10.76.1.255 inet6 2404:130:1001::1 prefixlen 48 ether 00:09:97:be:ce:2c media: Ethernet autoselect (100baseTX ) status: active gif0: flags=8051 mtu 1280 tunnel inet 10.76.1.8 --> 66.78.130.16 inet6 fe80::209:97ff:febe:ce2c%gif0 prefixlen 64 scopeid 0x6 inet6 2404:130:1:1::2 --> 2404:130:1:1::1 prefixlen 128 Internet6: Destination Gateway Flags Netif Expire ::/96 ::1 UGRS lo0 => default 2404:130:1:1::1 UGS gif0 ::1 ::1 UHL lo0 ::ffff:0.0.0.0/96 ::1 UGRS lo0 2404:130:1:1::1 link#6 UHL gif0 2404:130:1:1::2 link#6 UHL lo0 2404:130:1001::/48 link#1 UC fxp0 2404:130:1001::1 00:09:97:be:ce:2c UHL lo0 2404:130:1001::2 00:50:8b:11:78:7e UHLW fxp0 fe80::/10 ::1 UGRS lo0 fe80::%fxp0/64 link#1 UC fxp0 fe80::209:97ff:febe:ce2c%fxp0 00:09:97:be:ce:2c UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#5 UHL lo0 fe80::%gif0/64 link#6 UC gif0 fe80::209:97ff:febe:ce2c%gif0 link#6 UHL lo0 ff01:1::/32 link#1 UC fxp0 ff01:5::/32 ::1 UC lo0 ff01:6::/32 link#6 UC gif0 ff02::/16 ::1 UGRS lo0 ff02::%fxp0/32 link#1 UC fxp0 ff02::%lo0/32 ::1 UC lo0 ff02::%gif0/32 link#6 UC gif0 It works fine for a few days until the route for 2404:130:1:1::1 disappears from the routing table (there is no other change). Is there some way to debug this? --- v6gw-routes.orig Fri Jul 13 21:24:23 2007 +++ v6gw-routes Fri Jul 13 21:27:15 2007 @@ -4,7 +4,6 @@ default 2404:130:1:1::1 UGS gif0 ::1 ::1 UHL lo0 ::ffff:0.0.0.0/96 ::1 UGRS lo0 -2404:130:1:1::1 link#6 UHL gif0 2404:130:1:1::2 link#6 UHL lo0 2404:130:1001::/48 link#1 UC fxp0 2404:130:1001::1 00:09:97:be:ce:2c UHL lo0 @@ -23,3 +22,4 @@ ff02::%fxp0/32 link#1 UC fxp0 ff02::%lo0/32 ::1 UC lo0 ff02::%gif0/32 link#6 UC gif0 Andrew