Preface
After installing centos, the host cannot ping the virtual machine.
1. The virtual machine can ping the host and the external network.
2. Solution
Check the IP under the host cmd and find that there is no VMware Network Adapter VMnet8.
Open the virtual network editor of the vm.
After checking, the host checks the IP and VMware Network Adapter VMnet8 appears.
Successfully pinged
Summarize
If ping fails again after a period of time, repeat this step.