Total Pageviews

Friday, 17 February 2012

CentOS更改 MAC 地址方法

1. /etc/init.d/network stop
2. 如果你的网卡是eth0,那么打开文件/etc/sysconfig/network-scripts/ifcfg-eth0
如果那个文件中有MACADDR=XX:XX:XX:XX:XX:XX那么就更改为你需要的 MACADDR=OO:OO:OO:OO:OO:OO,
如果没有那么就在最后添加一行MACADDR=OO:OO:OO:OO:OO:OO
3. /etc/init.d/network start

No comments:

Post a Comment