标签:5.0 gateway eth 设置 http mask 网络配置 line dns
vim /etc/network/interfaces
添上:
auto eth0
#iface eth0 inet dhcp
iface eth0 inet static
address 192.168.1.110
netmask 255.255.255.0
gateway 192.168.1.2
cd /etc/resolvconf/resolv.conf.d
vim base
加上
nameserver 8.8.8.8
nameserver 202.112.14.151
标签:5.0 gateway eth 设置 http mask 网络配置 line dns
原文地址:http://www.cnblogs.com/auyeungcarl/p/6349174.html