Ask Your Question

How to configure the meta-data service for multi NIC

asked 2016-10-04 22:13:23 -0500

tgehrke gravatar image

We have a vLAN that is share across tenants for internal traffic. We created a private vLAN in a tenant and a router to the public network and try to duel home a VM. Only one NIC gets setup by cloud-init. I made a call to the meta-data service and there is only two IP addresses sent to the VM a private-IPv4 and a public IP-v4 address. Is there something that needs to be configured in Neutron so VMs can be multi-homed?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2017-02-09 16:37:23 -0500

tgehrke gravatar image

The problem turned out to be at the OS and was solved by adding this to the user-data


        # Setup
        cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth1
        sed -i -e 's/eth0/eth1/g' /etc/sysconfig/network-scripts/ifcfg-eth1
        systemctl restart network
edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-10-04 22:13:23 -0500

Seen: 118 times

Last updated: Feb 09 '17