ifconfig 查看当前网卡
service networking stop 停止当前网卡网络服务
vi /etc/network/interfaces 对网卡配置进行修改
Esc键 :wq 进行保存
重启网络服务 service networking restart
ifconfig 查看当前网卡
service networking stop 停止当前网卡网络服务
vi /etc/network/interfaces 对网卡配置进行修改
Esc键 :wq 进行保存
重启网络服务 service networking restart