I have a CentOS 5.6 host running VirtualBox 4.0.10 in a box with two network cards (each one connected to a separate router). I have two guests (Ubuntu 10.04 Server -text mode only-) and what i want to do is just to bridge each network card to a guest:
Router0 -> host eth0 -> Ubuntu Guest 1 eth0
Router1 -> host eth1 -> Ubuntu Guest 2 eth0
So, In VirtualBox GUI, i select a VM, went on "configuration" -> "network" and set it in bridged mode (i need it to be bridged, not NAT). I check in "advanced" that the network card selected is the right one, and then start the Ubuntu guest, log in, and launch 'ifconfig', and all i can get is the loopback interface. There's no eth0. So... ¿What happens here?
Also, If i edit /etc/network/interfaces and include eth0 (static ip) and try to put it up ($sudo ifup eth0) all i get is the following:
Code: Select all
SIOCSIFADDR: No such device
eth0: ERROR while getting interface flags: No such device
SIOCSIFADDR: No such device
SIOCSIFADDR: No such device
eth0: ERROR while getting interface flags: No such device
eth0: ERROR while getting interface flags: No such device
Conectivity is ok in the host machine: i managed to ping both gateways and got internet access, can browse, etc... ¿any clue?