Vms cannot connect to internet

asked 2016-12-19 18:37:36 +0200

safwene 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

Hi. Did you use Hyper-V for compute? If yes, did you use OVS or hyperv-networking? Make sure the the bridge mappings are correctly configured. Information about host network configuration would be useful also.

danardelean gravatar imagedanardelean ( 2016-12-20 14:51:24 +0200 )edit

Do you have a public network with configuration matching your external network? Is traffic routing accordingly from the private one?

alexpilotti gravatar imagealexpilotti ( 2016-12-20 14:59:03 +0200 )edit

Independently of the configuration neutron, all my nodes are connected to the internet through my wifi card passing through the gateway (192.168.1.1) which is my physical router.

safwene gravatar imagesafwene ( 2016-12-20 15:14:43 +0200 )edit

Concerning the configuration of neutron: I created two networks first: 10.0.0.0/24 my internal network for instances. 192.168.1.0/24 my second network, I designate it as external network. Then I created a virtual router between the two networks with two interfaces, the first 10.0.0.1, 192.168.1.1

safwene gravatar imagesafwene ( 2016-12-20 15:15:38 +0200 )edit

A scenario : I run two instances the first: 10.0.0.2 and the second 10.0.0.3 With a floating ip 192.168.1.2. I can ping between the two instances and also ping the interface of the router's external network (192.168.1.1)

safwene gravatar imagesafwene ( 2016-12-20 15:19:49 +0200 )edit