参考:http://www.tangqizhong.org/archives/17.html
方法1:
ifconfig eth0 down
ifconfig eth0 hw ether 00:AA:BB:CC:DD:EE
ifconfig eht0 up
方法2:
ip link set eth1 down
ip link set eth1 address 00:AA:BB:CC:DD:EE
ip link set eth1 up
00-0E-A6-F7-6A-47
===== 2010/04/06 追加 ===
应该这样子来做
[root@localhost luyao]# /etc/rc.d/network stop
[root@localhost luyao]# ifconfig eth0 hw ether 00:0E:A6:F7:6A:47
[root@localhost luyao]# /etc/rc.d/network start
我使用过了方法1,发现确实能用