[Openstack] Multiple fixed IPs
matej at tam.si
Tue May 6 05:52:29 UTC 2014
thanks for this very useful information. I have tried to update the
existing port and was getting
Duplicated options --fixed-ip
But I was able to use port-create successfully. Is there a way to change a
port ID of a running instance in nova? Since my instance is running and I
don't want to terminate it and boot it again. Or can I use this --nic
port_id parameter just when creating a new instance with nova boot ....?
On Tue, May 6, 2014 at 4:12 AM, sylecn <sylecn at gmail.com> wrote:
> However, I would like to set-up more than one public IP to the instance. I
>> set up an IP address for interface (for example eth0:0) in the virtual
>> instance, but the traffic doesn't go past Neutron.
> Hi Matej,
> Bind additional IP on eth0:0 would not work because OVS does not route
> traffic for that IP.
> You may create a port with two public IP addresses first, then boot a
> instance with that port.
> neutron port-create --fixed-ip subnet_id=<your-public-subnet-id>
> --fixed-ip subnet_id=<your-public-subnet-id> --security-group <sgid>
> nova boot --nic port-id=<port-uuid> ...
> Note, however, dhclient will only config one IP address on eth0, so you
> still have to config eth0:0 yourself in the VM.
> *YY Inc. is hiring openstack and python developers. Interested? Check
> http://www.nsbeta.info/jobs <http://www.nsbeta.info/jobs>*
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Openstack