摘要:
首先打开ubuntu的网络配置文件sudo vi /etc/network/interfaces添加下面的内容:auto loiface lo inet loopbackauto eth0iface eth0 inet staticaddress 192.168.100.198netmask 225.225.225.0gateway 192.168.100.1 配置DNS:vi /etc/resolv.confnameserver 192.168.100.1 阅读全文