Atmesh Mishra
Atmesh Mishra

Reputation: 549

Allocate released floating IP in openstack

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?

Upvotes: 1

Views: 642

Answers (2)

Praveen Yalagandula
Praveen Yalagandula

Reputation: 4704

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.

Upvotes: 2

abhilash_goyal
abhilash_goyal

Reputation: 711

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.

Upvotes: 0

Related Questions