{{Short description|Suite of computer networking utilities}} {{Lowercase title}} {{Use mdy dates|date=May 2016}}

{{Infobox software | title = iproute2 | screenshot = Ip addr example screenshot.png | caption = Screenshot of <code>ip addr</code> in Linux | name = | author = Alexey Kuznetsov | developer = Stephen Hemminger | latest release version = {{wikidata|property|reference|edit|P348}} | latest release date = {{Start date and age|{{wikidata|qualifier|P348|P577}}|df=no}} | latest preview version = | latest preview date = <!-- {{Start date and age|YYYY|MM|DD|df=yes/no}} --> | programming language = C | operating system = Linux | genre = Networking | license = GPLv2 | website = {{URL|https://wiki.linuxfoundation.org/networking/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.

==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|2013|12}}, 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.<ref>{{cite web |url = https://wiki.linuxfoundation.org/networking/iproute2 |title = Introduction to iproute2 |date = November 19, 2009 |accessdate = July 15, 2019 |publisher = The Linux Foundation |df = mdy-all }}</ref>

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''. <ref>{{cite web | url=https://packages.debian.org/sid/amd64/iproute2/filelist | title=list of the Debian package iproute2 | work=Debian}}</ref> ''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.<ref>{{cite web | url = https://lists.debian.org/debian-devel/2009/03/msg00780.html | title = net-tools future | date = March 15, 2009 | accessdate = March 21, 2019 | author = Martín Ferrari | website = debian.org }}</ref><ref>{{cite web | url=https://wiki.linuxfoundation.org/networking/net-tools | title=net-tools | publisher=The Linux Foundation}}</ref> Below is a table of obsolete utilities and their iproute2 replacements.

{| class="wikitable sortable" |+ Utilities obsoleted by iproute2 |- ! Legacy utility ! Replacement command ! Note |- | {{mono|ifconfig}} | {{mono|ip addr, ip link}} | Address and link configuration |- | {{mono|route}} | {{mono|ip route}} | Routing tables |- | {{mono|arp}} | {{mono|ip neigh}} | Neighbors |- | {{mono|iptunnel}} | {{mono|ip tunnel}} | Tunnels |- | {{mono|nameif, ifrename}} | {{mono|ip link set name}} | Rename network interfaces |- | {{mono|ipmaddr}} | {{mono|ip maddr}} | Multicast |- | {{mono|netstat}} | {{mono|ss, ip route}} | Show various networking statistics |- | {{mono|brctl}} | {{mono|bridge}} | Handle bridge addresses and devices |}

== See also == {{Portal|Linux}} * BusyBox * ethtool * TIPC

==References== {{Reflist}}

== External links == * {{github|shemminger/iproute2}} * [https://www.tldp.org/HOWTO/Adv-Routing-HOWTO/ Linux Advanced Routing and Traffic Control HOWTO] - A tutorial in exploring and using iproute2. * [http://www.policyrouting.org/iproute2.doc.html IPROUTE2 Utility Suite Documentation] - Complete official documentation. * [http://www-online.kek.jp/~yasu/ATLAS/QoS/iproute2-notes.html iproute2+tc notes] - A collection of documents relating to iproute2 configuration and usage.

{{Linux kernel}} {{Linux}}

Category:Linux network-related software Category:Linux configuration utilities Category:Linux-only free software Category:Routing Category:Internet Protocol based network software Category:Network performance