From owner-freebsd-net Sun May 13 11:32:17 2001 Delivered-To: freebsd-net@freebsd.org Received: from smtp1.cluster.oleane.net (smtp1.cluster.oleane.net [195.25.12.16]) by hub.freebsd.org (Postfix) with ESMTP id 15AF237B43C; Sun, 13 May 2001 11:32:14 -0700 (PDT) (envelope-from rguyom@pobox.com) Received: from diabolic-cow.chatgris.net (dyn-1-1-003.Orl.dialup.oleane.fr [195.25.26.3]) by smtp1.cluster.oleane.net with ESMTP id f4DIW9u00605; Sun, 13 May 2001 20:32:10 +0200 (CEST) Received: by diabolic-cow.chatgris.net (Postfix, from userid 1000) id 5572E224; Fri, 11 May 2001 00:06:28 +0200 (CEST) Date: Fri, 11 May 2001 00:06:27 +0200 From: =?iso-8859-1?Q?R=E9mi_Guyomarch?= To: Robert Watson Cc: Rob Harris , freebsd-net@freebsd.org Subject: Re: Bridge over tun0 waters... Message-ID: <20010511000627.A71704@diabolic-cow.chatgris.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: ; from rwatson@freebsd.org on Wed, May 09, 2001 at 11:41:51AM -0400 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, May 09, 2001 at 11:41:51AM -0400, Robert Watson wrote: > > At least in FreeBSD 5.0-CURRENT, and quite possibly in RELENG_4, there's > an if_tap driver, which serves a similar function to the if_tun driver. > if_tap appears as /dev/tap*, and as tap* interfaces, and appears as an > ethernet device. It is used by our VMware port to allow VMware to make > use of a virtual interface which is then bridged as needed with other > local ethernet devices. It would be easy to imagine a tunneling program > that sat on /dev/tap0 on two machines, and linked them using UDP, then > using the kernel bridging support (either the bridge support in > ethernet.c, or using ng_bridge). ports/net/vtun does exactly that (tunneling ethernet over UDP with /dev/tap). -- Rémi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message