[PLUG] VMPlayer host network only

chris (fool) mccraw gently at gmail.com
Tue Aug 4 23:26:21 UTC 2015


On Tue, Aug 4, 2015 at 4:05 PM, Ken Stephens <kens at cad2cam.com> wrote:

> Michael Rasmussen wrote:
>
> > Both hosts can ping their own interface, yet neither can ping the other's
> > interface.
>

No surprise there - you can ping any address you configure as local by
default :)


> Check your firewall settings on both the virtual and real machines. You
> are probably blocking port 22 on one of them.
>

...but blocking ICMP by default as he mentioned ping doesn't work?  That
seems odd and unexpected to me.

Michael, can you tell us what the setup is on each machine (eg VM =
10.1.1.1/255.0.0.0 w/route to that network via the interface, host=
10.1.1.2/255.0.0.0 route - note that I am more interested in what the Host
machine's network settings are on the private network that gets setup for
the VM than what its "external" IP/routes are)?  Also, what host passes out
the DHCP address to the VM - that should be in the logs somewhere? (My
centos 7 VM puts it in /var/log/messages as 'server identifier x.y.z.q' in
the middle of a bunch of NetworkManager output.)

In my setup, that IP is given out by my host machine - which is not running
DHCPd, so VirtualBox is using its builtin DHCP server, and just passes on
many the same settings (eg nameservers) as the host OS is already using -
but this is NAT, not host-based networking, mode.  I used to use the
Host-based networking, but lately I've fallen back to NAT which I realize
won't work for you, but hopefully the above can give us some ideas as to
what's wrong.  In my old setup I'm pretty sure I had Host-based networking
and still used the auto-dhcp and the default route on that VM got an
automatic gateway set that was the IP of the host machine (from the point
of view of the VM).



More information about the PLUG mailing list