internet protocol - show/manipulate routing, devices, policy routing and tunnels
Installation
homebrew
1. install ip (iproute suite)
brew install iproute2. verify ip was installed
which ipman ip
Commands
Click here to expand...
The central utility in the iproute suite is called simply ip. Its basic syntax is as follows:
~> ip object command
Where object can be only one of the following (frequent objects are shown – refer to man ip for complete list):
- link : network device.
- addr : protocol (IP or IPv6) address on a device.
- route : routing table entry.
- rule : rule in routing policy database.