Ask Your Question
0

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 50.50.1.0/24 (50.50.1.22). 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
0

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
0

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

Comments

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 1,594 times

Last updated: Jan 16 '15