VM access from external network [closed]
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
What shows
ifconfig
for Cirros VM ?$ curl http://169.254.169.254/latest/meta-data
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
Does curl work from within your VM ?
NO - the curl is not working.
It's critical. You don't have access to metadata. Please,run
$ netstat -lntp | grep 8775