ip
Linux · Network · available in the simulator
What it does
Show and configure network interfaces, addresses, and routing.
Syntax
ip [objeto] [comando]
Options and parameters
addrSubcommand: show or configure IP addresses.
ip addr showlinkSubcommand: show or configure network devices.
ip link set eth0 uprouteSubcommand: inspect or modify the routing table.
ip routeneighSubcommand: show the neighbor cache (ARP table).
-brBrief output in table format.
ip -br addr-cColorize output.
Usage examples
ip addrip routeip addr showip link set eth0 upip -br addr
Notes and common mistakes
- Replaces the legacy commands ifconfig, route, and arp.