dhclient eth0
ifconfig eth0 192.168.1.11/24
route add default gw 192.168.1.1
route add -net 172.16.0.0/24 gw 192.168.1.100 eth0
route -n
netstat -nr
echo nameserver 114.114.114.114
>> /etc/resolv.conf
/etc/network/interfaces
auto eth0
iface eth0 inet static
address 192.168.20.1
netmask 255.255.255.0
network 192.168.20.0
broadcast 192.168.20.255
gateway 192.168.20.2
dns-nameservers 192.168.1.1 192.168.1.2
up route add-net 172.16.5.0/24 gw 192.168.10.100 eth1
down route del-net 172.4.0.0/24