[Openstack] [QA] How to attach multiple NICs to an instance VM?

Mariusz Gronczewski mariusz.gronczewski at efigence.com
Thu Oct 16 14:17:05 UTC 2014

> Is this the correct way to attach multiple NICs to an instance?
> Thanks,
> Danny


run a dhcp client on second instance, it should get added IP.

if you want to add port to existing instance then create port in

neutron port-create --fixed-ip ip_address= vm_network_name

then get its ID and attach it to instance:

nova interface-attach --port-id 6eb03b5e-48fa-4c2b-8e3b-c56137086896 instance_name

it *can* be done directly during neutron port-create... but doesn't
work in icehouse;/ (port is added to neutron but permanently down in
nova) so it have to be done in 2 steps

Mariusz Gronczewski, Administrator

Efigence S. A.
ul. WoĊ‚oska 9a, 02-583 Warszawa
T: [+48] 22 380 13 13
F: [+48] 22 380 13 14
E: mariusz.gronczewski at efigence.com
<mailto:mariusz.gronczewski at efigence.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20141016/5850888a/attachment.sig>

More information about the Openstack mailing list