On Fri, Dec 25, 2009 at 11:46:52AM +0400, Rolf Sommerhalder wrote: > > Have you ever looked at > > http://vde.sourceforge.net/ > > ? > > Thanks Chris for your hint, which triggered me to take a look at the > VDE project on Sourceforge. > > Before posting, I was actually reading the documentation WIki of > Virtual Square (V^2) at http://wiki.virtualsquare.org . Currently, V^2 > and VDE look to me like a very much more comprehensive and complex > project. Still, I am unsure about how much of the VDE code is actually > specific to (qemu under) Linux. > > What I am after with vwire is only a tiny subset of that. At the > moment, I study the source of vether(4) and try to derive a simple > cross-over vwire pseudo-device from it to start with. > > Which, of course, would be redundant and simply could be eliminated by > bridging all interfaces in a single bridge, unless the capability of > this simple wire is augmented by channel simulation/emulation > features. Then the vwire can link several bridges which run on the > same OpenBSD host and 'distort' transmissions between those bridges at > Link level (layer-2), for example introduce bit errors, cause bit & > frame loss, insert delay, etc. >
You don't need anything new. Either use gif(4) tunnels to bridge between two bridges or use tun(4) in L2 mode and use a userland daemon to pass the packets back and forth (e.g. ssh is able to do that). -- :wq Claudio