source: chapter06/iproute2.xml@ e408cb0

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 7.9 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 e408cb0 was e691c77, checked in by Bruce Dubbs <bdubbs@…>, 8 years ago

Update to linux-4.4.
Update to iproute2-4.4.0.

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

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