![]() Screenshot of ip addr (with color highlighting) in Linux | |
Original author(s) | Alexey Kuznetsov |
---|---|
Developer(s) | Stephen Hemminger |
Stable release | |
Repository | |
Written in | C |
Operating system | Linux |
Type | Networking |
License | GPLv2 |
Website | wiki |
iproute2 is a collection ofuserspace utilities for controlling and monitoring various aspects ofnetworking in theLinux kernel, includingrouting, network interfaces, tunnels,traffic control, and network-relateddevice drivers.
iproute2 is anopen-source project released under the terms of version 2 of theGNU General Public License. Its development is closely tied to the development of networking components of the Linux kernel. As of December 2013[update], iproute2 is maintained by Stephen Hemminger and David Ahern. The original author, Alexey Kuznetsov, was responsible for thequality of service (QoS) implementation in the Linux kernel.[2]
iproute2 collection contains the followingcommand-line utilities:arpd,bridge,ctstat,dcb,devlink,ip,lnstat,nstat,rdma,routef,routel,rtacct,rtmon,rtstat,ss,tc,tipc andvdpa.[3]tc is used fortraffic control. iproute2 utilities communicate with the Linux kernel using thenetlink protocol. Some of the iproute2 utilities are often recommended over now-obsoletenet-tools utilities that provide the same functionality.[4][5] Below is a table of obsolete utilities and their iproute2 replacements.
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 |