Ubuntu下的IP地址设置[静态IP,动态自动获取IP 转自:http://www.coolni.cn/me/?post=40# 设置静态IP:auto eth0iface eth0 inet static# 设置本机IPaddress 219.234.83.77# 设置子网掩码netmask 255.255.255.0# 设置网关gateway 219.234.83.254# 设置自动获取IP:auto eth0iface eth0 inet dhcp