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 addrip link- - network device.
ip route- - routing table entry.
Examples
ip addrShow all network interfaces and IPs
ip addr show eth0Specific interface
ip routeShow routing table
ip linkLink layer info