ip
Show / manipulate routing, devices, policy routing and tunnels.
Some subcommands such as `ip address` have their own usage documentation.
- List interfaces with detailed info:
ip address
- List interfaces with brief network layer info:
ip -brief address
- List interfaces with brief link layer info:
ip -brief link
- Display the routing table:
ip route
- Show neighbors (ARP table):
ip neighbour
- Make an interface up/down:
ip link set {interface} up/down
- Add/Delete an IP address to an interface:
ip addr add/del {ip}/{mask} dev {interface}
ip route add default via {ip} dev {interface}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).