1.修改ifcfg-ens33为ifcfg-eth0 cd /etc/sysconfig/network-scripts/ su root #进入root模式,需要输入密码 mv ifcfg-ens33 ifcfg-eth0 ls 2.编辑ifcfg-eth0 将NAME=ens33改为NAME=eth0 设置静态ip BOOTPROTO=static ONBOOT=yes 重启网卡 service network restart 进入修改grub文件 cd
在开机之后,发现网卡没有启动起来,进行了如下操作1.ifup ens33Bringing up interface ens33: Error: Connection activation failed: No suitable device found for this connection.2.接着想重启网络服务[root@client01 network-scripts]# systemctl start networkJob for network.service failed becau