ICMP - Destination Unreachable Message Analysis

Does anyone know how to use python to ping a local host to see if it is active or not? We (my team and I) have already tried using. os.system("ping 192.168.1.*") But the response for destination unreachable is the same as the response for the host is up. Thanks for your help. Destination host unreachable vs Request timed out in Ping Jan 28, 2017 networking - Pinging computers on local network ping gateway from both computers ping then try to ping comp1 to compt2 and comp2 to comp1 then post results of arp -a from BOTH boxes. Edit. Interesting, something is blocking traffic. run sudo tcpdump -ni wlan0 arp in one window on both computers and then try pinging each other and the gateway from another window on both again and post results Network is unreachable |VMware Communities

If this works (try ping first, then google.com) check my answer for persisting the changes. – GnP Feb 4 '14 at 14:49 @user240010, You wrote an excellent solution.

Windows server| ping destination host unreachable server Nov 16, 2015

This was totally an isolated incident, but I performed this command: ping and got this result []:Pinging with 32 bytes of data: Reply from Destination host unreachable.

Jul 29, 2015 · PING isn't a one way traffic item. It is bi-directional. The ICMP echo request goes out and the reply is what you see at the command prompt when you get a "reply received" So, if PING really is replying with a proper response and not a "destination host unreachable" then there isn't a thing wrong on the routing side, it'll be the firewall. I'm trying to ping from guest to my host network without success. qemu-system-x86_64 -hda debian_squeeze_amd64_standard.qcow2 -netdev user,id=user.0 -device e1000,netdev=user.0 I try to ping a random machine: $ ping Destination Host Unreachable In the guest I'm only able to ping the host (DHCP server).