VM access from external network [closed]

asked 2014-09-01 23:37:41 -0500

ashu gravatar image

updated 2015-06-04 10:53:28 -0500

rbowen gravatar image

Hi

I'm trying to access VM from external network and I'm able to do the same i.e able to ping VM from external network through floating IP.

However the problem what I'm facing is that I'm not able to ping external network from VM. Please help regarding this.

Thanks

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by rbowen
close date 2015-11-16 15:46:35.785662

Comments

What shows ifconfig for Cirros VM ?
$ curl http://169.254.169.254/latest/meta-data

dbaxps gravatar imagedbaxps ( 2014-09-01 23:43:19 -0500 )edit

From VM I'm able to ping the router Ip 192.168.4.33 but not abe to ping ext GW

Below are the details ...

Vm Ip-- 192.168.2.4 floating Ip - 192.168.4.34 VM gateway -- 192.168.2.1

Router Ip -- 192.168.2.1 192.168.4.33

Ext gateway Ip - 192.168.4.1 Ext Machine Ip - 192.168.4.22

ashu gravatar imageashu ( 2014-09-01 23:52:16 -0500 )edit

Does curl work from within your VM ?

dbaxps gravatar imagedbaxps ( 2014-09-02 00:03:42 -0500 )edit

NO - the curl is not working.

ashu gravatar imageashu ( 2014-09-02 00:09:58 -0500 )edit

It's critical. You don't have access to metadata. Please,run
$ netstat -lntp | grep 8775

dbaxps gravatar imagedbaxps ( 2014-09-02 01:21:59 -0500 )edit