Unable to access internet from openstack instance. Openstack Mitaka

asked 2016-08-05 07:56:19 -0500

sudharsan gravatar image

Hi All,

Issue - Unable to access internet from openstack spawned instance. I'm able to access internet from my controller node but not from spawned VM.

I have installed Openstack Mitaka. OVS is being replaced with Linux bridge as per neutron installation guide. On the setup, I have created Provider Network & attached the instance to it.

Here are the details for your reference;

Wget from my controller Node [Able to reach Internet]

wget www.google.com --2016-08-05 12:46:00-- http://www.google.com/ Resolving www.google.com (www.google.com)...,,, ... Connecting to www.google.com (www.google.com)||:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: ‘index.html.2’

[ <=>                                                                                         ] 11,160      --.-K/s   in 0s

2016-08-05 12:46:00 (22.9 MB/s) - ‘index.html.2’ saved [11160] root@UbuntuServer14041w:/home/ubuntu#

Wget from the spawned VM [Unable to reach Internet]

$ wget http://www.google.com wget: bad address 'www.google.com' $

resolve.conf in openstack VM

$ cat /etc/resolv.conf search openstacklocal



Tried with both & with no luck.

routing table [openstack controller Node]

root@UbuntuServer14041w:/home/ubuntu# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface UG 0 0 0 eth0 U 0 0 0 eth0 U 0 0 0 brq835867e9-9c U 0 0 0 virbr0 root@UbuntuServer14041w:/home/ubuntu#

routing table [openstack spawnd VM]

$ route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface UG 0 0 0 eth0 UGH 0 0 0 eth0 U 0 0 0 eth0 $

Let me know if you require any further details.


edit retag flag offensive close merge delete


@sudharsan - have U setup the external network? Have U connected tenant network with external one?

yprokule gravatar imageyprokule ( 2016-08-08 01:20:53 -0500 )edit

Yes. Have setup Provider network alone. Directly attached the instance to Provider network. Please be noted Im using virtualbox. 1st interface is NAT, 2nd interface is hostonly adapter.

sudharsan gravatar imagesudharsan ( 2016-08-08 06:37:56 -0500 )edit

Also in my case there are 2 nic. Nic1 is connected to internet. Nic2 is local IP and have configured that as controller IP. Once neutron is up, my bridge interface is assigned with the local IP.is there a way I can bind the bridge interface and eth0(which is connected to internet)

sudharsan gravatar imagesudharsan ( 2016-08-08 12:56:35 -0500 )edit

For bridge config check this: http://www.tldp.org/HOWTO/BRIDGE-STP-...

yprokule gravatar imageyprokule ( 2016-08-09 02:37:30 -0500 )edit