Date: Fri, 27 Nov 2009 10:39:55 -0600 From: Adam Vande More <amvandemore@gmail.com> To: Norbert Papke <npapke@acm.org> Cc: freebsd-questions@freebsd.org Subject: Re: VirtualBox: No network connectivity. Weird vboxnetflt.ko/vboxnetadp.ko behaviour Message-ID: <6201873e0911270839l5da34701j67eb6b02b9f75ccd@mail.gmail.com> In-Reply-To: <200911270836.15146.npapke@acm.org> References: <4B0F8CA7.1080009@zedat.fu-berlin.de> <200911270836.15146.npapke@acm.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 27, 2009 at 10:36 AM, Norbert Papke <npapke@acm.org> wrote: > On November 27, 2009, O. Hartmann wrote: > > Befor going deeper into my config I will report some strange behaviour > > of needed kernel modules > > > > vboxnetflt.ko > > vboxnetadp.ko > > > > Both are needed for networking on VirtualBox and they get loaded at > > startup vi /boot/loader.conf. But to have a working network, I have to > > unload and then reload them, since if they get loaded at startup, > > networking is broken in virtual box! > > The vboxnetadp.ko is needed for the "host-only adapter" mode, I tend not to > load it. For bridged mode, you need vboxnetflt.ko. > > I have been having good luck by always loading vboxnetadp.ko manually > rather > than from loader.conf. > > > My FreeBSD-based config is simple. I have a bridged NIC (msk0), a tap0 > > device which is member of the bridge. > > I do not use a tap device. It should not be needed. I bridge the physical > device directly. > > > Has anybody similar trouble? > > The modules are a somewhat temperamental. When I follow the above, it > works > great. When I deviate, I sometimes have trouble. > > Cheers, > > Yeah I assume the issue is vboxnetflt.ko needs eth device to be loaded to actually bind to. I do this with /etc/crontab to work around: @reboot root /sbin/kldload /boot/modules/vboxnetflt.ko -- Adam Vande More
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6201873e0911270839l5da34701j67eb6b02b9f75ccd>