ip-address
IP Address management subcommand. tldr-pages
On Linux
Linux
List network interfaces and their associated IP addresses
ip [aIdentifyTrips 1 Sigma rule: informationalSystem Network Discovery - Linux by Ömer Günal and remotephone, oscd.community
Filter to show only active network interfaces
ip [a [s upIdentifyTrips 1 Sigma rule: informationalSystem Network Discovery - Linux by Ömer Günal and remotephone, oscd.community
Display information about a specific network interface
ip [a [s ethXIdentifyTrips 1 Sigma rule: informationalSystem Network Discovery - Linux by Ömer Günal and remotephone, oscd.community
Add an IP address to a network interface
sudo ip [a [a ip_address dev ethXIdentifyTrips 1 Sigma rule: informationalSystem Network Discovery - Linux by Ömer Günal and remotephone, oscd.community
Remove an IP address from a network interface
sudo ip [a [d ip_address dev ethXIdentifyTrips 1 Sigma rule: informationalSystem Network Discovery - Linux by Ömer Günal and remotephone, oscd.community
Delete all IP addresses in a given scope from a network interface
sudo ip [a [f ethX scope globalIdentifyTrips 1 Sigma rule: informationalSystem Network Discovery - Linux by Ömer Günal and remotephone, oscd.community