cd /etc/sysconfig/network-scripts/ 将要改名的网卡配置文件重命名,例如 mv ifcfg-eth1 ifcfg-eth0 vim ifcfg-eth0 修改device和name字段为 eth0,其他参数不变DEVICE="eth0"NAME="eth0" vim /etc/default/grub,添加 net.ifnames=0 biosdevname=0 参数,如下所示GRUB_CMDLINE_LINUX="cras
[root@localhost ~]# cd /etc/sysconfig/network-scripts/[root@localhost network-scripts]# mv ifcfg-eno16777736 ifcfg-eth0 root@localhost network-scripts]# ls [root@localhost network-scripts]# vim ifcfg-eth0 然后禁用该科预测命名规则,对于这一点,你可以在启动时传递"net.ifnames=0 bi