I have 2 devices :

  • PC (debian 16.04) :
  • Android device (4.4.2) :

They're on the same network, have the same gateway which is but whenever I try to ping from one device to the other, I have a

PING ( 56(84) bytes of data.
From icmp_seq=1 Destination Host Unreachable

The weird part is that I can still ping other devices (using wifi or not), in the same network with the 2 of them. What is causing this problem ?

1 Answer 1


Normally, the error "Destination Host Unreachable" means that the ARP resolution for the destination failed. If you run ARP -a on the computer which run the ping command, you should find that the ARP entry for is missing.

My assumption is that the android device enables ARP firewall, so that it will not reply the ARP request.

Hope this helps.

  • When I run arp -a on my PC ( I have an entry like this : ? ( at <incomplete> sur wlp1s0 Also, I don't know how to disable the ARP firewall on my android device, there's no setting like this
    – Nabil B.
    Jul 7, 2016 at 12:07
  • First, sorry about my typo, I've edited the original answer to change the to According to your description, I'm sure that the android device has enabled the ARP firewall. I'm not sure if this setting can be changed by a user. Normally, we need root permission to change such settings. Also, I'm not familiar with the android device. As a network engineer, what I can say is that the ARP firewall is mechanism which prevent the host from responding to any ARP request, so that no one on the same subnet can initiate the connect to the host. It's for security reason. Jul 8, 2016 at 5:55
  • Ok I'll search more about the arp firewall. But what I find weird, is that I can still ping other devices in my network with my android device. Also, yesterday the ping from my pc to android worked for a very short time and then got the same error
    – Nabil B.
    Jul 8, 2016 at 8:08
  • The android device should be able to ping other device, it's normal. Because, it can get the MAC address of other device through ARP. Jul 8, 2016 at 8:22
  • Did you ping the PC from the android device? If yes, it can be explained. Because, if the android device starts the communication to PC, it will expose its' MAC to PC, so that your PC are able to access the android device. But the arp entry is dynamic, which means that it will be aged and cleared. So, after a period, your PC can't ping the android again. ARP firewall is one possibility. Anything preventing the ARP response from the android will cause this issue. Jul 8, 2016 at 8:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .