VM instance can not access internet (external network), but can ping hosting server.

asked 2014-07-08 19:39:03 -0500

flyingoncloud gravatar image

updated 2014-07-08 19:41:03 -0500

I installed Openstack (IceHouse) on CentOS 6.5 in one server (only one NIC eth0, having 137.172.74.130 connecting to internet).

Then, I created two virtual network (public: 172.16.13.0/24, private: 10.0.0.0/24).

I can ssh login the VM instance from hosting server. And also can ping hosting server from VM instance. But I can not ping outside network.

Example, 137.172.74.249, 8.8.8.8. Always, I get the error message like

PING 137.172.74.249 (137.172.74.249) 56(84) bytes of data. From 172.16.13.1 icmp_seq=1 Destination Host Prohibited

Attached all the informations.

edit retag flag offensive close merge delete

Comments

Can you run from within VM :
$ifconfig
$ping 8.8.8.8
$curl http://169.254.169.254/latest/meta-data
$curl msn.com

dbaxps gravatar imagedbaxps ( 2014-07-09 00:19:01 -0500 )edit

which network services you are using, router must have default GW which can get you to the public network..

Bhupender Kumar gravatar imageBhupender Kumar ( 2014-07-09 00:38:31 -0500 )edit

what does this mean "router must have default GW which can get you to the public network"?

flyingoncloud gravatar imageflyingoncloud ( 2014-07-09 23:54:06 -0500 )edit

My problem is that I can not ping 8.8.8.8 curl http://169.254.169.254/latest/meta-data .

Actually, I followed the http://goo.gl/Yvmd0P . But I can not get the real internet accessed even I can ping hosting server (where openstack is running) within VM.

flyingoncloud gravatar imageflyingoncloud ( 2014-07-09 23:58:51 -0500 )edit