Skip to main content
Kill -9 Club
Sign in

ip

NetworkPackage: iproute2

Linux's single networking tool: ip addr for addresses and their prefix, ip link for interfaces and their MTU, ip route for the routing table, ip neigh for link neighbours. ip route get <address> is the one that matters — it makes the kernel print the decision it would take, instead of leaving you to infer it. It replaces ifconfig, route and arp, which net-tools supplied and Ubuntu 24.04 no longer installs.

What its options do in the lessons

From the same glossary the lessons render under their commands, so the two cannot disagree.

ip -br
Brief output: one line per interface, with its state and addresses in columns. ip -br link is the quickest way to find out what a machine's cards are actually called.
ip -o
One line of output per record: each address fits on a single line instead of a paragraph, which makes it readable and usable by grep or awk.

Lessons that teach it

ip — command reference | Kill -9 Club