1.cd /etc/sysconfig/network-scripts/ 2.vi编辑 ifcfg-ens33文件中ONBOOT属性为yes即可 3、重启网络 service network start 4、安装net-tools yum install net-tools