From owner-freebsd-net@FreeBSD.ORG Mon Sep 26 16:17:04 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 423A71065670; Mon, 26 Sep 2011 16:17:04 +0000 (UTC) (envelope-from matt@xtaz.co.uk) Received: from mail.xtaz.co.uk (xtaz.co.uk [87.194.206.163]) by mx1.freebsd.org (Postfix) with ESMTP id 9DE5E8FC14; Mon, 26 Sep 2011 16:17:03 +0000 (UTC) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) (Authenticated sender: gmail) by mail.xtaz.co.uk (Postfix) with ESMTPSA id A668BB07733; Mon, 26 Sep 2011 17:17:01 +0100 (BST) Received: by vws11 with SMTP id 11so7460537vws.13 for ; Mon, 26 Sep 2011 09:16:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.91.97 with SMTP id cd1mr6142317vdb.218.1317053819507; Mon, 26 Sep 2011 09:16:59 -0700 (PDT) Received: by 10.52.167.194 with HTTP; Mon, 26 Sep 2011 09:16:59 -0700 (PDT) In-Reply-To: <20110926160527.GD57708@in-addr.com> References: <20110926132923.GB57708@in-addr.com> <20110926142114.GC57708@in-addr.com> <20110926160527.GD57708@in-addr.com> Date: Mon, 26 Sep 2011 17:16:59 +0100 Message-ID: From: Matt Smith To: Gary Palmer Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-net@freebsd.org Subject: Re: gif interface not passing IPv6 packets X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Sep 2011 16:17:04 -0000 On 26 September 2011 17:05, Gary Palmer wrote: > > Not sure, however an experiment may be in order > > # ifconfig gif0 > ifconfig: interface gif0 does not exist > # ifconfig gif0 create > # ifconfig gif0 tunnel 1.2.3.4 > # ifconfig gif0 inet6 2abc::2 2abc::1 prefixlen 128 > # netstat -nr -f inet6 | grep 2abc > 2abc::1 link#8 UHL > gif0 > 2abc::2 link#8 UHL > lo0 > # ifconfig gif0 destroy > > See if your routing table is correct after the test you proposed earlier. > > Here we go: root@tao[~]# ifconfig vr0 inet6 2a01:348:294::1 prefixlen 64 -alias root@tao[~]# ifconfig gif0 destroy root@tao[~]# ifconfig gif0 ifconfig: interface gif0 does not exist Internet6: Destination Gateway Flags Netif Expire ::/96 ::1 UGRS lo0 ::1 ::1 UH lo0 ::ffff:0.0.0.0/96 ::1 UGRS lo0 (deleted fe80, ff01, ff02 to save space) root@tao[~]# ifconfig gif0 create root@tao[~]# ifconfig gif0 tunnel 192.168.1.2 1.2.3.4 root@tao[~]# ifconfig gif0 inet6 2abc::2 2abc::1 prefixlen 128 root@tao[~]# netstat -nr -f inet6 | grep 2abc 2abc::1 2abc::2 UH gif0 ff01:5::/32 2abc::2 U gif0 ff02::%gif0/32 2abc::2 U gif0 root@tao[~]# ping6 2abc::2 ping6: UDP connect: No route to host You see why I'm exceptionally confused now?!