The problem that has been bothering me for a long time recently, so record it
Confirm that there is no problem with the configuration
centos7下 /etc/sysconfig/network-scripts/ifcfg-ens32
NAT mode connection
All WMware services are enabled
Start: systemctl start NetworkManger
Shut down: systemctl stop NetworkManager
Boot up: systemctl enable NetworkManager
Check whether it is started at boot: systemctl is-enabled NetworkManager
Disable booting: systemctl disable NetworkManager
Because I followed the online tutorial to modify NetworkManger before, the NetworkManger service was closed. Use the systemctl start NetworkManger command and set it to start up.