From owner-freebsd-net@FreeBSD.ORG Tue Oct 4 00:00:25 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 3C087106566C for ; Tue, 4 Oct 2011 00:00:25 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail.allbsd.org (gatekeeper-int.allbsd.org [IPv6:2001:2f0:104:e002::2]) by mx1.freebsd.org (Postfix) with ESMTP id 694728FC15 for ; Tue, 4 Oct 2011 00:00:24 +0000 (UTC) Received: from alph.allbsd.org (p1023-ipbf1601funabasi.chiba.ocn.ne.jp [123.220.25.23]) (authenticated bits=128) by mail.allbsd.org (8.14.4/8.14.4) with ESMTP id p93Nxu0f080917; Tue, 4 Oct 2011 09:00:06 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (localhost [IPv6:::1]) (authenticated bits=0) by alph.allbsd.org (8.14.4/8.14.4) with ESMTP id p93Nxmr1007337; Tue, 4 Oct 2011 08:59:53 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Tue, 04 Oct 2011 08:59:35 +0900 (JST) Message-Id: <20111004.085935.2022185336256720622.hrs@allbsd.org> To: qing.li@bluecoat.com From: Hiroki Sato In-Reply-To: References: X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.3.51 on Emacs 23.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Tue_Oct__4_08_59_35_2011_336)--" Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97 at gatekeeper.allbsd.org X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.3 (mail.allbsd.org [133.31.130.32]); Tue, 04 Oct 2011 09:00:12 +0900 (JST) X-Spam-Status: No, score=-95.8 required=13.0 tests=BAYES_00, CONTENT_TYPE_PRESENT, DIRECTOCNDYN, DYN_PBL, RCVD_IN_PBL, RCVD_IN_RP_RNBL, SPF_SOFTFAIL,USER_IN_WHITELIST autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on gatekeeper.allbsd.org Cc: freebsd-net@FreeBSD.org, matt@xtaz.co.uk 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: Tue, 04 Oct 2011 00:00:25 -0000 ----Security_Multipart(Tue_Oct__4_08_59_35_2011_336)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit "Li, Qing" wrote in : qi> > qi> > Just to let you know that I was doing a lot of testing off of the qi> > mailing list with Hiroki Sato and we basically discovered that I was qi> > missing an alias on my lo0 interface. He first advised me to try qi> > testing with adding a /126 to gif0 rather than a /128 which worked qi> > successfully. Then he advised me to go back to the original qi> > configuration but also run ifconfig lo0 2a01:348:6:45c::2/128 alias qi> > which added the correct routes and resolved the problem. Whilst this qi> > is a workaround it obviously doesn't resolve the actual root cause so qi> > thank you if you come up with a patch. qi> > qi> qi> You don't need any aliases to make this configuration work. qi> qi> Adding the interface alias triggers the code that installs the qi> proper routing entry for the local end of the gif tunnel. qi> qi> The suggested workaround (wrt configuring aliases and lo0 manipulation) qi> is no different from doing the following: Correct, but doing configuration on the same interface multiple times except for adding aliases in our rc.conf framework is trickier so I suggested adding an alias to lo0. It is not the best way, of course. -- Hiroki ----Security_Multipart(Tue_Oct__4_08_59_35_2011_336)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEABECAAYFAk6KTGcACgkQTyzT2CeTzy0WzgCgqi/cvzvVq68g+T/AlapU+uJN ro8An0gNNxwtCFJPFGcoCFKYWRwe/63d =qIYc -----END PGP SIGNATURE----- ----Security_Multipart(Tue_Oct__4_08_59_35_2011_336)----