/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 -------------- 域名解析地址文件
ubuntuserver网络配置,布布扣,bubuko.com
原文:http://www.cnblogs.com/xiaojun-/p/3661663.html