iproute2
Original author(s) | Alexey Kuznetsov |
---|---|
Developer(s) | Stephen Hemminger |
Stable release | 4.6.0[1]
/ May 18, 2016 |
Repository | |
Written in | C |
Operating system | Linux |
Type | Utilities for Linux |
License | GNU GPL v2 |
Website | www |
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 version 2 of the GNU GPL 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. 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: ip
, ss
, bridge
, rtacct
, rtmon
, tc
, ctstat
, lnstat
, nstat
, routef
, routel
, rtstat
, tipc
and arpd
.[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.
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 , ip link set name
|
Rename network interfaces |
ipmaddr
|
ip maddr
|
Multicast |
netstat
|
ip -s , ss , ip route
|
Show various networking statistics |
See also
References
- ^ "iproute2 download directory on kernel.org". kernel.org. Retrieved May 31, 2016.
- ^ "Introduction to iproute2". The Linux Foundation. November 19, 2009. Retrieved June 30, 2014.
- ^ "list of the Debian package iproute2". Debian.
- ^ Martín Ferrari (March 15, 2009). "net-tools future". debian.org. Retrieved June 30, 2014.
- ^ "net-tools". linuxfoundation.org.
External links
- Official website
- 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.
- Source code download directory
- git source code
- Advanced tc and iproute2 tutorial for bandwidth restriction
- Advanced iproute2 tutorial for split route / multiple uplinks
- NetEm – Network Emulator