From owner-freebsd-net@FreeBSD.ORG Mon Oct 3 20:58:24 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 810A5106564A for ; Mon, 3 Oct 2011 20:58:24 +0000 (UTC) (envelope-from matt@xtaz.co.uk) Received: from mail.xtaz.co.uk (tao.xtaz.co.uk [IPv6:2a01:348:294::1]) by mx1.freebsd.org (Postfix) with ESMTP id 392618FC1B for ; Mon, 3 Oct 2011 20:58:24 +0000 (UTC) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: gmail) by mail.xtaz.co.uk (Postfix) with ESMTPSA id 22CAAB07543 for ; Mon, 3 Oct 2011 21:58:20 +0100 (BST) Received: by vws11 with SMTP id 11so4524185vws.13 for ; Mon, 03 Oct 2011 13:58:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.29.46 with SMTP id g14mr391807vdh.295.1317675498773; Mon, 03 Oct 2011 13:58:18 -0700 (PDT) Received: by 10.52.159.103 with HTTP; Mon, 3 Oct 2011 13:58:18 -0700 (PDT) In-Reply-To: References: Date: Mon, 3 Oct 2011 21:58:18 +0100 Message-ID: From: Matt Smith To: "Li, Qing" Content-Type: text/plain; charset=ISO-8859-1 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, 03 Oct 2011 20:58:24 -0000 On 3 October 2011 21:42, Li, Qing wrote: > > Hi, > > I saw the thread but I was traveling the whole of last week, did not > have a system to work on. > > The problem you encountered on gif was due to a bug in the IPv6 code. > > I believe have a patch but I need to do more testing. I will post it shortly. > > --Qing Just to let you know that I was doing a lot of testing off of the mailing list with Hiroki Sato and we basically discovered that I was missing an alias on my lo0 interface. He first advised me to try testing with adding a /126 to gif0 rather than a /128 which worked successfully. Then he advised me to go back to the original configuration but also run ifconfig lo0 2a01:348:6:45c::2/128 alias which added the correct routes and resolved the problem. Whilst this is a workaround it obviously doesn't resolve the actual root cause so thank you if you come up with a patch. I'm still really confused though why it worked before my power failure and failed afterwards when as far as I'm aware nothing has changed on the system. I'll await the patch and test it out when you post it. Regards, Matt.