ip Command Examples

Show/manipulate routing, devices, policy routing and tunnels. Some subcommands such as ip address have their own usage documentation. More information: https://www.manned.org/ip.8.

ip address

ip -brief address

ip -brief link

ip route

ip neighbour

ip link set {{interface}} {{up|down}}

ip addr add/del {{ip}}/{{mask}} dev {{interface}}

ip route add default via {{ip}} dev {{interface}}