标签:
设置IP
/etc/network/interfaces
auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 192.168.1.100 network 192.168.1.0 netmask 255.255.255.0 broadcast 192.168.1.255 gateway 192.168.1.1 up route add default gw 192.168.1.1 down route del default gw 192.168.1.1
设置DNS
/etc/resolv.conf
nameserver 202.96.128.86 nameserver 114.114.114.114
标签:
原文地址:http://blog.csdn.net/u011641885/article/details/46443799