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



 
文章標籤
全站熱搜
創作者介紹
創作者 peicheng 的頭像
peicheng

FLASHC

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