Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 May 2001 00:06:27 +0200
From:      =?iso-8859-1?Q?R=E9mi_Guyomarch?= <rguyom@pobox.com>
To:        Robert Watson <rwatson@freebsd.org>
Cc:        Rob Harris <rharris@cidera.com>, freebsd-net@freebsd.org
Subject:   Re: Bridge over tun0 waters...
Message-ID:  <20010511000627.A71704@diabolic-cow.chatgris.net>
In-Reply-To: <Pine.NEB.3.96L.1010509113908.11741u-100000@fledge.watson.org>; from rwatson@freebsd.org on Wed, May 09, 2001 at 11:41:51AM -0400
References:  <B71ED73F.67D%rharris@cidera.com> <Pine.NEB.3.96L.1010509113908.11741u-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010511000627.A71704>