Ask Your Question
7

How to configure multiple Floating IP pools?

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

obuisson gravatar image

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

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 : http://docs.openstack.org/grizzly/openstack-network/admin/content/adv_cfg_l3_agent_multi_extnet.html

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

Comments

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

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

2 answers

Sort by ยป oldest newest most voted
1

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

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: https://bugs.launchpad.net/neutron/+bug/1191729

edit flag offensive delete link more
0

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

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

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

3 followers

Stats

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

Seen: 4,689 times

Last updated: Aug 01 '13