linux修改mac地址
时间:2014-04-13 11:53:35
收藏:0
阅读:725
先禁用网卡ifconfig eth0 down
再用ifconfig eth0 hw ether 新地址
这样就可以了
要想永久修改的话,在/etc/rc.d/rc.local里加上下面三句(/etc/init.d/network里面也可以)
ifconfig eth0 down
ifconfig eth0 hw ether 新地址
ifconfig eth0 up
原文:http://www.cnblogs.com/attlia/p/3660755.html
评论(0)