You are not logged in.

#1 2008-11-04 19:30:54

monk
Member
Registered: 2008-05-25
Posts: 8

Virtualbox bridged networking problem

Hi out there.

I'm trying to set up VirtualBox bridged networking as described in the wiki by "the arch way"

Here are the relevant details of my config files:

/etc/conf.d/bridges:

bridge_br0="eth0"
BRIDGE_INTERFACES=(br0)

/etc/vbox/interfaces:

vbox0 nofoo br0

(Where nofoo is supposed to be the user running virtualbox)

And finally...
/etc/rc.conf:

MODULES=(e1000e snd-mixer-oss snd-pcm-oss snd-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore bridge vboxdrv vboxnet)
...
lo="lo 127.0.0.1"
eth0="eth0 up"
br0="dhcp"
INTERFACES=(lo eth0 br0)

So. I added the user to the vboxusers group.
After a reboot, myifconfig says:

br0       Link encap:Ethernet  HWaddr 00:21:70:0B:D7:11 
          inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::221:70ff:fe0b:d711/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2001 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1561 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:908314 (887.0 Kb)  TX bytes:290103 (283.3 Kb)

eth0      Link encap:Ethernet  HWaddr 00:21:70:0B:D7:11 
          inet6 addr: fe80::221:70ff:fe0b:d711/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2039 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1569 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:941218 (919.1 Kb)  TX bytes:289875 (283.0 Kb)
          Memory:fdfc0000-fdfe0000

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:280 (280.0 b)  TX bytes:280 (280.0 b)

Which should be ok.

My settings in VirtualBox itself are the following:

adapted to:host interface
interface name:vbox0

The start and stop program parameters are left empty.


Now, when i try to start my vm, the following error message occurs:

Failed to initialize Host Interface Networking.
VBox status code: -3100 (VERR_HOSTIF_INIT_FAILED).


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

Does anyone of you know what went wrong here?

regards
monk

Offline

#2 2008-11-04 19:49:34

monk
Member
Registered: 2008-05-25
Posts: 8

Re: Virtualbox bridged networking problem

Ok, got the point. I'm now able to answer the question myself.

There's no module called vboxnet to be loaded, i should have read the message which comes up after installing the vbox binary from aur with a bit more attention.
vboxnet has to be added to the DEMONS array.

D'OH wink

Offline

#3 2008-11-04 19:53:41

zyghom
Member
From: Poland/currently Africa
Registered: 2006-05-11
Posts: 432
Website

Re: Virtualbox bridged networking problem

does it work now ?


Zygfryd Homonto

Offline

#4 2008-11-04 20:24:23

monk
Member
Registered: 2008-05-25
Posts: 8

Re: Virtualbox bridged networking problem

Yes, it does

Offline

#5 2008-11-18 05:07:27

steve___
Member
Registered: 2008-02-24
Posts: 452

Re: Virtualbox bridged networking problem

i just "pacman -S virtualbox-ose" but I do not have the file "/etc/rc.d/vboxnet".  I searched through the {core,extra,community}.files.tar.gz tar files as well.

Offline

#6 2008-12-22 17:30:01

Z.V
Member
Registered: 2008-06-27
Posts: 6

Re: Virtualbox bridged networking problem

steve___ wrote:

i just "pacman -S virtualbox-ose" but I do not have the file "/etc/rc.d/vboxnet".  I searched through the {core,extra,community}.files.tar.gz tar files as well.

Yeah, I have this same issue. I installed virtualbox-ose using pacman and also don't have /etc/rc.d/vboxnet. I've searched the entire machine and it is nowhere to be found. Did you solve it? Anyone got any ideas?

Offline

#7 2008-12-22 19:04:20

steve___
Member
Registered: 2008-02-24
Posts: 452

Re: Virtualbox bridged networking problem

I ended up using the binary version from AUR.  Here[0] is a copy of "/etc/rc.d/vboxnet".  Let me know if this works for you.

[0] http://members.porchlight.ca/steve/vboxnet

Offline

#8 2008-12-23 09:39:44

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,001
Website

Re: Virtualbox bridged networking problem

Note that Vbox 2.1 brings a new way to do networking.  I heard they made it much easier now.  Didn't try it myself yet though


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#9 2008-12-23 19:28:10

jryarch
Member
Registered: 2008-06-09
Posts: 45

Re: Virtualbox bridged networking problem

I did: now it's a matter of loading a special module and selecting the network you'd like to be bridged in vbox settings, done big_smile No more tap/tun/headaches..

Offline

Board footer

Powered by FluxBB