Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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


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.