← Back to team overview

openstack team mailing list archive

[openstack][Neutron] Allocating fixed and floating IPs from the same subnet

 

Hello everyone,

I was wondering if it is a "good" idea to allocate IPs either fixed or
floating from the same subnet (external , routable IPs).

My use case is something like this:

A tenant needs to have direct access to the external network (no NAT) and
if he chooses to use a load balancer he should be able to also use floating
IPs.
I don't really want to allocate more than one subnet for routable IPs, at
least I don't see a reason why.
A tenant should be able to have access to a limited number of routable IPs
that would remain allocated to him no matter what happens to instances and
he should be able to either allocate an IP directly to an instance or set
that IP as a floating IP for other services like LBaaS.

I see that right now I can just create a floating IP from a subnet that can
also be used for fixed IPs (flat provider use case).

Mainly I want floating IPs but with the possibility of allocating a
floating IP to an instance directly (no nat )

There is some coding to be done here, however first I would like to ask the
community if this is a sound idea or I am missing something.

-- 
Regards,
Cristian Tomoiaga