From fcc027677da55c41dcaea045f5b9ff8b088e6495 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Sun, 7 Jun 2020 20:16:00 +0000 Subject: Initial commit of alternative cross LFS git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11897 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter08/iproute2.xml | 322 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 322 insertions(+) create mode 100644 chapter08/iproute2.xml (limited to 'chapter08/iproute2.xml') diff --git a/chapter08/iproute2.xml b/chapter08/iproute2.xml new file mode 100644 index 000000000..8b868df65 --- /dev/null +++ b/chapter08/iproute2.xml @@ -0,0 +1,322 @@ + + + %general-entities; +]> + + + + + + iproute2 + &iproute2-version; +
&iproute2-url;
+
+ + 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>&iproute2-ch6-sbu;</seg> + <seg>&iproute2-ch6-du;</seg> + </seglistitem> + </segmentedlist> + + </sect2> + + <sect2 role="installation"> + <title>Installation of IPRoute2 + + The arpd program included in this package will not + be built since it is dependent on Berkeley DB, which is not installed in + LFS. However, a directory for arpd and a man page will still + be installed. Prevent this by running the commands below. + If the arpd binary is needed, + instructions for compiling Berkeley DB can be found in the BLFS Book at + . + + +sed -i /ARPD/d Makefile +rm -fv man/man8/arpd.8 + + It is also necessary to disable building two modules that + requires . + +sed -i 's/.m_ipt.o//' tc/Makefile + + Compile the package: + +make + + This package does not have a working test suite. + + + Install the package: + +make DOCDIR=/usr/share/doc/iproute2-&iproute2-version; install + + + + + Contents of IPRoute2 + + + Installed programs + Installed directories + + + bridge, ctstat (link to lnstat), genl, ifcfg, ifstat, ip, lnstat, + nstat, routef, routel, rtacct, rtmon, rtpr, rtstat (link to lnstat), ss, + and tc + /etc/iproute2, /usr/lib/tc, and /usr/share/doc/iproute2-&iproute2-version;, + + + + + + Short Descriptions + + + + + bridge + + Configures network bridges + + bridge + + + + + + ctstat + + Connection status utility + + ctstat + + + + + + genl + + Generic netlink utility frontend + + genl + + + + + + ifcfg + + A shell script wrapper for the ip command + [Note that it requires the arping and + rdisk programs from the + iputils package found at .] + + ifcfg + + + + + + ifstat + + Shows the interface statistics, including the amount of + transmitted and received packets by interface + + ifstat + + + + + + ip + + The main executable. It has several different functions: + + ip link <device> + allows users to look at the state of devices and to make changes + + ip addr allows users to look at addresses and + their properties, add new addresses, and delete old ones + + ip neighbor allows users to look at neighbor + bindings and their properties, add new neighbor entries, and delete + old ones + + ip rule allows users to look at the routing + policies and change them + + ip route allows users to look at the routing + table and change routing table rules + + ip tunnel allows users to look at the IP + tunnels and their properties, and change them + + ip maddr allows users to look at the multicast + addresses and their properties, and change them + + ip mroute allows users to set, change, or + delete the multicast routing + + ip monitor allows users to continuously monitor + the state of devices, addresses and routes + + ip + + + + + + lnstat + + Provides Linux network statistics; it is a generalized and more + feature-complete replacement for the old rtstat + program + + lnstat + + + + + + nstat + + Shows network statistics + + nstat + + + + + + routef + + A component of ip route. This is for flushing + the routing tables + + routef + + + + + + routel + + A component of ip route. This is for listing + the routing tables + + routel + + + + + + rtacct + + Displays the contents of + /proc/net/rt_acct + + rtacct + + + + + + rtmon + + Route monitoring utility + + rtmon + + + + + + rtpr + + Converts the output of ip -o back into a + readable form + + rtpr + + + + + + rtstat + + Route status utility + + rtstat + + + + + + ss + + Similar to the netstat command; shows active + connections + + ss + + + + + + tc + + Traffic Controlling Executable; this is for Quality Of Service + (QOS) and Class Of Service (COS) implementations + + tc qdisc allows users to setup the queueing + discipline + + tc class allows users to setup classes based + on the queuing discipline scheduling + + tc estimator allows users to estimate the + network flow into a network + + tc filter allows users to setup the QOS/COS + packet filtering + + tc policy allows users to setup the QOS/COS + policies + + tc + + + + + + + + +
-- cgit v1.2.3-54-g00ecf