Iproute2

Summary

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
Original author(s)Alexey Kuznetsov
Developer(s)Stephen Hemminger
Stable release
6.8.0[1] Edit this on Wikidata / 11 March 2024; 37 days ago (11 March 2024)
Repository
  • git.kernel.org/pub/scm/network/iproute2/iproute2.git Edit this at Wikidata
Written inC
Operating systemLinux
TypeNetworking
LicenseGPLv2
Websitewiki.linuxfoundation.org/networking/iproute2

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 December 2013, 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.[2]

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. [3] 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.[4][5] Below is a table of obsolete utilities and their iproute2 replacements.

Utilities obsoleted by iproute2
Legacy utility Replacement command Note
ifconfig ip addr, ip link Address and link configuration
route ip route Routing tables
arp ip neigh Neighbors
iptunnel ip tunnel Tunnels
nameif, ifrename ip link set name Rename network interfaces
ipmaddr ip maddr Multicast
netstat ss, ip route Show various networking statistics
brctl bridge Handle bridge addresses and devices

See also edit

References edit

  1. ^ "Index of /pub/linux/utils/net/iproute2/". Retrieved March 14, 2024.
  2. ^ "Introduction to iproute2". The Linux Foundation. November 19, 2009. Retrieved July 15, 2019.
  3. ^ "list of the Debian package iproute2". Debian.
  4. ^ Martín Ferrari (March 15, 2009). "net-tools future". debian.org. Retrieved March 21, 2019.
  5. ^ "net-tools". The Linux Foundation.

External links edit

  • iproute2 on GitHub
  • Linux Advanced Routing and Traffic Control HOWTO - A tutorial in exploring and using iproute2.
  • IPROUTE2 Utility Suite Documentation - Complete official documentation.
  • iproute2+tc notes - A collection of documents relating to iproute2 configuration and usage.