Openstack with single NIC and one public ip address

asked 2014-09-16 05:50:17 -0500

WibyHere gravatar image

updated 2014-09-16 13:05:06 -0500

mpetason gravatar image

I’m having issues with OpenStack. My server is in a datacenter and I only have 1 public IP. I can access my computer using the public IP, but cannot use the IP for the Floating IP network since I only have 1. My question is can I develop OpenStack with a single server using 1 NIC and 1 public IP? I’ve followed all of the tutorials on the internet but still have not found a solution. Please provide a link or documentation on how to configure this.

edit retag flag offensive close merge delete

Comments

If you just want to test things, what I think you want to do if you write “develop”, then you can create a NAT within your OpenStack host to provide the instances with somewhat “floating IPs”, see the answer to https://ask.openstack.org/en/question... .

beni gravatar imagebeni ( 2014-09-16 14:30:42 -0500 )edit

Another possibility would be to just use DevStack on a local machine.

beni gravatar imagebeni ( 2014-09-16 14:31:23 -0500 )edit

How do you imagine the running setup if you would succeed? Since you have the only IP, which host it will represent? your controller? your virtual machine? Note that you are not obliged to use floating ips.

T u l gravatar imageT u l ( 2014-09-16 15:02:02 -0500 )edit

thank all, my goal is to communicate dan manage vm in single node deployment using 1 nic and 1 ip public.ex: 173.17.16.18 eth0 (not real ip public) nat to vm1 10.10.10.20(private ip) using port 25 and 172.17.16.18 eth0 nat to vm2 10.10.10.21(private ip) using port 10000.possible openstack doing that

WibyHere gravatar imageWibyHere ( 2014-09-17 03:59:29 -0500 )edit

If you don't need to access your vm from outside, you don't need any floating ips. Do any all-in-one installation (with any tutorial) and specify no floating ip range; use external network your public ip (173.17.16.18/32). Openstack should do NAT for you, so you normally can access things from VM.

T u l gravatar imageT u l ( 2014-09-17 08:18:07 -0500 )edit