LBaas, How do we assign floating IP to the VIP

asked 2014-03-20 00:24:02 -0600

adildhar gravatar image

I have two nodes added to load balancer with private IPs and add vip with an IP from the private tenant IP range. I am ble to load balance the traffic. Now I want to make this public and assign a floating IP. What is the method for doing that? I tried to create VIP with external floating IP so that it can be resolved from outside but it does not work and had to revert the changes.

edit retag flag offensive close merge delete


Were you able to get this to work? I'm closing older open issues. Let us know if you have any other questions regarding this.

mpetason gravatar imagempetason ( 2014-06-09 10:14:34 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2014-03-21 14:03:57 -0600

mpetason gravatar image

updated 2014-03-21 14:12:58 -0600

If you are using Havana you can do this in the "Access and Security" section under "Floating IPs."

You'll setup the VIP first, then go to floating IPs and associate the floating IP address with the port that matches the IP of the VIP you created. I noticed that I was having issues with this at first, but it was due to errors in the lbaas logs. If you assign the floating IP to the VIP and are unable to ping it, or hit it on the ports you have set it up for, then I'd recommend looking at the logs in:


I had issues with it before because I didn't have certain executables that were needed to use it.

edit flag offensive delete link more


I realize this is an old post but does anyone know offhand how to perform this association via the command line?

TheFutonEng gravatar imageTheFutonEng ( 2014-10-15 11:24:17 -0600 )edit

So Dreamhost has good docs on this. Basically you are associating a floating IP to a Port:

neutron floatingip-list
neutron port-list
neutron floatingip-associate --fixed-ip-address {ip} {float-ip-uuid} {port-uuid}
mpetason gravatar imagempetason ( 2014-10-15 11:42:54 -0600 )edit


TheFutonEng gravatar imageTheFutonEng ( 2014-10-28 15:23:58 -0600 )edit

Np. Glad it is working for you now.

mpetason gravatar imagempetason ( 2014-10-28 16:01:43 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2014-03-20 00:24:02 -0600

Seen: 5,306 times

Last updated: Mar 21 '14