From owner-freebsd-net@FreeBSD.ORG Wed Jun 8 23:46:18 2005 Return-Path: X-Original-To: FreeBSD-net@freebsd.org Delivered-To: FreeBSD-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 62B1716A41C; Wed, 8 Jun 2005 23:46:18 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from postfix3-1.free.fr (postfix3-1.free.fr [213.228.0.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A36043D49; Wed, 8 Jun 2005 23:46:17 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from tatooine.tataz.chchile.org (vol75-8-82-233-239-98.fbx.proxad.net [82.233.239.98]) by postfix3-1.free.fr (Postfix) with ESMTP id 547CB1734E4; Thu, 9 Jun 2005 01:46:16 +0200 (CEST) Received: by tatooine.tataz.chchile.org (Postfix, from userid 1000) id A712D407E; Thu, 9 Jun 2005 01:46:00 +0200 (CEST) Date: Thu, 9 Jun 2005 01:46:00 +0200 From: Jeremie Le Hen To: Greg 'groggy' Lehey Message-ID: <20050608234559.GS41050@obiwan.tataz.chchile.org> References: <20050607093717.GA76296@wantadilla.lemis.com> <20050607100958.GU41050@obiwan.tataz.chchile.org> <20050607093717.GA76296@wantadilla.lemis.com> <20050607094848.GB16223@stack.nl> <20050607231218.GD64194@wantadilla.lemis.com> <20050608084946.GI41050@obiwan.tataz.chchile.org> <20050608095703.GM64194@wantadilla.lemis.com> <20050608195837.Q65103@Neo-Vortex.net> <20050608104053.GK41050@obiwan.tataz.chchile.org> <20050608233136.GX64194@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050608233136.GX64194@wantadilla.lemis.com> User-Agent: Mutt/1.5.9i Cc: Marc Olzheim , FreeBSD-net@freebsd.org, Jeremie Le Hen , Neo-Vortex Subject: Re: Problems with gif tunnels 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: Wed, 08 Jun 2005 23:46:18 -0000 Greg, > My understanding is that GRE is to IP as PPP is to SLIP: it allows > multiple protocols to be encapsulated. I've done some tracing with > Ethereal, and the only difference is a four-byte header in front of > the payload for GRE; in an IP tunnel, it's simply missing. I've > written this up in my diary > (http://www.lemis.com/grog/diary-jun2005.html#8), along with the > traces. yes it's usually a simple four-byte header when doing a simple tunnel. But from what I have read [1] and according to what Giorgos said, it seems it can be a lot more longer, depending on the value of the five first bits of the GRE header. Enjoy your tunnel ;-). [1] http://www.networksorcery.com/enp/protocol/gre.htm -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org >