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).
Robert N M Watson FreeBSD Core Team, TrustedBSD Project
[EMAIL PROTECTED] NAI Labs, Safeport Network Services
On Wed, 9 May 2001, Rob Harris wrote:
>
> This message was posted Feb of '99.
> I was wondering if anyone has made an efforts towards this yet.
> (i.e. Wanna make sure I don't make a hack that's already made.)
> Thanks.
> --Rob
>
> > the bridges above will be not be doing any IP routing, just forwarding
> > IP packets based on MAC addresses. you can do this with cisco's and
> > i'd assume most other major bridge/router vendors. of course you may
> > run into serious traffic jams if your bridging ethernet over a much
> > slower line, like a 56k.
>
> in fact as many already said the most obvious solution seems to use
> routing, not bridging.
>
> > i'm not sure if this can be done with freebsd however. Luigi's bridge
> > code and ppp would be the place to look (Luigi will probably be able
> > to answer this :).
>
> just because i am called... bridging in freebsd only works on
> ethernet-type networks. Someone already asked me that i also
> add support for 'tun' interfaces so that solutions like the one above
> are possible. Shouldn't be that hard to implement, just isn't there
> right now.
>
> cheers
> luigi
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-net" in the body of the message
>
> --Rob
>
> +--------------------------------------------------------------------------+
> | Rob Harris 8037 Laurel Lakes Court, Laurel MD 301.598.0500 x2236 |
> | Cidera, Inc. [EMAIL PROTECTED] fax: 301.598.0837 |
> +--------------------------------------------------------------------------+
> "Don't rush me sonny. You rush a miracle man, you get rotten miracles."
> --Miracle Max, The Princess Bride
>
>
>
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-net" in the body of the message
>
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message