· 修改/etc/network/interfacesauto loiface lo inet loopbackauto eth0iface eth0 inet staticaddress 192.168.1.50netmask 255.255.255.0network 192.168.1.0gateway 192.168.1.1dns-nameservers 192.168.1.1