Bridged Network - Ubuntu host
Posted: 12. Feb 2009, 16:53
Hi,
I have been trying to configure my host machine (ubuntu) with a bridged mode.
My /etc/network/interfaces file looks like this:
auto eth0
iface eth0 inet manual
auto br0
iface br0 inet dhcp
bridge_ports eth0 vbox0 vbox1 vbox2
auto lo
iface lo inet loopback
My /etc/vbox/interfaces file looks like that:
vbox0 sabrina br0
vbox1 sabrina br0
vbox2 sabrina br0
if I run the command:
brctl show
I get:
root@dellb807:/etc/network# brctl show
bridge name bridge id STP enabled interfaces
br0 8000.0022190eaf71 no eth0
vbox0
vbox1
vbox2
Then, I launched VirtuallBox and I configured the "network" parameter of the virtual machine with "host interface" and vbox0 for instance.
After starting the virtual machine, the internet connection does not work and I do not know how to assign a new IP adress to that machine.
A note:
root@dellb807:/etc/network# sudo /etc/init.d/virtualbox-ose restart
* Shutting down VirtualBox host networking... [ OK ]
* Starting VirtualBox host networking... Warning - failed to add interface vbox0 to the bridge br0
Warning - failed to add interface vbox1 to the bridge br0
Warning - failed to add interface vbox1 to the bridge br0
I have warnings that the vbox0.. were not added to the bridge.
Would anyone have an idea of the problem?
Thank you very much in advance.
Sabrina.
I have been trying to configure my host machine (ubuntu) with a bridged mode.
My /etc/network/interfaces file looks like this:
auto eth0
iface eth0 inet manual
auto br0
iface br0 inet dhcp
bridge_ports eth0 vbox0 vbox1 vbox2
auto lo
iface lo inet loopback
My /etc/vbox/interfaces file looks like that:
vbox0 sabrina br0
vbox1 sabrina br0
vbox2 sabrina br0
if I run the command:
brctl show
I get:
root@dellb807:/etc/network# brctl show
bridge name bridge id STP enabled interfaces
br0 8000.0022190eaf71 no eth0
vbox0
vbox1
vbox2
Then, I launched VirtuallBox and I configured the "network" parameter of the virtual machine with "host interface" and vbox0 for instance.
After starting the virtual machine, the internet connection does not work and I do not know how to assign a new IP adress to that machine.
A note:
root@dellb807:/etc/network# sudo /etc/init.d/virtualbox-ose restart
* Shutting down VirtualBox host networking... [ OK ]
* Starting VirtualBox host networking... Warning - failed to add interface vbox0 to the bridge br0
Warning - failed to add interface vbox1 to the bridge br0
Warning - failed to add interface vbox1 to the bridge br0
I have warnings that the vbox0.. were not added to the bridge.
Would anyone have an idea of the problem?
Thank you very much in advance.
Sabrina.