Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Try this I think this will work for your scenario.

Consider you are having eth0 with a fixed IP with a floating-ip associated. Will add a new interface with specified fixed-IP to the existing instance.

nova interface-attach --net-id <network uuid> --fixed-ip <fixed_address> <instance uuid>

--fixed-ip = Fixed IP from private network to be used

To associate a Floating IP to the above IP (new nic).

nova floating-ip-associate --fixed-address <fixed_address> <instance uuid> <floating-ip>