VM unable to access internet

asked 2016-12-19 11:01:38 -0600

StuOpen gravatar image

I'm using openstack mitaka, I have the controller and the networking (neutron) on the same host and this host is connected to internet via my wifi card (Wlan0), My internal networking is 192.168.1.0/24 and my default gateway is the "192.168.1.1", I have created an internal subnet for the instances (10.0.0.0/24), The instances can ping each other but how can i do to make them connecting to internet ?

edit retag flag offensive close merge delete

Comments

You need to provide more information, as there are a zillion ways to configure networking. Did you read the networking guide? How did you set up Neutron? Assuming ML2, what mechanism and type drivers are you using? How is/are the instance network(s) connected to the outside world?

Bernd Bausch gravatar imageBernd Bausch ( 2016-12-19 18:02:42 -0600 )edit

I followed the instruction on the official documentation, for the networking there are two options Provider networks and Self-service networks, http://docs.openstack.org/mitaka/install-guide-ubuntu/neutron-controller-install.html (http://docs.openstack.org/mitaka/inst...) (http://docs.openstack.org/mitaka/inst...) I used the second option,

StuOpen gravatar imageStuOpen ( 2016-12-19 18:42:39 -0600 )edit

and the majority of tutorial on the internet and the official documentation is treating the case of a public pool and a private one, but on my case i'm trying to connect the private subnets of instance (10.0.0.0/24) to my physical router (192.168.1).

StuOpen gravatar imageStuOpen ( 2016-12-19 18:42:51 -0600 )edit

I think a provider network would be the better or even the only solution. Or your instances are on a selfservice network connected like this:

Instance->selfservice NW->Neutron router->external network->physical router

Bernd Bausch gravatar imageBernd Bausch ( 2016-12-26 08:27:33 -0600 )edit