In multi nic environment, Only the first interface is coming up and getting its ip using DHCP. why?

asked 2014-02-06 00:40:29 -0600

thota gravatar image

updated 2014-02-06 23:29:47 -0600

Hello, I have a requirement to create virtual machines with four interfaces. So, I created four networks and assigned each network a subnet using "neutron". So far so good. When I lauch the virtual machine, I see only the first interface is up and getting its IP address using DHCP. Why are the other three interfaces not coming up and getting their IP addresses?

**Test Environment**  
openstack version - havana 
OS used on host machines - RHEL-6.4  

**Two node openstack setup** 
Controller - services: neutron dhcp agent, neutron ovs agent, neutron server 
Compute1 - services: nova compute, neutron ovs agent

I used below environment for creating networks and subnets.

export OS_USERNAME=admin
export OS_PASSWORD=changeit
export OS_TENANT_NAME=admin
export OS_AUTH_URL=http://controller:35357/v2.0

The way I created the networks is something below.

neutron net-create basenet_110 --provider:network_type vlan  --provider:physical_network basenet --provider:segmentation_id 110
neutron net-create basenet_111 --provider:network_type vlan  --provider:physical_network basenet --provider:segmentation_id 111

Please let me know, if you need more information. Thanks.

edit retag flag offensive close merge delete



maybe the image does not have the other 3 interfaces configured for dhcp.

darragh-oreilly gravatar imagedarragh-oreilly ( 2014-02-07 05:20:13 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2014-02-06 08:04:00 -0600

aplawson gravatar image

Did you attach the networks to your project? Adding them doesnt necessarily mean the guests are configured to use them.

For instance:

$ nova network-create first-net --fixed-range-v4= --project-id=$projecta
$ nova network-create second-net --fixed-range-v4= --project-id=$projectb
edit flag offensive delete link more


Please find my update question above. Thanks !

thota gravatar imagethota ( 2014-02-06 23:24:56 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-02-06 00:40:29 -0600

Seen: 625 times

Last updated: Feb 06 '14