Ask Your Question

CrestHawk's profile - activity

2015-01-16 17:26:15 -0500 received badge  Nice Question (source)
2015-01-07 09:43:03 -0500 received badge  Famous Question (source)
2015-01-06 02:41:52 -0500 received badge  Notable Question (source)
2015-01-06 00:04:09 -0500 received badge  Student (source)
2015-01-06 00:03:59 -0500 received badge  Popular Question (source)
2015-01-05 16:52:50 -0500 asked a question How to setup internet access for VMs using one shared public IP?

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: 192.168.1.0/24 Computer with openstack: 192.168.1.16 Gateway: 192.168.1.1 Public IP: 12.34.5.67 (Fake) Subnet Mask: 255.255.254.0 DNS 1: 76.76.76.76 DNS 2: 76.76.75.75

Openstack Settings:

On openstack the private network with a range of 10.0.0.0/24, 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 172.24.4.0/24. That virtual IP range is linked to my openstack pc with static routing. However, the (REAL) private IP range is 192.168.1.0/24. 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?