iproute2 package contains utilities for controlling and monitoring networking, IP address, and routing. It is a modern replacement for net-tools.
Iproute2 is an open-source project mainly focussed on network components of the Linux kernel. The commonly used utilities inside iproute2 are ip, ss, and bridge.
The below table shows the iproute2 and deprecated net-tools Linux commands.
|Display all interfaces|
|Enable (UP)/Disable (DOWN) Network Interface|
|Assign an IPv4 address to Network Interface|
|Delete an IPv4 address from Network Interface|
|Display IPv4 address of a Network Interface|
|Assign an IPv6 address to a Network Interface|
|Display IPv6 address of a Network Interface|
|Change the MAC Address of a Network Interface|
|Show IP Routing Table|
|Add a Default Route|
|Delete a Default Route|
|Add a Static Route|
|Delete a Static Route|
|Display socket - listening tcp/udp|
|Display ARP Table|
|Manage bridge addresses and devices|
Many Linux users still prefer to use legacy tools such as netstat, ifconfig, route etc. Iproute2 package tools are pretty faster and retrieve more information for example ss command is faster than netstat.
Thanks for reading, provide your feedback and suggestions in the comment section.