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.

Project

iproute2 is an open-source project released under the terms of version 2 of the GNU General Public License. Its development is closely tied to the development of networking components of the Linux kernel. As of December2013[update], iproute2 is maintained by Stephen Hemminger and David Ahern. The original author, Alexey Kuznetsov, was responsible for the quality of service (QoS) implementation in the Linux kernel.

iproute2 collection contains the following command-line utilities: arpd, bridge, ctstat, dcb, devlink, ip, lnstat, nstat, rdma, routef, routel, rtacct, rtmon, rtstat, ss, tc, tipc and vdpa. 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. Below is a table of obsolete utilities and their iproute2 replacements.

Utilities obsoleted by iproute2
Legacy utilityReplacement commandNote
ifconfigip addr, ip linkAddress and link configuration
routeip routeRouting tables
arpip neighNeighbors
iptunnelip tunnelTunnels
nameif, ifrenameip link set nameRename network interfaces
ipmaddrip maddrMulticast
netstatss, ip routeShow various networking statistics
brctlbridgeHandle bridge addresses and devices

See also

External links

  • onGitHub
  • - A tutorial in exploring and using iproute2.
  • - Complete official documentation.
  • - A collection of documents relating to iproute2 configuration and usage.