使用root权限 su root 修改网络设置 cd /etc/sysconfig/network-scripts vi ifcfg-ens33 重启网络 service network restart