ubuntu网络配置
/etc/network/interfaces ------- ip地址设置文件
例:
auto eth0
iface eth0 inet static
address 10.0.0.100
netmask 255.255.255.0
gateway 10.0.0.1
/etc/resolv.conf -------------- 域名解析地址文件
nameserver //定义DNS服务器的IP地址
domain //定义本地域名
search //定义域名的搜索列表
sortlist //对返回的域名进行排序
sudo /etc/init.d/networking restart --------- 重启网络命令