source: chapter08/iproute2.xml@ 4ac089b5

12.1 12.1-rc1 multilib trunk xry111/arm64 xry111/clfs-ng xry111/loongarch xry111/loongarch-12.1 xry111/mips64el xry111/update-glibc
Last change on this file since 4ac089b5 was 7152faa, checked in by Pierre Labastie <pierre.labastie@…>, 5 months ago

Change all xml files to utf-8 encoding

  • Property mode set to 100644
File size: 10.3 KB
RevLine 
[7152faa]1<?xml version="1.0" encoding="UTF-8"?>
[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>
[fb386e0]34 <seg>&iproute2-fin-sbu;</seg>
35 <seg>&iproute2-fin-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
[e691c77]44 <para>The <command>arpd</command> program included in this package will not
[f07d91ba]45 be built since it depends on Berkeley DB, which is not installed in
46 LFS. However, a directory and a man page for <command>arpd</command> will still
47 be installed. Prevent this by running the commands shown below.
[9cccea2]48 </para>
49
[e691c77]50<screen><userinput remap="pre">sed -i /ARPD/d Makefile
[31c3309]51rm -fv man/man8/arpd.8</userinput></screen>
[9cccea2]52
[60933b9]53<!-- fixed upstream for 5.16.0
[d672ab7]54 <para>It is also necessary to disable building two modules that
[6a156bab]55 require <ulink url="&blfs-book;postlfs/iptables.html"/>.</para>
[6934b62]56
[b30de8f]57<screen><userinput remap="pre">sed -i 's/.m_ipt.o//' tc/Makefile</userinput></screen>
[60933b9]58-->
[a088964]59 <para>Compile the package:</para>
60
[859502b]61<screen><userinput remap="make">make NETNS_RUN_DIR=/run/netns</userinput></screen>
[81fd230]62
[239518f]63 <para>This package does not have a working test suite.</para>
64<!-- currently not useful, no tests actually run
[0ebe029b]65 <para>This package comes with a test suite, but due to assumptions it makes,
[971be6b]66 it is not possible to reliably run these tests from within the chroot
67 environment. If you wish to run these tests after booting into your new LFS
[d450151]68 system, ensure you enable <filename>/proc/config.gz</filename> support
69 in your kernel (&quot;General setup&quot; -> &quot;Enable access to
70 .config through /proc/config.gz&quot; [CONFIG_IKCONFIG_PROC]), then run
[971be6b]71 'make alltests' from the <filename class="directory">testsuite/</filename>
[239518f]72 subdirectory.</para>-->
[0be3d41]73
[81fd230]74 <para>Install the package:</para>
75
[c36301e7]76<screen><userinput remap="install">make SBINDIR=/usr/sbin install</userinput></screen>
[8d5f7c75]77
78 <para>If desired, install the documentation:</para>
79
[8fd9f81]80<screen><userinput remap="install">mkdir -pv /usr/share/doc/iproute2-&iproute2-version;
[8d5f7c75]81cp -v COPYING README* /usr/share/doc/iproute2-&iproute2-version;</userinput></screen>
[bdea25ce]82
[a088964]83 </sect2>
84
85 <sect2 id="contents-iproute2" role="content">
[f0d59f2]86 <title>Contents of IPRoute2</title>
[bdea25ce]87
[81fd230]88 <segmentedlist>
89 <segtitle>Installed programs</segtitle>
[fe05b08]90 <segtitle>Installed directories</segtitle>
[bdea25ce]91
[81fd230]92 <seglistitem>
[c1a6bf9b]93 <seg>bridge, ctstat (link to lnstat), genl, ifstat, ip, lnstat,
94 nstat, routel, rtacct, rtmon, rtpr, rtstat (link to lnstat), ss,
[79f9e00]95 and tc</seg>
[8d35535]96 <seg>/etc/iproute2, /usr/lib/tc, and /usr/share/doc/iproute2-&iproute2-version;
[0aa4782]97 </seg>
[81fd230]98 </seglistitem>
99 </segmentedlist>
100
[bdea25ce]101 <variablelist>
102 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
103 <?dbfo list-presentation="list"?>
104 <?dbhtml list-presentation="table"?>
105
[ca101ad]106 <varlistentry id="bridge">
107 <term><command>bridge</command></term>
108 <listitem>
109 <para>Configures network bridges</para>
110 <indexterm zone="ch-system-iproute2 bridge">
111 <primary sortas="b-bridge">bridge</primary>
112 </indexterm>
113 </listitem>
114 </varlistentry>
115
[46a500e]116 <varlistentry id="ctstat">
[bdea25ce]117 <term><command>ctstat</command></term>
[46a500e]118 <listitem>
[89ed081]119 <para>Connection status utility</para>
[46a500e]120 <indexterm zone="ch-system-iproute2 ctstat">
[005dc3f]121 <primary sortas="b-ctstat">ctstat</primary>
[46a500e]122 </indexterm>
123 </listitem>
124 </varlistentry>
125
[2791a8e]126 <varlistentry id="genl">
127 <term><command>genl</command></term>
128 <listitem>
[f07d91ba]129 <para>Generic netlink utility front end</para>
[2791a8e]130 <indexterm zone="ch-system-iproute2 genl">
131 <primary sortas="b-genl">genl</primary>
132 </indexterm>
133 </listitem>
134 </varlistentry>
135
[81fd230]136 <varlistentry id="ifstat">
[bdea25ce]137 <term><command>ifstat</command></term>
[81fd230]138 <listitem>
[f07d91ba]139 <para>Shows interface statistics, including the number of
140 packets transmitted and received, by interface</para>
[81fd230]141 <indexterm zone="ch-system-iproute2 ifstat">
142 <primary sortas="b-ifstat">ifstat</primary>
143 </indexterm>
144 </listitem>
145 </varlistentry>
146
147 <varlistentry id="ip">
[bdea25ce]148 <term><command>ip</command></term>
[81fd230]149 <listitem>
[f07d91ba]150 <para>The main executable. It has several different functions, including these:</para>
[81fd230]151
[0090db5]152 <para><command>ip link <replaceable>&lt;device&gt;</replaceable></command>
[bdea25ce]153 allows users to look at the state of devices and to make changes</para>
[81fd230]154
155 <para><command>ip addr</command> allows users to look at addresses and
[bdea25ce]156 their properties, add new addresses, and delete old ones</para>
[81fd230]157
[bdea25ce]158 <para><command>ip neighbor</command> allows users to look at neighbor
159 bindings and their properties, add new neighbor entries, and delete
160 old ones</para>
[81fd230]161
162 <para><command>ip rule</command> allows users to look at the routing
[bdea25ce]163 policies and change them</para>
[81fd230]164
165 <para><command>ip route</command> allows users to look at the routing
[bdea25ce]166 table and change routing table rules</para>
[81fd230]167
168 <para><command>ip tunnel</command> allows users to look at the IP
[bdea25ce]169 tunnels and their properties, and change them</para>
[81fd230]170
171 <para><command>ip maddr</command> allows users to look at the multicast
[bdea25ce]172 addresses and their properties, and change them</para>
[81fd230]173
174 <para><command>ip mroute</command> allows users to set, change, or
[bdea25ce]175 delete the multicast routing</para>
[81fd230]176
[cb02946]177 <para><command>ip monitor</command> allows users to continuously monitor
[bdea25ce]178 the state of devices, addresses and routes</para>
[81fd230]179 <indexterm zone="ch-system-iproute2 ip">
180 <primary sortas="b-ip">ip</primary>
181 </indexterm>
182 </listitem>
183 </varlistentry>
184
[46a500e]185 <varlistentry id="lnstat">
[bdea25ce]186 <term><command>lnstat</command></term>
[46a500e]187 <listitem>
[7bb9fda]188 <para>Provides Linux network statistics; it is a generalized and more
[bdea25ce]189 feature-complete replacement for the old <command>rtstat</command>
190 program</para>
[46a500e]191 <indexterm zone="ch-system-iproute2 lnstat">
[005dc3f]192 <primary sortas="b-lnstat">lnstat</primary>
[46a500e]193 </indexterm>
194 </listitem>
195 </varlistentry>
196
[81fd230]197 <varlistentry id="nstat">
[bdea25ce]198 <term><command>nstat</command></term>
[81fd230]199 <listitem>
[f07d91ba]200 <para>Displays network statistics</para>
[81fd230]201 <indexterm zone="ch-system-iproute2 nstat">
202 <primary sortas="b-nstat">nstat</primary>
203 </indexterm>
204 </listitem>
205 </varlistentry>
206
207 <varlistentry id="routel">
[bdea25ce]208 <term><command>routel</command></term>
[81fd230]209 <listitem>
[f07d91ba]210 <para>A component of <command>ip route</command>, for listing
[bdea25ce]211 the routing tables</para>
[81fd230]212 <indexterm zone="ch-system-iproute2 routel">
213 <primary sortas="b-routel">routel</primary>
214 </indexterm>
215 </listitem>
216 </varlistentry>
217
[46a500e]218 <varlistentry id="rtacct">
[bdea25ce]219 <term><command>rtacct</command></term>
[46a500e]220 <listitem>
[bdea25ce]221 <para>Displays the contents of
222 <filename>/proc/net/rt_acct</filename></para>
[46a500e]223 <indexterm zone="ch-system-iproute2 rtacct">
224 <primary sortas="b-rtacct">rtacct</primary>
225 </indexterm>
226 </listitem>
227 </varlistentry>
228
[81fd230]229 <varlistentry id="rtmon">
[bdea25ce]230 <term><command>rtmon</command></term>
[81fd230]231 <listitem>
[89ed081]232 <para>Route monitoring utility</para>
[81fd230]233 <indexterm zone="ch-system-iproute2 rtmon">
234 <primary sortas="b-rtmon">rtmon</primary>
235 </indexterm>
236 </listitem>
237 </varlistentry>
238
[46a500e]239 <varlistentry id="rtpr">
[bdea25ce]240 <term><command>rtpr</command></term>
[46a500e]241 <listitem>
[f07d91ba]242 <para>Converts the output of <command>ip -o</command> into a
[bdea25ce]243 readable form</para>
[46a500e]244 <indexterm zone="ch-system-iproute2 rtpr">
245 <primary sortas="b-rtpr">rtpr</primary>
246 </indexterm>
247 </listitem>
248 </varlistentry>
249
[81fd230]250 <varlistentry id="rtstat">
[bdea25ce]251 <term><command>rtstat</command></term>
[81fd230]252 <listitem>
[89ed081]253 <para>Route status utility</para>
[81fd230]254 <indexterm zone="ch-system-iproute2 rtstat">
255 <primary sortas="b-rtstat">rtstat</primary>
256 </indexterm>
257 </listitem>
258 </varlistentry>
259
260 <varlistentry id="ss">
[bdea25ce]261 <term><command>ss</command></term>
[81fd230]262 <listitem>
[bdea25ce]263 <para>Similar to the <command>netstat</command> command; shows active
264 connections</para>
[81fd230]265 <indexterm zone="ch-system-iproute2 ss">
266 <primary sortas="b-ss">ss</primary>
267 </indexterm>
268 </listitem>
269 </varlistentry>
270
271 <varlistentry id="tc">
[bdea25ce]272 <term><command>tc</command></term>
[81fd230]273 <listitem>
[f07d91ba]274 <para>Traffic control for Quality of Service
275 (QoS) and Class of Service (CoS) implementations</para>
[81fd230]276
[f07d91ba]277 <para><command>tc qdisc</command> allows users to set up the queueing
[bdea25ce]278 discipline</para>
[81fd230]279
[f07d91ba]280 <para><command>tc class</command> allows users to set up classes based
[bdea25ce]281 on the queuing discipline scheduling</para>
[81fd230]282
[f07d91ba]283 <para><command>tc filter</command> allows users to set up the QoS/CoS
[bdea25ce]284 packet filtering</para>
[258e50e]285
286 <para><command>tc monitor</command> can be used to view changes
287 made to Traffic Control in the kernel.</para>
288
[81fd230]289 <indexterm zone="ch-system-iproute2 ss">
290 <primary sortas="b-tc">tc</primary>
291 </indexterm>
292 </listitem>
293 </varlistentry>
[bdea25ce]294
[81fd230]295 </variablelist>
[bdea25ce]296
[a088964]297 </sect2>
[81fd230]298
[bdea25ce]299</sect1>
Note: See TracBrowser for help on using the repository browser.