Please edit /etc/rc.d/rc.local and add 3 lines:
ifconfig eth0 down
ifconfig eth0 hw ether aa11bb22cc33
ifconfig eth0 up
转载于:https://blog.51cto.com/limylau/119316
转载于:https://blog.51cto.com/limylau/119316