Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Inside the Virtual Machine ,running Ubuntu, I can ping outside machines and can even connect to the internet, but outside machines can not ping me except my host Windows machine,

The VMware Image use bridge mode and The IP of the Ubuntu is get from DHCP.

What could be catchy here and how to diagnose it? Thanks.

share|improve this question

1 Answer 1

Assuming you can access your machine through other ways. Ubuntu has ping switched off sometimes, try and switch it back on using this:

In Ubuntu ping can be enabled by adding following line to your /etc/init.d/networking script.

echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_all

This adds to ability to be pinged using ICMP calls. Check out what your current settings are by using cat on /proc/sys/net/ipv4/icmp_echo_ignore_all

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.