From owner-freebsd-net@FreeBSD.ORG Wed Jun 8 12:20:54 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 C1E0116A41C for ; Wed, 8 Jun 2005 12:20:54 +0000 (GMT) (envelope-from keramida@FreeBSD.org) Received: from rosebud.otenet.gr (rosebud.otenet.gr [195.170.0.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F0A243D48 for ; Wed, 8 Jun 2005 12:20:53 +0000 (GMT) (envelope-from keramida@FreeBSD.org) Received: from orion.daedalusnetworks.priv (aris.bedc.ondsl.gr [62.103.39.226]) by rosebud.otenet.gr (8.13.4/8.13.4/Debian-1) with SMTP id j58CKpMq018160; Wed, 8 Jun 2005 15:20:52 +0300 Received: from orion.daedalusnetworks.priv (orion [127.0.0.1]) by orion.daedalusnetworks.priv (8.13.4/8.13.4) with ESMTP id j58CKp5c001768; Wed, 8 Jun 2005 15:20:51 +0300 (EEST) (envelope-from keramida@FreeBSD.org) Received: (from keramida@localhost) by orion.daedalusnetworks.priv (8.13.4/8.13.4/Submit) id j58CKpKh001767; Wed, 8 Jun 2005 15:20:51 +0300 (EEST) (envelope-from keramida@FreeBSD.org) Date: Wed, 8 Jun 2005 15:20:51 +0300 From: Giorgos Keramidas To: Jeremie Le Hen , freebsd-net@FreeBSD.org Message-ID: <20050608122051.GA1650@orion.daedalusnetworks.priv> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050608104053.GK41050@obiwan.tataz.chchile.org> Cc: 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 12:20:54 -0000 On 2005-06-08 12:40, Jeremie Le Hen wrote: > > IIRC, > - Linux uses the ipip module to do IP-over-IP tunnel > - FreeBSD uses the gre(4) interface to do GRE tunnels > - GRE is a Cisco product and means ``Generic Routing > Encapsulation''. I don't know what they mean with the term > "Generic" because I have only seen IP encapsulated tunnel so > far. It's not mandatory to tunnel IP over GRE. Other, non IPv4 protocols can be encapsulated in the GRE payload. > According to the GRE header, I guess GRE is far more powerful > than a simple IP-over-IP encapsulation, and I would be glad if > someone could explain us what are the benefits of this protocol. GRE is not a simple encapsulation of an IP packet as the payload of an IP packet. It also includes fields in the outter IP header that may support, among other things: - Source routing - A crude form of authentication (key & sequence number pair) - Separation of tunelled "flows" without the payload inspection IP-IP tunnels may require