[root@hadoop001 ~]# cd /etc/udev/rules.d/
[root@hadoop001 rules.d]# vim 70-persistent-net.rules
将eth1改成eth0,
vim /etc/sysconfig/network-scripts/ifcfg-eth0
复制ATTR{address}到:HWADDR属性
[root@hadoop001 ~]# cd /etc/udev/rules.d/
[root@hadoop001 rules.d]# vim 70-persistent-net.rules
将eth1改成eth0,
vim /etc/sysconfig/network-scripts/ifcfg-eth0
复制ATTR{address}到:HWADDR属性