From owner-freebsd-net Mon Oct 23 18:38:58 2000 Delivered-To: freebsd-net@freebsd.org Received: from shuttle.wide.toshiba.co.jp (shuttle.wide.toshiba.co.jp [202.249.10.124]) by hub.freebsd.org (Postfix) with ESMTP id 2967137B479 for ; Mon, 23 Oct 2000 18:38:55 -0700 (PDT) Received: from localhost ([3ffe:501:4819:2000:250:4ff:fefe:d85f]) by shuttle.wide.toshiba.co.jp (8.9.1+3.1W/8.9.1) with ESMTP id KAA18631; Tue, 24 Oct 2000 10:23:50 +0900 (JST) Date: Tue, 24 Oct 2000 09:51:16 +0900 Message-ID: From: JINMEI Tatuya / =?ISO-2022-JP?B?GyRCP0BMQEMjOkgbKEI=?= To: "Gallagher, Mick" Cc: freebsd-net@FreeBSD.ORG Subject: RE: GIF IPv6 tunnelling support In-Reply-To: In your message of "Mon, 23 Oct 2000 14:24:53 +0100" <76C92FBBFB58D411AE760090271ED41866E027@RSYS002A> References: <76C92FBBFB58D411AE760090271ED41866E027@RSYS002A> User-Agent: Wanderlust/2.3.0 (Roam) Emacs/20.7 Mule/4.0 (HANANOEN) Organization: Research & Development Center, Toshiba Corp., Kawasaki, Japan. MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII X-Dispatcher: imput version 980905(IM100) Lines: 45 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >>>>> On Mon, 23 Oct 2000 14:24:53 +0100, >>>>> "Gallagher, Mick" said: > As I read it, RFC2473 covers 3 areas: > 1 - Definition of packet encapsulation (in terms of bytes on the wire) > 2 - The implied means of encapsulation (i.e. looping packets through the stack twice) > 3 - Additional extension headers, etc. > 1 is critical. Does the GIF driver and RFC2473 observe the same > method of packet encapsulation? (i.e. Is the inner v6 packet > embedded in the outer by inserting a v6 protocol value (41?) into > the 'next header' field of the outer packet?) Yes, I believe so. > 2 may be important, in that it may implies whether or not the stack > looks after extension header processing. If the GIF driver performs > packet encapsulation but does not handle extension headers, then I > guess this makes tunnel fragmentation impossible. Is this an issue? > (I suppose not, given that Path MTU discovery should prevent > this. Are there any other not-so-desirable implications of lack of > tunnel extension headers that you're aware of?) Actually, the gif output routine recursively calls IPv4 or IPv6 output routine where fragmentation is done if necessary. I'm not sure if path MTU discovery works well for the tunnel link, but it would be anther issue. > 3 I'm not so concerned with. I assume that if we tried to > interoperate GIF with an RFC2473 tunnelling entity, we shouldn't run > into problems since (i) The tunnel encapsulation is (hopefully) the > same, and the (ii) GIF driver will simply ignore Tunnel > Encapsulation Limit destination options. Does this sound reasonable? If your main concern is interoperability between a KAME (i.e. gif) box and another implementation that sends encapsulated packets with the Tunnel Encapsulation Limit option, you're right. The KAME box will simply ignore the (unknown) option, and the packet will be just forwarded. JINMEI, Tatuya Communication Platform Lab. Corporate R&D Center, Toshiba Corp. jinmei@isl.rdc.toshiba.co.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message