Ask Your Question
0

Advice on floating IP setup

asked 2015-01-04 15:37:35 -0500

don gravatar image

I have a private cloud setup (Ubuntu, Juno) which runs ~1000 instances. I 'own' a public /25 network (too small for everyone to get a public IP, but enough for our needs).

Currently I have this setup where i have done this:

neutron net-create  --shared --router:external=True ext-net
neutron subnet-create  --name ext-subnet ext-net 10.129.244/22

And on br-ex, I have:

auto br-ex
iface br-ex inet static
    address MY_PUBLIC_IP
    netmask 255.255.255.128
    up ip addr add 10.129.244.1/22 dev br-ex
    up ip route add default via MY_PUBLIC_RTR mtu 1500

E.g. br-ex exists on both the 'ext-net' (private) subnet, and also on the public network.

My users all connect their routers to ext-net, and then allocate their own subnets. This works great for outbound access (NAT to the rescue!).

Now, how would I go about introducing floating IP to this setup? any advice?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-01-04 19:20:34 -0500

I just want to make sure I understand your setup. You have clients/tenants who have their own private subnet that they create. Those private subnets then have a default gateway which is then associated to the ext-net which which is attached to the br-ex interface on the network node. And currently when your clients have an instance, on their private subnet, they are able to do outbound access out to the the internet from their private subnet via the ext-net(br-ex)?

Your question really revolves around how can you associate floating-ip's to instances is that correct? Now are you trying to leverage legacy l3-agents in Juno or utilize the new DVR(Distributed Virtual Routing)?

I have a post on how to configure DVR on my blog:

http://schmaustech.blogspot.com/2014/...

If you could post a topology of network setup it might help clarify what you are trying to do. Also did you configure an IP allocation pool for your ext-net which would be a pool the clients could pull from for floating-ip allocation?

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

1 follower

Stats

Asked: 2015-01-04 15:37:35 -0500

Seen: 129 times

Last updated: Jan 04 '15