[centos] There is no network after vmware installs centos7

Centos7 has no network after vmware is installed for the first time. You need to set ONBOOT=yes and the specific steps are

su root

cd /etc/sysconfig/network-scripts/

vi ifcfg-ens33

Set ONBOOT=yes

service NetworkManager restart

Then test the network:

ping www.baidu.com

If you can ping successfully, it means the network is normal.

Guess you like

Origin blog.csdn.net/FL1623863129/article/details/133143916