Solve the problem that the centos virtual machine can ping the host, but the host cannot ping the virtual machine.

Preface

After installing centos, the host cannot ping the virtual machine.

1. The virtual machine can ping the host and the external network.

Insert image description here
Insert image description here

Insert image description here

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.
Insert image description here

After checking, the host checks the IP and VMware Network Adapter VMnet8 appears.

Insert image description here

Successfully pinged

Summarize

If ping fails again after a period of time, repeat this step.

Guess you like

Origin blog.csdn.net/qq_33655643/article/details/124693449