ip Command Examples

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

ip {{[a|address]}}

ip {{[-br a|-brief address]}}

ip {{[-br l|-brief link]}}

ip {{[r|route]}}

ip {{[n|neighbour]}}

sudo ip {{[l|link]}} {{[s|set]}} {{interface}} {{up|down}}

sudo ip {{[a|address]}} {{add|delete}} {{ip}}/{{mask}} dev {{interface}}

sudo ip {{[r|route]}} {{[a|add]}} default via {{ip}} dev {{interface}}