How to configure multiple Floating IP pools?

asked 2013-06-09 13:02:15 -0600

obuisson gravatar image

updated 2013-07-26 16:44:51 -0600

smaffulli gravatar image

I am running OpenStack Grizzly on Ubuntu 12.04 LTS. This is a single node installation running with quantum. I would like to setup another Floating IP pool. I follow this guide :

I had a network for pool one and another network for pool two. I run 2 l3-agent with the uuid of each network. The configuration of the l3-agent are the same than the guide.

I am able to create a floating ip from the pool two but I was not able to attach floating ip to a VM. I have the following error :

ExternalGatewayForFloatingIPNotFound: External network <UUID> is not reachable from subnet <UUID>.

Therefore, cannot associate Port <uuid> with a Floating IP.

What configuration is needed on subnet or router to attach my pool two on the router ?

edit retag flag offensive close merge delete


Have you found an answer for this? I am currently facing this dilemma.

PerfectSine gravatar imagePerfectSine ( 2013-07-26 10:22:37 -0600 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2013-08-01 12:02:47 -0600

etalas gravatar image

You gotta make sure your router has a port in the same subnet as your VM. Take a look at the Network Topology view in your OpenStack Dashboard. If there's no link from the external network via your router to the subnet with your VM you can add a port by going to "Routers", selecting the appropriate router and then clicking 'Add Interface'. Afterwards you should be able to assign a floating IP from the 2nd external network.

All this said, this only (seemed to?) worked for me for a short time. We just teared down all the virtual networks in our testbed b/c not a single VM was able to get further than the routers external IP.

Also see the bug "Multiple Floating IP Pools feature is broken" on Launchpad:

edit flag offensive delete link more

answered 2013-07-30 15:44:59 -0600

PerfectSine gravatar image

You won't be able to assign floating IP's across openstack defined networks. Have you tried adding the second subnet to your first network? (Instead of having 2 networks) Quantum will assign floating IP's from the second subnet after it has run out of IP's on the first. This will only work if the second subnet is routable through the same network.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2013-06-09 13:02:15 -0600

Seen: 5,704 times

Last updated: Aug 01 '13