iproute2
iproute2 is a collection of userspace utilities for controlling and monitoring various aspects of networking in the Linux kernel, including routing, network interfaces, tunnels, traffic control, and network-related device drivers.
iproute2 is an open-source project released under the terms of the GNU GPL v2 license. Its development is closely tied to the development of networking components of the Linux kernel. As of December 2013, iproute2 is maintained by Stephen Hemminger. The original author, Alexey Kuznetsov, was responsible for the Quality of Service (QoS) implementation in the Linux kernel.[1]
iproute2 collection contains the following command-line utilities: ip
, ss
, bridge
, rtacct
, rtmon
, tc
, ctstat
, lnstat
, nstat
, routef
, routel
, rtstat
and arpd
.[2] tc
is used for traffic control. iproute2 utilities communicate with the Linux kernel using the netlink protocol. Some of the iproute2 utilities are often recommended over now-obsolete net-tools
utilities that provide the same functionality.[3][4] Below is a table of obsolete utilities and their iproute2 replacements.
net-tools utilities obsoleted by iproute2
Legacy utility |
Obsoleted by |
Note |
ifconfig |
ip addr , ip link , ip -s |
Address and link configuration |
route |
ip route |
Routing tables |
arp |
ip neigh |
Neighbors |
iptunnel |
ip tunnel |
Tunnels |
nameif |
ifrename |
Rename network interfaces |
ipmaddr |
ip maddr |
Multicast |
netstat |
ip -s , ss , ip route |
Show various networking statistics |
See also
References
External links