Subject: Re: Tap(4) interface in NetBSD?
To: Brian Buhrow <>
From: Manuel Bouyer <>
List: current-users
Date: 04/28/2003 14:27:30
On Sun, Apr 27, 2003 at 11:23:04PM -0700, Brian Buhrow wrote:
> On Apr 27,  7:22pm, Andrew Gillham wrote:
> } Subject: Re: Tap(4) interface in NetBSD?
> } 
> } Think about bridging non-IP ethernet frames over a VPN.
> } Presumably you could have a vtun (or other) VPN between tap0 on one box
> } and tap0 on another.  Enabling bridging with xyz0 / tap0 on either end
> } should give you an ethernet bridge over a VPN.
> 	And this, exactly, is why I'm interested in this functionality.  The
> bridge(4) only works with interfaces of "similar enough" framing and I'd
> like to bridge two ethernet segments which are located on either coast of
> the US.  GRE might work, but has MTU issues and requires a more complex
> setup.
> 	So, if I take Frank's if_hub and incorporate it into an if_tap.c in
> the source tree, will someone integrate it for me?

Please consider integrating it to if_tun instead. I think if_tun can be
extended to do this, and we should avoid adding another pseudo-interface
if we can.

Manuel Bouyer, LIP6, Universite Paris VI. 
     NetBSD: 24 ans d'experience feront toujours la difference