Ask Your Question
0

LBaas, How do we assign floating IP to the VIP

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

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

Comments

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 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
2

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

mpetason gravatar image

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

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:

/var/log/neutron/lbaas-agent.log

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

Comments

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 -0500 )edit

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

http://wiki.dreamhost.com/Launch_an_I...

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 -0500 )edit

Thanks!!!!

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

Np. Glad it is working for you now.

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

Your Answer

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

Add Answer

[hide preview]

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

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

Seen: 1,487 times

Last updated: Mar 21 '14