The ip command

show / manipulate routing, network devices, interfaces and tunnels 4 examples from the lessons of the IVski Linux Playground — try them in the terminal next to them.

Subcommands in the examples

ip addr
ip link
- network device.
ip route
- routing table entry.

Examples

ip addr

Show all network interfaces and IPs

ip addr show eth0

Specific interface

ip route

Show routing table

ip link

Link layer info

Lessons that use ip