close

 vi /etc/network/interfaces

auto lo
iface lo inet loopback
iface eth1 inet static

pre-up ifconfig eth1 hw ether 你要更改的MAC
address 固定ip
netmask 255.255.255.0
gateway  你的gateway
auto eth1



 
/etc/init.d/networking start



 
arrow
arrow
    全站熱搜

    peicheng 發表在 痞客邦 留言(0) 人氣()