From owner-freebsd-current@FreeBSD.ORG Thu Dec 7 22:43:34 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 562EB16A417 for ; Thu, 7 Dec 2006 22:43:34 +0000 (UTC) (envelope-from marcus@FreeBSD.org) Received: from av-tac-rtp.cisco.com (hen.cisco.com [64.102.19.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2EF643CD8 for ; Thu, 7 Dec 2006 22:42:34 +0000 (GMT) (envelope-from marcus@FreeBSD.org) X-TACSUNS: Virus Scanned Received: from rooster.cisco.com (localhost [127.0.0.1]) by av-tac-rtp.cisco.com (8.11.7p3+Sun/8.11.7) with ESMTP id kB7MhRf07850 for ; Thu, 7 Dec 2006 17:43:27 -0500 (EST) Received: from [64.102.192.46] (dhcp-64-102-192-46.cisco.com [64.102.192.46]) by rooster.cisco.com (8.11.7p1+Sun/8.11.7) with ESMTP id kB7MhRS22751 for ; Thu, 7 Dec 2006 17:43:27 -0500 (EST) Message-ID: <4578995B.4090305@FreeBSD.org> Date: Thu, 07 Dec 2006 17:44:43 -0500 From: Joe Marcus Clarke Organization: FreeBSD, Inc. User-Agent: Thunderbird 1.5.0.8 (Macintosh/20061025) MIME-Version: 1.0 To: current@FreeBSD.org X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Problem with gif and IPv6 in -CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Dec 2006 22:43:34 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I am running: FreeBSD jclarke-pc 7.0-CURRENT FreeBSD 7.0-CURRENT #81: Thu Dec 7 16:06:32 EST 2006 marcus@jclarke-pc:/usr/obj/usr/src/sys/JCLARKE-PC i386 And I am trying to get a gif IPv6 tunnel up to a Cisco router. I can get this to work on a 6.2-PRERELEASE server, but the -CURRENT machine always claims there is no route to the far end of the point-to-point link. Here is my config: # ifconfig gif0 create # ifconfig gif0 tunnel 172.18.173.17 10.29.100.75 # ifconfig gif0 inet6 3ffe:604::2 3ffe:604::1 prefixlen 128 # ifconfig gi0 gif0: flags=8051 mtu 1280 tunnel inet 172.18.173.17 --> 10.29.100.75 inet6 fe80::211:11ff:fe10:461e%gif0 prefixlen 64 scopeid 0x4 inet6 3ffe:604::2 --> 3ffe:604::1 prefixlen 128 This looks good, and I can ping my local 3ffe:604::2 address. However, when I ping 3ffe:604::1, I get: ping6: UDP connect: No route to host It's not lying. I don't have a route to 3ffe:604::1: # netstat -nr ... ::/96 ::1 UGRS lo0 ::1 ::1 UHL lo0 ::ffff:0.0.0.0/96 ::1 UGRS lo0 2003:a02::/64 link#1 UC em0 2003:a02::1 00:11:11:10:46:1e UHL lo0 3ffe:604::2 link#4 UHL lo0 fe80::/10 ::1 UGRS lo0 fe80::%em0/64 link#1 UC em0 fe80::211:11ff:fe10:461e%em0 00:11:11:10:46:1e UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#3 UHL lo0 fe80::%gif0/64 link#4 UC gif0 fe80::211:11ff:fe10:461e%gif0 link#4 UHL lo0 ff01:1::/32 link#1 UC em0 ff01:3::/32 ::1 UC lo0 ff01:4::/32 link#4 UC gif0 ff02::/16 ::1 UGRS lo0 ff02::%em0/32 link#1 UC em0 ff02::%lo0/32 ::1 UC lo0 ff02::%gif0/32 link#4 UC gif0 The IPv4 address on the other end of the tunnel is reachable, and the Cisco router has no problems finding a route to the FreeBSD machine. Here is the config from the Cisco side: interface Tunnel1 no ip address load-interval 30 ipv6 address 3FFE:604::1/126 ipv6 enable tunnel source 10.29.100.75 tunnel destination 172.18.173.17 tunnel mode ipv6ip Why isn't the other end of the point-to-point tunnel being instantiated in the routing table? If I take this exact config to a 6.2 box, this works just fine, and the far end of the PTP link is instantiated in the routing table. Thanks for any clues you can provide. Joe - -- Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFeJlbb2iPiv4Uz4cRAhoxAJ0ZShVGN2sEkNh0IAomPr/DeUBNdwCgo7bw eSeAc+c1Pc+qBCBWdF0VvtQ= =hYOr -----END PGP SIGNATURE-----