Subject: Re: Tap(4) interface in NetBSD?
To: Andrew Brown <>
From: Manuel Bouyer <>
List: current-users
Date: 04/27/2003 19:17:37
On Sun, Apr 27, 2003 at 01:08:35PM -0400, Andrew Brown wrote:
> >> > 	Hello folks.  I'm wondering if there is an equivalent of FreeBSD's
> >> > tap(4) device in NetBSD?   the tap(4) pseudo-device allows a user program
> >> > to pretend to be an ethernet interface to the system.
> >> 
> >> 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.

Manuel Bouyer <>
     NetBSD: 24 ans d'experience feront toujours la difference