1
votes

How do I allocate Floating IP to a tenant after the tenant releases it from the project in openstack?

Suppose I want IP 10.10.90.95, how can I add this specific IP to my pool available list?

2

2 Answers

2
votes

To claim a specific floating-ip for a tenant, you can run the following neutron command. Note that this will succeed only if that IP address is not already claimed by some other tenant:

neutron floatingip-create --floating-ip-address 10.10.90.95 ext-net

Above assumes that your external network is named "ext-net" and the IP address you are trying to allocate is 10.10.90.95.

0
votes

Once floating IP is released, it gets automatically added to the available floating ip pool.

Use:

nova floating-ip-associate < instance-id > < floating-ip >

to associate specific floating-ip to the instance.