cmd→ipconfig
cp /etc/network/interfaces /etc/network/interfacesbak #备份原有配置文件
vim /etc/network/interfaces #编辑网卡配置文件
修改后,注意后面的地址要放在最后面
标注:
auto