标题:Ubuntu下网络参数配置 出处:Felix021 时间:Sat, 20 Sep 2008 17:48:52 +0000 作者:felix021 地址:https://www.felix021.com/blog/read.php?1175 内容: 打开配置文件 $ sudo vi /etc/network/interfaces DHCP参数配置引用 auto eth0 iface eth0 inet dhcp Static IP (静态IP)参数配置引用 auto eth0 iface eth0 inet static address 192.168.1.100 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.1 Restart the network $ sudo /etc/init.d/networking restart Generated by Bo-blog 2.1.0