How to setup internet access for VMs using one shared public IP?

asked 2015-01-05 15:05:48 -0600

CrestHawk gravatar image

updated 2015-01-05 21:12:01 -0600

smaffulli gravatar image

I was wondering if anyone knows how I can get internet access on a (home) hosted OpenStack VM with only one public IP. With VM-Ware it's very simple, why is it so complicated with OpenStack?

OpenStack Icehouse on Ubuntu Server 14.04.1 LTS

My real internet settings:

Range: Computer with openstack: Gateway: Public IP: (Fake) Subnet Mask: DNS 1: DNS 2:

Openstack Settings:

On openstack the private network with a range of, linked to a virtual router as a port interface on one end. On the other end that virtual router is the gateway which leads to the (virtual) public IP range which is That virtual IP range is linked to my openstack pc with static routing. However, the (REAL) private IP range is The VM's do not have internet access to the outside world, they only have access to the other Private VM's. At one point they could actually ping other computers on my REAL network but still had no internet access, after a power outage they don't even have access to my real private net anymore.

Should I use my real physical subnet? (I tried and it didn't work) How will my openstack send the VM IP's to my router? If its with a bridge how do I correctly configure one?

edit retag flag offensive close merge delete


Ever find resolution to this? I am have a similar, I am starting to think I need to use static MAC binding for those external and bind them to the br-ex address

ethode gravatar imageethode ( 2015-04-11 16:13:49 -0600 )edit