Show Routeing Table :
ip route
route
route -n

Show Interface Config
ifconfig

Set Ip Interface
ifconfig eth0 [ip address] netmask  [ip address]
ifconfig eth0 192.168.2.1 netmask 255.255.255.0

Route Add and Delete
# route add -net 10.10.10.0/24 gw 192.168.0.1
# route del -net 10.10.10.0/24 gw 192.168.0.1

Enable & Disable Network
ifconfig eth up

ifconfig eth down

Set Default Gateway
sudo route add default gw [ip address] [adapter]
sudo route add default gw 192.168.1.1 eth0

Restart Network Services
# /etc/init.d/networking restart
# /etc/init.d/networking start
# /etc/init.d/networking stop

How Permanet Network Config:
nano /etc/network/interfaces

Ping ip & Dns:
ping 4.2.2.4
host yahoo.com
dig yahoo.com

Path Dns 
nano /etc/resolv.conf

Other Command:
arp
netstat
nslookup
tracert
hostname