Page 1 of 1

Error Connecting to host interface

Posted: 22. Mar 2009, 02:55
by tenspd137
I have a Gentoo Linux host running the binary version of VirtualBox 2.1.4. I also hav a Mac OSX host running the same version. On the Mac host, I created a VM and was able to use the host interface on the network adapter (not NAT). But I decided that I wanted to cerate a Gentoo guest VM on the Gentoo Linux host and then duplicate it. Anyway, only the NAT networking option seems to work, not the host interface. Whenever I try to use any guest with the host interface, I get the following message:


Failed to open/create the internal network 'HostInterfaceNetworking-eth0' (VERR_SUPDRV_COMPONENT_NOT_FOUND).
Unknown error creating VM (VERR_SUPDRV_COMPONENT_NOT_FOUND).


Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
Console
Interface:
IConsole {e3c6d4a1-a935-47ca-b16d-f9e9c496e53e}

Is my host machines kernel missing a module? My first thought was to put the pcnet32 module on the host OS, but that did not help. Is this a bug or did I set something up incoorectly / forget to set something up? Is this a bug? Thanks for any help!

Re: Error Connecting to host interface

Posted: 22. Mar 2009, 14:38
by vbox4me2
When cloning a linux Guest the ethX interface on the clone needs to be reconfigured eth0 can go to eth1.

Re: Error Connecting to host interface

Posted: 22. Mar 2009, 20:04
by tenspd137
I think we are thinking of different things. I haven't made a machine to clone yet. I wanted to connect the virtual machine to the host adapter so that when I boot with the gentoo install cd, the IP address it is assigned comes from my router, which is a 10.66.77.xxx number. Right now, because I have to use NAT, which gives me a 10.0.2.xx number on the VM, I can'tt SSH in from a console on the host machine. Cut and paste would be very helpful. On OSX, all I have to do is connect to a host adapter and select eth0. When I do that on a Gentoo host, I get the error you see above.

Re: Error Connecting to host interface

Posted: 22. Mar 2009, 20:47
by tenspd137
Solved the problem. While there is a checkbox to do what I want, on Linux I also need to load the vboxnetflt module, which I was unaware of. I added it to modules configuratio - works like a charm.