Ask Your Question
0

How can Floating IPs mimic EC2 Elastic IP behavior?

asked 2014-09-09 13:19:58 -0500

cekimball gravatar image

Using Havana with Neutron and OVS... I want to provide tenants with public IP and Floating IP address behavior like this: tenant launches an instance; it gets a dynamic IP address that is "public" on my internal corporate network (instance can communicate with other parts of my enterprise, subject to any Security Group rules); tenant can then associate to the instance a Floating IP address that is also "public" on my internal corporate network, de-associate it, re-associate it to a different instance, etc.

I don't want to require the tenant to create his own private tenant network in order to use Floating IPs.

How can I do this?

P.S. The "public" dynamic IP addresses and Floating IP addresses would be different corporate-assigned CIDR blocks / VLANs dedicated for this usage.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-09-09 15:15:10 -0500

mpetason gravatar image

Your use case sounds like FlatDHCP not Neutron + OVS + (VLAN/GRE). You might want to look into FlatDHCP, setup the network on a /24 that is route able from your public network then have all the instances on the same network. Private IP addresses + Floating IP addresses on the same network seems redundant, I am not sure of what this would accomplish outside of depleting available addresses in your network faster.

If you are doing this to take care of DNS so that you can apply DNS records to the Floating IP addresses then you might as well just go with FlatDHCP and configure static DNS entries associated with the IP addresses in your network:

hostname-192.168.1.13 IN A 192.168.1.13 hostname-192.168.1.14 IN A 192.168.1.14

Something like that.

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

2 followers

Stats

Asked: 2014-09-09 13:19:58 -0500

Seen: 803 times

Last updated: Sep 09 '14