ip linux command - MarekBykowski/readme GitHub Wiki
Show all interfaces
ip addr show
Show only those up
ip addr show up
Show only eth0
ip addr show eth0
Assign 192.168.1.200/255.255.255.0
ip addr add 192.168.1.200/255.255.255.0 dev eth0
Delete 192.168.1.200/24
from device eth0
ip addr del 192.168.1.200/24 dev eth0
Show route table
ip route list
Bring eth0
up/down
ip link set dev eth0 down
ip link set dev eth0 up
Show arp --all
ip neigh show