Ask Your Question

how we can associate floating ip to VIP

asked 2014-12-20 01:22:14 -0500

Amitabh Sinha gravatar image

I have created a lbaas pool in that I have added three members (vm's) and vip to the pool. I have selected one ip from subnet ( And I am able to hit all three vm using vip (round robin). Now i want to hit the vm's using vip from outside, for that I have to assign floatingip to vip. On dash board it is showing currently not supported. Kindly guide me to resolve this issue . How we can enable it? So, that we can assign floating ip to VIP.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2014-12-20 04:17:45 -0500

SamYaple gravatar image

You'll need to do that with the neutron cli client or api calls. I doubt Horizon supports them.

# neutron help | grep vip
  lb-vip-create                  Create a vip.
  lb-vip-delete                  Delete a given vip.
  lb-vip-list                    List vips that belong to a given tenant.
  lb-vip-show                    Show information of a given vip.
  lb-vip-update                  Update a given vip.

Same type of thing as assigning a regular floating-ip, with the requirement of some additional information.

You'll want to use neutron help lb-vip-create to get all the details of what is needed.

edit flag offensive delete link more

answered 2015-01-16 23:36:39 -0500

Amitabh Sinha gravatar image

Though on dashboard it is showing currently not supoorted for associating floating ip to vip.We can do it manually. steps to do:- 1. Create a floating ip 2. Find the port id of the VIP 3. Then go to access security select floatingip and associate created floatingip to the respective port.

now you can acess your members added in the pool from outside network.

edit flag offensive delete link more


You can associate a FIP to VIP via horizon. This is done under access and security tab under floating ips.

You can't do it in LB section yet.

sfcloudman gravatar imagesfcloudman ( 2015-01-17 02:13:07 -0500 )edit

Yes you can't do it. but you can create floating ip and associate it to the port to which vip (internal) is associated.And ping your vip using the public ip(floating ip).Or else open browser and hit floatingip associated with vip.It works I am using it!

Amitabh Sinha gravatar imageAmitabh Sinha ( 2015-01-22 10:57:46 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-12-20 01:22:14 -0500

Seen: 1,819 times

Last updated: Jan 16 '15