Resolve the problem that VMware host-only virtual machines cannot ping physical machines
problem description
A new VM CentOS7 is created in VMware Workstation, and the network adapter selects Host Only Mode. As a result, the physical machine does not ping the VM, and the virtual machine does not ping the physical machine.
cause analysis
Physical machine ping does not work virtual machine
(1) The reason for the virtual machine firewall, just turn off the firewall
Virtual machine ping does not work with physical machine
(1) The ping address is incorrect. Because it is in "host-only mode," the network adapter used for communication between the physical machine and the virtual machine is VMnet1. Therefore, when ping, the address of VMnet1 should be written. Ping is the host machine.
(2) The reason for the physical machine firewall, turn off the firewall
summary
The above is a small editor to introduce to you to solve the VMware host-only virtual machine can not ping the physical machine problem, I hope to help you, if you have any questions please give me a message, small editor will reply to you in time. Thank you very much for your support!