Cloud images only bring up one NIC

asked 2013-06-21 16:02:13 -0600

briancline gravatar image

I've noticed with both Ubuntu cloud images and CirrOS images that, even though I provide multiple vnics when creating a VM in Nova, they only bring up the first interface.

After booting, I'm able to confirm by checking the /etc/network/interfaces file, where only lo and eth0 are defined. This seems to be hard-coded for some reason.

When I add eth1, I'm able to bring it up, but this seems counterintuitive to the idea of spinning up ready-to-use VMs.

Is there any way whatsoever to get these to bring up each NIC instead of just one?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2013-06-21 17:50:09 -0600

Ashokb gravatar image

updated 2013-06-21 18:14:58 -0600

It's something got to be done in the image level. You can create your own image with required no of active nics , you just need to make sure that the nics are mentioned in the network interfaces file . If you are intending to use the default cirros and precise images then only one nic would get activated boot time

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2013-06-21 16:02:13 -0600

Seen: 894 times

Last updated: Jun 21 '13