Remote host pingable from Mac but not from Virtualbox VM


Arjun

I have a remote that I can ping from the Macbook terminal. However, when I start the VirtualBox Ubuntu 16.04 VM and ping the same remote host, it fails to ping and I get the error "target host unreachable".

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

I've been trying to find similar issues online but haven't found any. 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
0.0.0.0         10.0.2.2        0.0.0.0         UG        0 0          0 eth0
0.0.0.0         10.0.0.1        0.0.0.0         UG        0 0          0 enp0s8
10.0.0.0        0.0.0.0         255.255.255.0   U         0 0          0 enp0s8
10.0.2.0        0.0.0.0         255.255.255.0   U         0 0          0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 eth0
172.17.0.0      0.0.0.0         255.255.0.0     U         0 0          0 docker0
172.18.0.0      0.0.0.0         255.255.0.0     U         0 0          0 br-3703e922f98f

$ nslookup eventquery01.mp.local
Server:     172.16.254.11
Address:    172.16.254.11#53

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

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

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

According to your routing, all traffic 172.18.0.0/255.255.0.0to which the IP address belongs 172.18.83.85will be sent to the br-3703e922f98finterface.

If br-3703e922f98fthe interface is not on the same network as the remote host eventquery01.mp.local, and in fact they are two separate networks covering part of the same subnet, the only way to fix the problem is to change the network subnet of one of the endpoints to something the other network is not using.

is br-3703e922f98fthe interface part of a docker network? If so, there are configuration options to modify the networks created by Docker, or you can create them manually.

Related


Remote host pingable from Mac but not from Virtualbox VM

Arjun I have a remote that I can ping from the Macbook terminal. However, when I start the VirtualBox Ubuntu 16.04 VM and ping the same remote host, it fails to ping and I get the error "target host unreachable". Also, when I do this, I'm on the company's VPN,

Remote host pingable from Mac but not from Virtualbox VM

Arjun I have a remote that I can ping from the Macbook terminal. However, when I start the VirtualBox Ubuntu 16.04 VM and ping the same remote host, it fails to ping and I get the error "target host unreachable". Also, when I do this, I'm on the company's VPN,

Connect to VirtualBox localhost from Mac host

Nathan Baker I'm running a .NET server on localhost in a virtual machine VM. I want to access the VM localhost from a browser on a Mac - I'm working on a new javascript client for this project and would like to do this on a Mac. There are many answers for doin

Connect to VirtualBox localhost from Mac host

Nathan Baker I'm running a .NET server on localhost in a virtual machine VM. I want to access the VM localhost from a browser on a Mac - I'm working on a new javascript client for this project and would like to do this on a Mac. There are many answers for doin

Unable to connect to VirtualBox VM from Kubuntu host using NAT

Gilberts I am using Kubuntu 13 as host and Xubuntu 12 as guest. In the VM network options, I selected NAT, and like 127.0.0.1:23 => 10.0.2.15:22. I can access the internet from the guest, but when I try to SSH to the guest, I get connection refused. Recently I

Run command on Ubuntu guest in VirtualBox VM from Windows host

that 88 I'm writing some code and I have an idea that should work, but I don't know how to make it work. I'm running some code with Wolfram Mathematica on a Windows host, but I have to export the files to a Linux based program running in an Ubuntu Virtualbox V

Run command on Ubuntu guest in VirtualBox VM from Windows host

that 88 I'm writing some code and I have an idea that should work, but I don't know how to make it work. I'm running some code with Wolfram Mathematica on a Windows host, but I have to export the files to a Linux based program running in an Ubuntu Virtualbox V

Virtualbox: Separate remote access from the VM's internet access

tommy delicious I want to access a Windows 7 VM via VRDP from my fixed LAN (the VM is configured for remote access), but I want all applications in the VM to use a separate WiFi connection. I have a USB WiFi adapter connected to the host that connects to the V

VMWare Fusion access guest VM (Windows) from host (Mac)

Tyler Jones I need to access the localhost of a guest Windows 8 vm from a Mac OS (10.9) host. Windows 8 virtual machine is running in VMWare Fusion. How can I do this? I tried using ipconfig to get the guest IP address and then typing that IP address into the

VMWare Fusion access guest VM (Windows) from host (Mac)

Tyler Jones I need to access the localhost of a guest Windows 8 vm from a Mac OS (10.9) host. Windows 8 virtual machine is running in VMWare Fusion. How can I do this? I tried using ipconfig to get the guest IP address and then typing that IP address into the

mysqldump from remote host

Marty Wallace: Is it possible to dump database from remote host over ssh connection and save backup file on local machine. If so, how to achieve this? I'm assuming it will be some combination of piped output from ssh to dump or vice versa, but can't figure it

mysqldump from remote host

Marty Wallace: Is it possible to dump database from remote host over ssh connection and save backup file on local machine. If so, how to achieve this? I'm assuming it will be some combination of piped output from ssh to dump or vice versa, but can't figure it

mysqldump from remote host

Marty Wallace: Is it possible to dump database from remote host over ssh connection and save backup file on local machine. If so, how to achieve this? I'm assuming it will be some combination of piped output from ssh to dump or vice versa, but can't figure it

How to install macOS VM Guest under VirtualBox on Mac host?

Sunny light How to install macOS Mojave, macOS High Sierra and macOS Yosemite as VirtualBox VM guests on Mac hardware? Sunny light Here is my installed configuration: Late 2015, Retina iMac (probably any new enough Mac will work) ----- VirtualBox 5.2.19 (for n

How to install macOS VM Guest under VirtualBox on Mac host?

Sunny light How to install macOS Mojave, macOS High Sierra and macOS Yosemite as VirtualBox VM guests on Mac hardware? Sunny light Here is my installed configuration: Late 2015, Retina iMac (probably any new enough Mac will work) ----- VirtualBox 5.2.19 (for n

Access VirtualBox localhost from the host

Shane Bacon I'm connecting to a server via ssh -L 8000:localhost:8000 <hostname>an Ubuntu virtual machine in VirtualBox . In the VM, I can access the server via "localhost:8000" but not from the IP address "192.168.11.175:8000" (I have bridged adapter). I can'

How to access Apache2 virtual host from VirtualBox (or any VM)

hail I'm running Ubuntu 11.04 and have set up localhost so my website can be accessed via site1.local site2.local By setting up a virtual host and adding the entry to my hosts file. I want to test them in IE, so I have VirtualBox installed on Windows. My

How to access Apache2 virtual host from VirtualBox (or any VM)

hail I'm running Ubuntu 11.04 and have set up localhost so my website can be accessed via site1.local site2.local By setting up a virtual host and adding the entry to my hosts file. I want to test them in IE, so I have VirtualBox installed on Windows. My