Ubuntu IP DNS 配置
vi /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.5.6
netmask 255.255.240.0
gateway 192.168.0.254
dns-nameservers 124.16.136.254
~
~
~
~
~
~
vi /etc/network/interfaces