Mailing List Archive

Multiple floating IPs one instance
Is it possible to run an instance with more than one floating IPs? It is not immediately evident how to do this, or whether it is even possible. I have an instance that I would like to have address on two separate networks, and would like to use floating IPs so that I can have that are capable of living longer than the instance itself.

Torin Woltjer

Grand Dial Communications - A ZK Tech Inc. Company

616.776.1066 ext. 2006
www.granddial.com
Re: Multiple floating IPs one instance [ In reply to ]
Look for nova add-fixed-ip and nova add-floating-ip

* add a private fixed ip for an instance: nova add-fixed-ip instance_id
neutron_network_id
* On instance : ip address add private_fixed_ip_address/24 dev eth0
* add fip: nova add-floating-ip --fixed-address private_fixed_ip_address
instance_id floating_ip_address

Thanks
Paras.

On Fri, Apr 27, 2018 at 1:47 PM, Torin Woltjer <torin.woltjer@granddial.com>
wrote:

> Is it possible to run an instance with more than one floating IPs? It is
> not immediately evident how to do this, or whether it is even possible. I
> have an instance that I would like to have address on two separate
> networks, and would like to use floating IPs so that I can have that are
> capable of living longer than the instance itself.
>
> *Torin Woltjer*
>
> *Grand Dial Communications - A ZK Tech Inc. Company*
>
> *616.776.1066 ext. 2006*
> * <http://www.granddial.com>www.granddial.com <http://www.granddial.com>*
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/
> openstack
> Post to : openstack@lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/
> openstack
>
>
Re: Multiple floating IPs one instance [ In reply to ]
In our KVM deployment we've found mapping 2 floating IPs to an instance
(pulled from 2 separate external network floating IP pools) like this is
perfectly possible, with the proviso that with port security enabled on the
Neutron ports static routes must be placed on the instance to ensure that
traffic uses the correct interface, i.e. return traffic that came in on the
private interface associated with one floating IP must go out the same
interface and not another (or it will likely be dropped at the hypervisor).

Thanks,
Paul

On 1 May 2018 at 16:06, Paras pradhan <pradhanparas@gmail.com> wrote:

> Look for nova add-fixed-ip and nova add-floating-ip
>
> * add a private fixed ip for an instance: nova add-fixed-ip instance_id
> neutron_network_id
> * On instance : ip address add private_fixed_ip_address/24 dev eth0
> * add fip: nova add-floating-ip --fixed-address private_fixed_ip_address
> instance_id floating_ip_address
>
> Thanks
> Paras.
>
> On Fri, Apr 27, 2018 at 1:47 PM, Torin Woltjer <
> torin.woltjer@granddial.com> wrote:
>
>> Is it possible to run an instance with more than one floating IPs? It is
>> not immediately evident how to do this, or whether it is even possible. I
>> have an instance that I would like to have address on two separate
>> networks, and would like to use floating IPs so that I can have that are
>> capable of living longer than the instance itself.
>>
>> *Torin Woltjer*
>>
>> *Grand Dial Communications - A ZK Tech Inc. Company*
>>
>> *616.776.1066 ext. 2006*
>> * <http://www.granddial.com>www.granddial.com <http://www.granddial.com>*
>>
>> _______________________________________________
>> Mailing list: http://lists.openstack.org/cgi
>> -bin/mailman/listinfo/openstack
>> Post to : openstack@lists.openstack.org
>> Unsubscribe : http://lists.openstack.org/cgi
>> -bin/mailman/listinfo/openstack
>>
>>
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/
> openstack
> Post to : openstack@lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/
> openstack
>
>


--
*******************
Paul Browne
Research Computing Platforms
University Information Services
Roger Needham Building
JJ Thompson Avenue
University of Cambridge
Cambridge
United Kingdom
E-Mail: pfb29@cam.ac.uk
Tel: 0044-1223-746548
*******************