From owner-freebsd-net Fri Apr 5 12:40:35 2002 Delivered-To: freebsd-net@freebsd.org Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by hub.freebsd.org (Postfix) with ESMTP id D8F6337B419 for ; Fri, 5 Apr 2002 12:40:07 -0800 (PST) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020405204007.ELPG18078.rwcrmhc51.attbi.com@InterJet.elischer.org>; Fri, 5 Apr 2002 20:40:07 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id MAA37588; Fri, 5 Apr 2002 12:26:43 -0800 (PST) Date: Fri, 5 Apr 2002 12:26:43 -0800 (PST) From: Julian Elischer To: Ke Chen Cc: Lars Eggert , Brooks Davis , freebsd-net@FreeBSD.org Subject: Re: about gif interface! In-Reply-To: <002a01c1dcdd$bfd36570$c2d5ed82@kurt> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org you can do this with no code using the eiface netgraph node and the ksocket netgraph node. (I don't think I have the eiface node in 4.x yet... I'll need to check.) julian On Fri, 5 Apr 2002, Ke Chen wrote: > hi, > thank all of you for such quick reply. > I am sorry for not addressing matters clearly. > In face, I want to do tests on Ethernet over IP. That means one end of > tunnel could encapsulate the whole Ethernet frame into the IP packet. when > the datagrams reach on the other side, the Ethernet frame could be freed > out. > I read from the following article about a easy way to implement it with > OpenBSD. So i think it is reasonable to use it with freeBSD. > http://www.csh.rit.edu/~jon/papers/tunneling/ > > Another way to implement Ethernet over IP is to use vtun, a specially > desgined software. > http://vtun.sourceforge.net > I really appreciated someone could offer some experience on it. > > thank you again. > > best regards, > kurt > > ----- Original Message ----- > From: "Julian Elischer" > To: "Lars Eggert" > Cc: "Ke Chen" ; > Sent: Friday, April 05, 2002 9:27 PM > Subject: Re: about gif interface! > > > > > > .se? > > > > anyhow you may be able to do what you want to do bu you need to > > tell us a bit more.. > > > > what is at the other end of the gif tunnel? > > are you trying o bridge two networks or just add a single > > machine to your network? > > > > > > On Fri, 5 Apr 2002, Lars Eggert wrote: > > > > > Ke Chen wrote: > > > > hi, > > > > > > > > I have some problems about gif interface. > > > > > > > > Could gif interface be bridged together with Ethernet interface? > > > > > > Sorry, I can't help you with Ethernet bridging (never set one up), but I > > > can tell you that you will not need a gif interface for it (that's for > > > IP tunnels). > > > > > > Lars > > > -- > > > Lars Eggert Information Sciences Institute > > > http://www.isi.edu/larse/ University of Southern California > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message