修改ip地址:ifconfig eth0 xxx:xxx:xxx:xxx
修改mac地址:ifconfig eth0 down
ifconfig eth0 hw ether xx:xx:xx:xx:xx:xx
ifconfig eth0 up
也可修改配置文件中信息/etc/rc.d/rc.local
修改ip地址:ifconfig eth0 xxx:xxx:xxx:xxx
修改mac地址:ifconfig eth0 down
ifconfig eth0 hw ether xx:xx:xx:xx:xx:xx
ifconfig eth0 up
也可修改配置文件中信息/etc/rc.d/rc.local