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


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 .

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: eth0 (not real ip public) nat to vm1 ip) using port 25 and eth0 nat to vm2 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 ( 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