cd /etc/sysconfig/network-scrip vi ifcfg-eth0 把eth0修改成eth1,重启网卡就可以了 转载于:https://www.cnblogs.com/shttke/p/10965110.html