source: chapter06/iproute2.xml@ fe05b08

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since fe05b08 was fe05b08, checked in by Bruce Dubbs <bdubbs@…>, 14 years ago

Add installed directories information to
each package. Thanks to Chris Staub for the patch.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9285 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 11.1 KB
RevLine 
[a088964]1<?xml version="1.0" encoding="ISO-8859-1"?>
[b06ca36]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[a088964]4 <!ENTITY % general-entities SYSTEM "../general.ent">
5 %general-entities;
6]>
[bdea25ce]7
[81fd230]8<sect1 id="ch-system-iproute2" role="wrap">
[bdea25ce]9 <?dbhtml filename="iproute2.html"?>
10
[e747759]11 <sect1info condition="script">
12 <productname>iproute2</productname>
13 <productnumber>&iproute2-version;</productnumber>
14 <address>&iproute2-url;</address>
15 </sect1info>
16
[f0d59f2]17 <title>IPRoute2-&iproute2-version;</title>
[bdea25ce]18
[a088964]19 <indexterm zone="ch-system-iproute2">
[89ed081]20 <primary sortas="a-IPRoute2">IPRoute2</primary>
[a088964]21 </indexterm>
[bdea25ce]22
[a088964]23 <sect2 role="package">
24 <title/>
[bdea25ce]25
26 <para>The IPRoute2 package contains programs for basic and advanced IPV4-based
27 networking.</para>
28
[a088964]29 <segmentedlist>
30 <segtitle>&buildtime;</segtitle>
31 <segtitle>&diskspace;</segtitle>
[bdea25ce]32
[a088964]33 <seglistitem>
[e4a5635]34 <seg>&iproute2-ch6-sbu;</seg>
35 <seg>&iproute2-ch6-du;</seg>
[a088964]36 </seglistitem>
37 </segmentedlist>
[bdea25ce]38
[a088964]39 </sect2>
[bdea25ce]40
[a088964]41 <sect2 role="installation">
[f0d59f2]42 <title>Installation of IPRoute2</title>
[a088964]43
[9cccea2]44 <para>The <command>arpd</command> binary included in this package is
45 dependent on Berkeley DB. Because <command>arpd</command> is not a very
46 common requirement on a base Linux system, remove the dependency on Berkeley DB by applying the <command>sed</command> command below. If the
47 <command>arpd</command> binary is needed, instructions for compiling
48 Berkeley DB can be found in the BLFS Book at
49 <ulink url="&blfs-root;view/svn/server/databases.html#db"/>.
50 </para>
51
52<screen><userinput>sed -i '/^TARGETS/s@arpd@@g' misc/Makefile</userinput></screen>
53
[a088964]54 <para>Compile the package:</para>
55
[aa909a0]56<screen><userinput remap="make">make DESTDIR=</userinput></screen>
[81fd230]57
58 <variablelist>
[aa909a0]59 <title>The meaning of the make option:</title>
[7af598d1]60
61 <varlistentry>
62 <term><parameter>DESTDIR=</parameter></term>
63 <listitem>
64 <para>This ensures that the IPRoute2 binaries will install into
65 the correct directory. By default, <parameter>DESTDIR</parameter> is
66 set to <filename class="directory">/usr</filename>.</para>
67 </listitem>
68 </varlistentry>
[bdea25ce]69
[81fd230]70 </variablelist>
71
[971be6b]72 <para>This package comes with a testsuite, but due to assumptions it makes,
73 it is not possible to reliably run these tests from within the chroot
74 environment. If you wish to run these tests after booting into your new LFS
75 system, ensure you select <filename>/proc/config.gz</filename>
76 CONFIG_IKCONFIG_PROC (&quot;General setup&quot; -> &quot;Enable access to
77 .config through /proc/config.gz&quot;) support into your kernel then run
78 'make alltests' from the <filename class="directory">testsuite/</filename>
79 subdirectory.</para>
[0be3d41]80
[81fd230]81 <para>Install the package:</para>
82
[7af598d1]83<screen><userinput remap="install">make DESTDIR= SBINDIR=/sbin MANDIR=/usr/share/man \
[bdb3cca]84 DOCDIR=/usr/share/doc/iproute2-&iproute2-version; install</userinput></screen>
[bdea25ce]85
[a088964]86 </sect2>
87
88 <sect2 id="contents-iproute2" role="content">
[f0d59f2]89 <title>Contents of IPRoute2</title>
[bdea25ce]90
[81fd230]91 <segmentedlist>
92 <segtitle>Installed programs</segtitle>
[fe05b08]93 <segtitle>Installed directories</segtitle>
[bdea25ce]94
[81fd230]95 <seglistitem>
[9cccea2]96 <seg>ctstat (link to lnstat), genl, ifcfg, ifstat, ip, lnstat,
[2791a8e]97 nstat, routef, routel, rtacct, rtmon, rtpr, rtstat (link to lnstat), ss,
[79f9e00]98 and tc</seg>
[fe05b08]99 <seg>/etc/iproute2, /lib/tc, /usr/share/doc/iproute2-&iproute2-version;,
100 /usr/lib/tc</seg>
[81fd230]101 </seglistitem>
102 </segmentedlist>
103
[bdea25ce]104 <variablelist>
105 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
106 <?dbfo list-presentation="list"?>
107 <?dbhtml list-presentation="table"?>
108
[46a500e]109 <varlistentry id="ctstat">
[bdea25ce]110 <term><command>ctstat</command></term>
[46a500e]111 <listitem>
[89ed081]112 <para>Connection status utility</para>
[46a500e]113 <indexterm zone="ch-system-iproute2 ctstat">
[005dc3f]114 <primary sortas="b-ctstat">ctstat</primary>
[46a500e]115 </indexterm>
116 </listitem>
117 </varlistentry>
118
[2791a8e]119 <varlistentry id="genl">
120 <term><command>genl</command></term>
121 <listitem>
122 <para></para>
123 <indexterm zone="ch-system-iproute2 genl">
124 <primary sortas="b-genl">genl</primary>
125 </indexterm>
126 </listitem>
127 </varlistentry>
128
[46a500e]129 <varlistentry id="ifcfg">
[bdea25ce]130 <term><command>ifcfg</command></term>
[46a500e]131 <listitem>
[46fbbc2]132 <para>A shell script wrapper for the <command>ip</command> command.
133 Note that it requires the <command>arping</command> and
134 <command>rdisk</command> programs from the
135 iputils package found at <ulink url="http://www.skbuff.net/iputils/"/>.</para>
[46a500e]136 <indexterm zone="ch-system-iproute2 ifcfg">
137 <primary sortas="b-ifcfg">ifcfg</primary>
138 </indexterm>
139 </listitem>
140 </varlistentry>
[81fd230]141
142 <varlistentry id="ifstat">
[bdea25ce]143 <term><command>ifstat</command></term>
[81fd230]144 <listitem>
[bdea25ce]145 <para>Shows the interface statistics, including the amount of
146 transmitted and received packets by interface</para>
[81fd230]147 <indexterm zone="ch-system-iproute2 ifstat">
148 <primary sortas="b-ifstat">ifstat</primary>
149 </indexterm>
150 </listitem>
151 </varlistentry>
152
153 <varlistentry id="ip">
[bdea25ce]154 <term><command>ip</command></term>
[81fd230]155 <listitem>
156 <para>The main executable. It has several different functions:</para>
157
[0090db5]158 <para><command>ip link <replaceable>&lt;device&gt;</replaceable></command>
[bdea25ce]159 allows users to look at the state of devices and to make changes</para>
[81fd230]160
161 <para><command>ip addr</command> allows users to look at addresses and
[bdea25ce]162 their properties, add new addresses, and delete old ones</para>
[81fd230]163
[bdea25ce]164 <para><command>ip neighbor</command> allows users to look at neighbor
165 bindings and their properties, add new neighbor entries, and delete
166 old ones</para>
[81fd230]167
168 <para><command>ip rule</command> allows users to look at the routing
[bdea25ce]169 policies and change them</para>
[81fd230]170
171 <para><command>ip route</command> allows users to look at the routing
[bdea25ce]172 table and change routing table rules</para>
[81fd230]173
174 <para><command>ip tunnel</command> allows users to look at the IP
[bdea25ce]175 tunnels and their properties, and change them</para>
[81fd230]176
177 <para><command>ip maddr</command> allows users to look at the multicast
[bdea25ce]178 addresses and their properties, and change them</para>
[81fd230]179
180 <para><command>ip mroute</command> allows users to set, change, or
[bdea25ce]181 delete the multicast routing</para>
[81fd230]182
[bdea25ce]183 <para><command>ip monitor</command> allows users to continously monitor
184 the state of devices, addresses and routes</para>
[81fd230]185 <indexterm zone="ch-system-iproute2 ip">
186 <primary sortas="b-ip">ip</primary>
187 </indexterm>
188 </listitem>
189 </varlistentry>
190
[46a500e]191 <varlistentry id="lnstat">
[bdea25ce]192 <term><command>lnstat</command></term>
[46a500e]193 <listitem>
194 <para>Provides Linux network statistics. It is a generalized and more
[bdea25ce]195 feature-complete replacement for the old <command>rtstat</command>
196 program</para>
[46a500e]197 <indexterm zone="ch-system-iproute2 lnstat">
[005dc3f]198 <primary sortas="b-lnstat">lnstat</primary>
[46a500e]199 </indexterm>
200 </listitem>
201 </varlistentry>
202
[81fd230]203 <varlistentry id="nstat">
[bdea25ce]204 <term><command>nstat</command></term>
[81fd230]205 <listitem>
[89ed081]206 <para>Shows network statistics</para>
[81fd230]207 <indexterm zone="ch-system-iproute2 nstat">
208 <primary sortas="b-nstat">nstat</primary>
209 </indexterm>
210 </listitem>
211 </varlistentry>
212
213 <varlistentry id="routef">
[bdea25ce]214 <term><command>routef</command></term>
[81fd230]215 <listitem>
[bdea25ce]216 <para>A component of <command>ip route</command>. This is for flushing
217 the routing tables</para>
[81fd230]218 <indexterm zone="ch-system-iproute2 routef">
219 <primary sortas="b-routef">routef</primary>
220 </indexterm>
221 </listitem>
222 </varlistentry>
223
224 <varlistentry id="routel">
[bdea25ce]225 <term><command>routel</command></term>
[81fd230]226 <listitem>
[bdea25ce]227 <para>A component of <command>ip route</command>. This is for listing
228 the routing tables</para>
[81fd230]229 <indexterm zone="ch-system-iproute2 routel">
230 <primary sortas="b-routel">routel</primary>
231 </indexterm>
232 </listitem>
233 </varlistentry>
234
[46a500e]235 <varlistentry id="rtacct">
[bdea25ce]236 <term><command>rtacct</command></term>
[46a500e]237 <listitem>
[bdea25ce]238 <para>Displays the contents of
239 <filename>/proc/net/rt_acct</filename></para>
[46a500e]240 <indexterm zone="ch-system-iproute2 rtacct">
241 <primary sortas="b-rtacct">rtacct</primary>
242 </indexterm>
243 </listitem>
244 </varlistentry>
245
[81fd230]246 <varlistentry id="rtmon">
[bdea25ce]247 <term><command>rtmon</command></term>
[81fd230]248 <listitem>
[89ed081]249 <para>Route monitoring utility</para>
[81fd230]250 <indexterm zone="ch-system-iproute2 rtmon">
251 <primary sortas="b-rtmon">rtmon</primary>
252 </indexterm>
253 </listitem>
254 </varlistentry>
255
[46a500e]256 <varlistentry id="rtpr">
[bdea25ce]257 <term><command>rtpr</command></term>
[46a500e]258 <listitem>
259 <para>Converts the output of <command>ip -o</command> back into a
[bdea25ce]260 readable form</para>
[46a500e]261 <indexterm zone="ch-system-iproute2 rtpr">
262 <primary sortas="b-rtpr">rtpr</primary>
263 </indexterm>
264 </listitem>
265 </varlistentry>
266
[81fd230]267 <varlistentry id="rtstat">
[bdea25ce]268 <term><command>rtstat</command></term>
[81fd230]269 <listitem>
[89ed081]270 <para>Route status utility</para>
[81fd230]271 <indexterm zone="ch-system-iproute2 rtstat">
272 <primary sortas="b-rtstat">rtstat</primary>
273 </indexterm>
274 </listitem>
275 </varlistentry>
276
277 <varlistentry id="ss">
[bdea25ce]278 <term><command>ss</command></term>
[81fd230]279 <listitem>
[bdea25ce]280 <para>Similar to the <command>netstat</command> command; shows active
281 connections</para>
[81fd230]282 <indexterm zone="ch-system-iproute2 ss">
283 <primary sortas="b-ss">ss</primary>
284 </indexterm>
285 </listitem>
286 </varlistentry>
287
288 <varlistentry id="tc">
[bdea25ce]289 <term><command>tc</command></term>
[81fd230]290 <listitem>
[bdea25ce]291 <para>Traffic Controlling Executable; this is for Quality Of Service
292 (QOS) and Class Of Service (COS) implementations</para>
[81fd230]293
294 <para><command>tc qdisc</command> allows users to setup the queueing
[bdea25ce]295 discipline</para>
[81fd230]296
[bdea25ce]297 <para><command>tc class</command> allows users to setup classes based
298 on the queuing discipline scheduling</para>
[81fd230]299
300 <para><command>tc estimator</command> allows users to estimate the
[bdea25ce]301 network flow into a network</para>
[81fd230]302
303 <para><command>tc filter</command> allows users to setup the QOS/COS
[bdea25ce]304 packet filtering</para>
[81fd230]305
306 <para><command>tc policy</command> allows users to setup the QOS/COS
[bdea25ce]307 policies</para>
[81fd230]308 <indexterm zone="ch-system-iproute2 ss">
309 <primary sortas="b-tc">tc</primary>
310 </indexterm>
311 </listitem>
312 </varlistentry>
[bdea25ce]313
[81fd230]314 </variablelist>
[bdea25ce]315
[a088964]316 </sect2>
[81fd230]317
[bdea25ce]318</sect1>
Note: See TracBrowser for help on using the repository browser.