diff options
author | Manuel Canales Esparcia <manuel@linuxfromscratch.org> | 2006-02-05 13:17:43 +0000 |
---|---|---|
committer | Manuel Canales Esparcia <manuel@linuxfromscratch.org> | 2006-02-05 13:17:43 +0000 |
commit | bdea25ce6ab3952ccfca27d46eca93d3adf0fc0f (patch) | |
tree | 9d19f00bffc642e7245ca28018bbd628df577169 /chapter06/iproute2.xml | |
parent | 4ae43249571811cc3e532908edcc4a628f8dcc34 (diff) |
Indenting chapter 6, part 7
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7351 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/iproute2.xml')
-rw-r--r-- | chapter06/iproute2.xml | 233 |
1 files changed, 102 insertions, 131 deletions
diff --git a/chapter06/iproute2.xml b/chapter06/iproute2.xml index 64397da3c..96a992878 100644 --- a/chapter06/iproute2.xml +++ b/chapter06/iproute2.xml @@ -1,98 +1,112 @@ <?xml version="1.0" encoding="ISO-8859-1"?> -<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ +<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" + "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ <!ENTITY % general-entities SYSTEM "../general.ent"> %general-entities; ]> + <sect1 id="ch-system-iproute2" role="wrap"> + <?dbhtml filename="iproute2.html"?> + <title>IPRoute2-&iproute2-version;</title> -<?dbhtml filename="iproute2.html"?> + <indexterm zone="ch-system-iproute2"> <primary sortas="a-IPRoute2">IPRoute2</primary> </indexterm> + <sect2 role="package"> <title/> - <para>The IPRoute2 package contains programs for basic and advanced - IPV4-based networking. - </para> + + <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>4.3 MB</seg> </seglistitem> </segmentedlist> + <segmentedlist> <segtitle>&dependencies;</segtitle> + <seglistitem> <seg>Berkeley DB, GCC, Glibc, Make, and Linux-Headers</seg> </seglistitem> </segmentedlist> + </sect2> + <sect2 role="installation"> <title>Installation of IPRoute2</title> <para>Prepare IPRoute2 for compilation:</para> - <screen><userinput>chmod u+x configure && + +<screen><userinput>chmod u+x configure && ./configure</userinput></screen> <para>Compile the package:</para> - <screen><userinput>make SBINDIR=/sbin</userinput></screen> - - <para>The meaning of the make option:</para> +<screen><userinput>make SBINDIR=/sbin</userinput></screen> <variablelist> - <varlistentry> - <term><parameter>SBINDIR=/sbin</parameter></term> - <listitem><para>This ensures that the IPRoute2 binaries will install into - <filename class="directory">/sbin</filename>. This is the correct location - according to the FHS, because some of the IPRoute2 binaries are used by - the LFS-Bootscripts package.</para> - </listitem> - </varlistentry> + <title>The meaning of the make option:</title> + + <varlistentry> + <term><parameter>SBINDIR=/sbin</parameter></term> + <listitem> + <para>This ensures that the IPRoute2 binaries will install into + <filename class="directory">/sbin</filename>. This is the correct + location according to the FHS, because some of the IPRoute2 binaries + are used by the LFS-Bootscripts package.</para> + </listitem> + </varlistentry> + </variablelist> <para>This package does not come with a test suite.</para> <para>Install the package:</para> - <screen><userinput>make SBINDIR=/sbin install</userinput></screen> - - <para>The <command>arpd</command> binary links against the Berkeley DB libraries - that reside in <filename class="directory">/usr</filename> and - uses a database in <filename>/var/lib/arpd/arpd.db</filename>. Thus, - according to the FHS, it must be - in <filename class="directory">/usr/sbin</filename>. Move it there: - </para> +<screen><userinput>make SBINDIR=/sbin install</userinput></screen> + + <para>The <command>arpd</command> binary links against the Berkeley DB + libraries that reside in <filename class="directory">/usr</filename> and + uses a database in <filename>/var/lib/arpd/arpd.db</filename>. Thus, + according to the FHS, it must be in <filename + class="directory">/usr/sbin</filename>. Move it there:</para> <screen><userinput>mv -v /sbin/arpd /usr/sbin</userinput></screen> - + </sect2> <sect2 id="contents-iproute2" role="content"> <title>Contents of IPRoute2</title> + <segmentedlist> <segtitle>Installed programs</segtitle> + <seglistitem> <seg>arpd, ctstat (link to lnstat), ifcfg, ifstat, ip, lnstat, nstat, - routef, routel, rtacct, rtmon, rtpr, rtstat (link to lnstat), ss, - and tc. - </seg> + routef, routel, rtacct, rtmon, rtpr, rtstat (link to lnstat), ss, + and tc.</seg> </seglistitem> </segmentedlist> - <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead> -<?dbfo list-presentation="list"?> -<?dbhtml list-presentation="table"?> + <variablelist> + <bridgehead renderas="sect3">Short Descriptions</bridgehead> + <?dbfo list-presentation="list"?> + <?dbhtml list-presentation="table"?> + <varlistentry id="arpd"> - <term> - <command>arpd</command> - </term> + <term><command>arpd</command></term> <listitem> - <para>Userspace ARP daemon, useful in really large networks, where - the kernelspace ARP implementation is insufficient, or - when setting up a honeypot</para> + <para>Userspace ARP daemon, useful in really large networks, where the + kernelspace ARP implementation is insufficient, or when setting up a + honeypot</para> <indexterm zone="ch-system-iproute2 arpd"> <primary sortas="b-arpd">arpd</primary> </indexterm> @@ -100,9 +114,7 @@ </varlistentry> <varlistentry id="ctstat"> - <term> - <command>ctstat</command> - </term> + <term><command>ctstat</command></term> <listitem> <para>Connection status utility</para> <indexterm zone="ch-system-iproute2 ctstat"> @@ -112,9 +124,7 @@ </varlistentry> <varlistentry id="ifcfg"> - <term> - <command>ifcfg</command> - </term> + <term><command>ifcfg</command></term> <listitem> <para>A shell script wrapper for the <command>ip</command> command</para> <indexterm zone="ch-system-iproute2 ifcfg"> @@ -124,12 +134,10 @@ </varlistentry> <varlistentry id="ifstat"> - <term> - <command>ifstat</command> - </term> + <term><command>ifstat</command></term> <listitem> - <para>Shows the interface statistics, including the amount of transmitted - and received packets by interface</para> + <para>Shows the interface statistics, including the amount of + transmitted and received packets by interface</para> <indexterm zone="ch-system-iproute2 ifstat"> <primary sortas="b-ifstat">ifstat</primary> </indexterm> @@ -137,49 +145,37 @@ </varlistentry> <varlistentry id="ip"> - <term> - <command>ip</command> - </term> + <term><command>ip</command></term> <listitem> - <para>The main executable. It has several different functions:</para> <para><command>ip link <replaceable>[device]</replaceable></command> - allows users to look at the state of devices and to make changes - </para> + allows users to look at the state of devices and to make changes</para> <para><command>ip addr</command> allows users to look at addresses and - their properties, add new addresses, and delete old ones - </para> + their properties, add new addresses, and delete old ones</para> - <para><command>ip neighbor</command> allows users to look at - neighbor bindings and their properties, add new - neighbor entries, and delete old ones - </para> + <para><command>ip neighbor</command> allows users to look at neighbor + bindings and their properties, add new neighbor entries, and delete + old ones</para> <para><command>ip rule</command> allows users to look at the routing - policies and change them - </para> + policies and change them</para> <para><command>ip route</command> allows users to look at the routing - table and change routing table rules - </para> + table and change routing table rules</para> <para><command>ip tunnel</command> allows users to look at the IP - tunnels and their properties, and change them - </para> + tunnels and their properties, and change them</para> <para><command>ip maddr</command> allows users to look at the multicast - addresses and their properties, and change them - </para> + addresses and their properties, and change them</para> <para><command>ip mroute</command> allows users to set, change, or - delete the multicast routing - </para> + delete the multicast routing</para> - <para><command>ip monitor</command> allows users to - continously monitor the state of devices, addresses and routes - </para> + <para><command>ip monitor</command> allows users to continously monitor + the state of devices, addresses and routes</para> <indexterm zone="ch-system-iproute2 ip"> <primary sortas="b-ip">ip</primary> </indexterm> @@ -187,13 +183,11 @@ </varlistentry> <varlistentry id="lnstat"> - <term> - <command>lnstat</command> - </term> + <term><command>lnstat</command></term> <listitem> <para>Provides Linux network statistics. It is a generalized and more - feature-complete replacement for the old - <command>rtstat</command> program</para> + feature-complete replacement for the old <command>rtstat</command> + program</para> <indexterm zone="ch-system-iproute2 lnstat"> <primary sortas="b-lnstat">lnstat</primary> </indexterm> @@ -201,9 +195,7 @@ </varlistentry> <varlistentry id="nstat"> - <term> - <command>nstat</command> - </term> + <term><command>nstat</command></term> <listitem> <para>Shows network statistics</para> <indexterm zone="ch-system-iproute2 nstat"> @@ -213,13 +205,10 @@ </varlistentry> <varlistentry id="routef"> - <term> - <command>routef</command> - </term> + <term><command>routef</command></term> <listitem> - <para>A component of <command>ip route</command>. This is for flushing the routing - tables - </para> + <para>A component of <command>ip route</command>. This is for flushing + the routing tables</para> <indexterm zone="ch-system-iproute2 routef"> <primary sortas="b-routef">routef</primary> </indexterm> @@ -227,13 +216,10 @@ </varlistentry> <varlistentry id="routel"> - <term> - <command>routel</command> - </term> + <term><command>routel</command></term> <listitem> - <para>A component of <command>ip route</command>. This is for listing the routing - tables - </para> + <para>A component of <command>ip route</command>. This is for listing + the routing tables</para> <indexterm zone="ch-system-iproute2 routel"> <primary sortas="b-routel">routel</primary> </indexterm> @@ -241,11 +227,10 @@ </varlistentry> <varlistentry id="rtacct"> - <term> - <command>rtacct</command> - </term> + <term><command>rtacct</command></term> <listitem> - <para>Displays the contents of <filename>/proc/net/rt_acct</filename></para> + <para>Displays the contents of + <filename>/proc/net/rt_acct</filename></para> <indexterm zone="ch-system-iproute2 rtacct"> <primary sortas="b-rtacct">rtacct</primary> </indexterm> @@ -253,9 +238,7 @@ </varlistentry> <varlistentry id="rtmon"> - <term> - <command>rtmon</command> - </term> + <term><command>rtmon</command></term> <listitem> <para>Route monitoring utility</para> <indexterm zone="ch-system-iproute2 rtmon"> @@ -265,12 +248,10 @@ </varlistentry> <varlistentry id="rtpr"> - <term> - <command>rtpr</command> - </term> + <term><command>rtpr</command></term> <listitem> <para>Converts the output of <command>ip -o</command> back into a - readable form</para> + readable form</para> <indexterm zone="ch-system-iproute2 rtpr"> <primary sortas="b-rtpr">rtpr</primary> </indexterm> @@ -278,9 +259,7 @@ </varlistentry> <varlistentry id="rtstat"> - <term> - <command>rtstat</command> - </term> + <term><command>rtstat</command></term> <listitem> <para>Route status utility</para> <indexterm zone="ch-system-iproute2 rtstat"> @@ -290,11 +269,10 @@ </varlistentry> <varlistentry id="ss"> - <term> - <command>ss</command> - </term> + <term><command>ss</command></term> <listitem> - <para>Similar to the <command>netstat</command> command; shows active connections</para> + <para>Similar to the <command>netstat</command> command; shows active + connections</para> <indexterm zone="ch-system-iproute2 ss"> <primary sortas="b-ss">ss</primary> </indexterm> @@ -302,40 +280,33 @@ </varlistentry> <varlistentry id="tc"> - <term> - <command>tc</command> - </term> + <term><command>tc</command></term> <listitem> - <para>Traffic Controlling Executable; this is for Quality Of - Service (QOS) and Class Of Service (COS) - implementations - </para> + <para>Traffic Controlling Executable; this is for Quality Of Service + (QOS) and Class Of Service (COS) implementations</para> <para><command>tc qdisc</command> allows users to setup the queueing - discipline - </para> + discipline</para> - <para><command>tc class</command> allows users to setup classes based on - the queuing discipline scheduling - </para> + <para><command>tc class</command> allows users to setup classes based + on the queuing discipline scheduling</para> <para><command>tc estimator</command> allows users to estimate the - network flow into a network - </para> + network flow into a network</para> <para><command>tc filter</command> allows users to setup the QOS/COS - packet filtering - </para> + packet filtering</para> <para><command>tc policy</command> allows users to setup the QOS/COS - policies - </para> + policies</para> <indexterm zone="ch-system-iproute2 ss"> <primary sortas="b-tc">tc</primary> </indexterm> </listitem> </varlistentry> + </variablelist> + </sect2> -</sect1> +</sect1> |