I have 3 NICs that I want to be seen by my domU, even though they're not configured in dom0.
Here's my sample lines from interfaces file
auto lo iface lo inet loopback # Local network, cable labeled M3 auto eth0 allow-hotplug eth0 iface eth0 inet static address 192.168.1.184 netmask 255.255.255.0 gateway 192.168.1.1 # cable labeled M1 auto eth1 allow-hotplug eth1 iface eth1 inet manual hwaddress ether 00:19:5B:33:86:D5 up ifconfig eth1 up # cable labeled M2 auto eth2 allow-hotplug eth2 iface eth2 inet manual hwaddress ether 00:19:5B:33:86:D3 up ifconfig eth2 up
I'm trying to use multiple bridge configuration with xend, but it complains about the "Link not in running state" and interface being down, although I can see them in ifconfigs' output.
What are my options to make those NICs visible in domU without configuring them in dom0?
Best Answer
Oh dear... I think you're trying to use the Xen bridging stuff, which is just dire. Set
network-script network-dummy
in xend-config.sxp, then go with this config:What you then do is tell the domUs to use either the
br-eth1
orbr-eth2
bridge (as appropriate). Given that you've got cable labelling happening, I'd change the bridge names to something more useful, like perhapsm1
andm2
.