Sunday, September 6, 2020

Clients fail to Connect Debian on VMWare Virtual Machine


>PROBLEM

VMWare has ping to host but host has not ping to the VMWare running Debian.


>SOLUTION

There are three things to observe.


First, you must make sure that the VMWare network interface configuration is correct.
Summarizing: it is required two interfaces at least.
One for the Internet that it is mapped to NAT, and a second to access a local network, for instance, that shall be mapped to the local interface on your host. If Windows, you may access the network interfaces using the command: ncpa.cpl.

Map in the network interfaces using the same order.
For instance, if the guest is a Debian and has eth0 (Internet) and eth1(local), map the network adapters in VMWare's settings using the same order. 








Second, check the network icon to make sure it active and not "unmanaged".



If it is deactivated (unmanaged), do:

sudo vim /etc/NetworkManager/NetworkManager.conf

Set false to true:



Update, restarting service:

service network-manager restart


More detailed information, you get in this video.


Third, restart the virtual machine without using Ctrl+E. Use its shutdown button.
Try to ping your VM:
ping 10.0.0.XX

If it fails, restart Windows. 


IMPORTANT NOTE

Remember two extra concerns:

- Firewall configuration (host and guest/VM)

- VPN 
Sometimes the VPN impedes the access.
Test disconnecting the VPN.


>ENV

Windows 10
VMWare 8 running Debian 7 or 10
VMWare 15.5 running Debian 7 or 10





No comments:

Post a Comment

eclipse: java: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder" or Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/impl/StaticLoggerBinder

  >PROBLEM Using Eclipse, you try to run a simple logging test using "org.slf4j.Logger" like the sample below: package Test; im...