lmgsanm

每天学习一点,每天进步一点点…… Tomorrow is another beatifull day

导航

linux系统启动时更改MAC地址

vim /etc/rc.local

#change the server's MAC address("00:50:56:84:5C:76" change to 00:50:56:84:5D:77)

/sbin/ifconfig eth0 down

/sbin/ifconfig eth0 hw ether 00:50:56:84:5D:77

/sbin/ifconfig eth0 up

service network restart

posted on 2016-04-28 09:10  lmgsanm  阅读(349)  评论(0编辑  收藏  举报