Subject: Re: Tap(4) interface in NetBSD?
To: Brian Buhrow <buhrow@lothlorien.nfbcal.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: current-users
Date: 04/28/2003 21:13:59
On Mon, Apr 28, 2003 at 11:37:55AM -0700, Brian Buhrow wrote:
> 	Hello Manuel.  I'm willing to consider adding this functionality to
> the if_tun driver, but I have a number of questions which I'd like 
> to ask and which I'd like some feedback on before I dive too deep.
> 
> 1.  I think it would be good to provide interoperability with the FreeBSD
> implementation of the tap(4) driver,  What this means is that we need to
> provide a /dev/tapX device as well as a /dev/tunX device.  Should that be
> done by selecting a range of minor device numbers for the tapX interface?

If we want to do this, it's probably the way to go.

> 
> 2.  Can I use the cloning feature with ethernet type devices?  It strikes
> me that cloned network devices want to attach at the IP layer rather than
> the ethernet layer.  Is this just  lack of understanding on my part?

It works with ethernet. See the vlan device for example

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 24 ans d'experience feront toujours la difference
--