After restarting the computer, the virtual machine cannot ping the gateway

First, make sure that the configuration is correct:

1. The virtual machine is set to static ip;

2. The local computer VMnet8 has also set a fixed ip

Configure virtual machine tutorial: https://blog.csdn.net/qq_41587243/article/details/93725380

 

On the premise of ensuring that the configuration is correct, there are several possibilities:

1. Open the task manager and see if the VMware NAT service is started;

2. The VMware NAT service in the service is not set to boot automatically

3. The VMware NAT service in the service conflicts with some processes or services of other software. Even if it is set to start automatically after booting, it will be forced to close after a period of time (maybe because of 360, campus network client, other overbearing software)
 

Guess you like

Origin blog.csdn.net/qq_41587243/article/details/105973229