ip command

Network Interface:
ip link help, ip link show, ip link
ip link set eth0 down
ip link set ppp0 up
ip link set dev eth0 address 0a:cc:72:03:05:40
ip link set dev eth0 promisc on
Statistics:
ip -s link
ip -s link ls eth0

IP Address:
ip address help, ip addr show, ip addr
ip addr show dev eth0
ip addr del 192.168.1.100/24 dev eth0
ip addr add 192.168.1.100/24 dev eth0
ip -s addr

Route Table:
ip route help, ip route show, ip route
ip route get 192.168.1.100
ip route add default via 192.168.0.1
ip route del default via 192.168.1.1

Show Network Statistics:
ip -s link
ip -s -s link ls eth0

Neighbour/ARP:
$ ip neighbour

Monitor Netlink Messages:
$ ip monitor all

Posted in: net