close
$ sudo vim /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 172.17.11.1
netmask 255.255.254.0
gateway 172.17.10.1
dns-search dreamtails.local # equal to "search" in /etc/resolv.conf
auto eth1
iface eth1 inet dhcp
post-up route del default dev eth1
==============================
全站熱搜
留言列表