VirtualBox network patches for FreeBSD (vboxnetflt + vboxnetadp)

Danny Braniss danny at cs.huji.ac.il
Wed Sep 9 13:11:07 UTC 2009


> Hi
> 
> These patches implement bridge and host only networking on FreeBSD, they
> have been tested on FreeBSD 7 and 8 by a few different people. The only
> known issue is that they might not work with wireless cards. At least
> it didn't work on my iwi-backed wlan0 interface on FreeBSD 8.
> 
> The patches are split into different files for easier overview
> 
> http://www.shapeshifter.se/pub/patches/virtualbox/vbox-freebsd-netif-20090908.patch
> http://www.shapeshifter.se/pub/patches/virtualbox/vbox-freebsd-vboxnetadp-20090908.patch
> http://www.shapeshifter.se/pub/patches/virtualbox/vbox-freebsd-vboxnetflt-20090908.patch
> http://www.shapeshifter.se/pub/patches/virtualbox/Config.kmk-20090908.patch
> http://www.shapeshifter.se/pub/patches/virtualbox/src-VBox-HostDrivers-Makefile.kmk-20090908.patch
> 
> Original code is under the MIT license, patches to Makefiles, etc are
> under whatever license you want (I don't claim any copyright over
> these).
> 
> 
> People running FreeBSD and want to test this with the vbox version
> 3.0.51.r22226 that currently is in the ports tree needs the following
> additional patches.
> 
> http://www.shapeshifter.se/pub/patches/virtualbox/Config.kmk-r22226-20090908.patch
> http://www.shapeshifter.se/pub/patches/virtualbox/virtualbox-port-20090907.patch
> http://www.shapeshifter.se/pub/patches/virtualbox/ConsoleImpl2.cpp.patch
> 
> Apply/compile with
> cd /usr/ports/emulators/virtualbox
> make clean patch
> mkdir work/virtualbox-3.0.51r22226/src/VBox/HostDrivers/VBoxNetFlt/freebsd
> mkdir work/virtualbox-3.0.51r22226/src/VBox/HostDrivers/VBoxNetAdp/freebsd
> patch < virtualbox-port-20090907.patch
> patch -d work/virtualbox-3.0.51r22226/Config.kmk-r22226-20090908.patch
> patch -d work/virtualbox-3.0.51r22226/ConsoleImpl2.cpp.patch
> patch -d 
> work/virtualbox-3.0.51r22226/src-VBox-HostDrivers-Makefile.kmk-20090908.patch
> patch -d work/virtualbox-3.0.51r22226/vbox-freebsd-netif-20090908.patch
> patch -d work/virtualbox-3.0.51r22226/vbox-freebsd-vboxnetadp-20090908.patch
> patch -d work/virtualbox-3.0.51r22226/vbox-freebsd-vboxnetflt-20090908.patch
> make install
> 

great work!
any chance it will support PXE?
what about throughput, at the moment iperf timet it at 120Mbits/sec
but the host is connected at 1G.

danny




More information about the freebsd-emulation mailing list