>_ linuxcommand.dev
Networking

ip

Show or configure network interfaces, addresses, and routes.

Syntax
$ip [LINK|ADDR|ROUTE|...] [OPTIONS]
Examples
Examples
$ip addr show
Examples
$ip route add default via 192.0.2.1
Typical use cases
Show addresses
ip addr show
Show routes
ip route show
Bring interface up
ip link set eth0 up
Note Modern replacement for ifconfig and route (iproute2).
Export