I have a remote that I can ping from my macbook's terminal. But when I start my VirtualBox Ubuntu 16.04 VM and ping the same remote host, its not pingable and I get an error saying "Destination Host Unreachable".

Also, I am on my company's VPN when I do this and the remote host is on that network.

I have been trying to look for similar issues online but haven't found anything. How can I debug this? Please let me know any information you need.

Output from my VM:

$ netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface         UG        0 0          0 eth0         UG        0 0          0 enp0s8   U         0 0          0 enp0s8   U         0 0          0 eth0     U         0 0          0 eth0     U         0 0          0 docker0     U         0 0          0 br-3703e922f98f

$ nslookup eventquery01.mp.local

eventquery01.mp.local   canonical name = mpeventquery01.mp.local.
Name:   mpeventquery01.mp.local

$ ping
PING ( 56(84) bytes of data.
64 bytes from icmp_seq=1 ttl=63 time=74.8 ms
64 bytes from icmp_seq=2 ttl=63 time=76.4 ms
64 bytes from icmp_seq=3 ttl=63 time=78.4 ms

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

According to your routes, all traffic for, which the IP address is a part of, is being sent to the br-3703e922f98f interface.

If the br-3703e922f98f interface is not on the same network as your remote host eventquery01.mp.local, and they are in fact two separate networks overlapping part of the same subnet, the only way to fix it is to change the network subnet of one of the endpoints to a different network that is not in use.

Is the br-3703e922f98f interface part of a Docker network? If so, there are configuration options to modify the networks that Docker creates, or you can create them manually.

  • Thank you for replying. How can I simply remove that interface? I am not sure who created br-3703e922f98f. – Arjun Jun 29 '18 at 22:58
  • Was it Docker that created the interface? is it still there if the Docker service is stopped? – GracefulRestart Jun 29 '18 at 23:04
  • Yes, you are right! Although stopping docker didn't remove these interfaces. I removed the interfaces docker0 and br-3703e922f98f using ip link del docker0 and now I can ping that host!! Thanks a lot! – Arjun Jun 29 '18 at 23:29
  • To permanently remove it, I had to run: docker network ls docker network rm ... – Arjun Jun 29 '18 at 23:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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