%general-entities; ]>
Iproute2-&iproute2-version; iproute2
<para>The iproute2 package contains programs for basic and advanced IPV4-based networking. </para> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem> <seg>0.1 SBU</seg> <seg>.6 MB</seg> </seglistitem> </segmentedlist> <segmentedlist> <segtitle>iproute2 installation depends on</segtitle> <seglistitem> <seg>sed, GCC, Glibc, Make, Linux-Headers</seg> </seglistitem> </segmentedlist> </section> <section role="installation"> <title>Installation of iproute2 The arpd binary included in this package is dependent on Berkeley DB. As arpd is not a very common requirement on a base Linux system we remove the dependency on Berkeley DB by applying the patch using the command below. If you need the arpd binary, then instructions for compiling Berkeley DB can be found in the BLFS book. patch -Np1 -i ../iproute2-&iproute2-patch-version;-remove_db-1.patch Prepare iproute2 for compilation: ./configure Compile the package: make SBINDIR=/sbin SBINDIR=/sbin This makes sure that the iproute2 binaries will install into /sbin. This is the correct location according to the FHS, as some of the iproute2 binaries are used in our bootscripts. Now install it: make install SBINDIR=/sbin
Contents of iproute2 Installed programs ifstat, ip, nstat, routef, routel, rtmon, rtstat, ss, and tc. Short descriptions ifstat ifstat shows the interfaces statistics. Shows the amount of transmitted and received packages by interface ip ip is the main executable. Has several different functions. ip link [device] allows you to look at the state of devices and to change it. ip addr allows you to look at addresses and their properties, add new addresses and to delete old ones. ip neighbor allows you to look at neighbour bindings and their properties, add new neighbour entries and to delete old ones. ip rule allows you to look at the routing policies and change them. ip route allows you to look at the routing table and change routing table rules. ip tunnel allows you to look at the ip tunnels and their properties, and change them. ip maddr allows you to look at the multicast addresses and their properties, and change them. ip mroute allows you to set, change, or delete the mutlicast routing. ip monitor allows you to monitor the state of devices, addresses and routes continuously. nstat nstat Shows network statistics routef routef A component of ip route. This is for flushing the routing tables. routel routel A component of ip route. This is for listing the routing tables. rtmon rtmon Route Monitoring Utility. rtstat rtstat Route Status Utility ss ss Similar to the netstat command. Shows active connections. tc tc Traffic Controlling Executable. This is for QOS/COS implementations. tc qdisc allows you to setup the queueing discipline. tc class allows you to setup classes based on the queuing discipline scheduling. tc estimator allows you to estimate the network flow into a network. tc filter allows you to setup the QOS/COS packet filtering. tc policy allows you to setup the QOS/COS policies.