Subject: Re: Tap(4) interface in NetBSD?
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Wojciech Puchar <wojtek@tensor.3miasto.net>
List: current-users
Date: 04/27/2003 20:08:01
> > >> Not in the tree, but look at if_hub for the vmnet module, used in the
> > >> VMware pkg. I derived it from if_tun, it has similar functionality.
> > >
> > >Maybe it would be a good idea to include this functionality in if_tun ?
> >
> > i'm not trying to be a stick in the mud, but what's the advantage of
> > /dev/tap over /dev/tun?  i don't get it.
>
> If I understood it properly, it emulates an ethenet device, which
> can allows such things as bridging 2 ethernets over a tunnel.
exactly

and it allows to use programs like vtun to directly sent ethernet frames.