source: chapter06/iproute2.xml@ e1ad8a8

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.4 6.5 6.6 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 e1ad8a8 was 0445a3d, checked in by Manuel Canales Esparcia <manuel@…>, 17 years ago

Added remap attributes to userinput tags in packages pages.

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

  • Property mode set to 100644
File size: 10.8 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 installation of two manual pages is broken and results in
45 dangling symlinks. Fix this with the following command:</para>
46
47<screen><userinput remap="pre">sed -i -e '/tc-bfifo.8/d' -e '/tc-pfifo.8/s/pbfifo/bfifo/' Makefile</userinput></screen>
48
49 <para>Compile the package:</para>
50
51<screen><userinput remap="make">make SBINDIR=/sbin</userinput></screen>
52
53 <variablelist>
54 <title>The meaning of the make option:</title>
55
56 <varlistentry>
57 <term><parameter>SBINDIR=/sbin</parameter></term>
58 <listitem>
59 <para>This ensures that the IPRoute2 binaries will install into
60 <filename class="directory">/sbin</filename>. This is the correct
61 location according to the FHS, because some of the IPRoute2 binaries
62 are used by the LFS-Bootscripts package.</para>
63 </listitem>
64 </varlistentry>
65
66 </variablelist>
67
68 <para>This package does not come with a test suite.</para>
69
70 <para>Install the package:</para>
71
72<screen><userinput remap="install">make SBINDIR=/sbin install</userinput></screen>
73
74 <para>The <command>arpd</command> binary links against the Berkeley DB
75 libraries that reside in <filename class="directory">/usr</filename> and
76 uses a database in <filename>/var/lib/arpd/arpd.db</filename>. Thus,
77 according to the FHS, it must be in <filename
78 class="directory">/usr/sbin</filename>. Move it there:</para>
79
80 <screen><userinput remap="install">mv -v /sbin/arpd /usr/sbin</userinput></screen>
81
82 </sect2>
83
84 <sect2 id="contents-iproute2" role="content">
85 <title>Contents of IPRoute2</title>
86
87 <segmentedlist>
88 <segtitle>Installed programs</segtitle>
89
90 <seglistitem>
91 <seg>arpd, ctstat (link to lnstat), genl, ifcfg, ifstat, ip, lnstat,
92 nstat, routef, routel, rtacct, rtmon, rtpr, rtstat (link to lnstat), ss,
93 and tc.</seg>
94 </seglistitem>
95 </segmentedlist>
96
97 <variablelist>
98 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
99 <?dbfo list-presentation="list"?>
100 <?dbhtml list-presentation="table"?>
101
102 <varlistentry id="arpd">
103 <term><command>arpd</command></term>
104 <listitem>
105 <para>Userspace ARP daemon, useful in really large networks, where the
106 kernelspace ARP implementation is insufficient, or when setting up a
107 honeypot</para>
108 <indexterm zone="ch-system-iproute2 arpd">
109 <primary sortas="b-arpd">arpd</primary>
110 </indexterm>
111 </listitem>
112 </varlistentry>
113
114 <varlistentry id="ctstat">
115 <term><command>ctstat</command></term>
116 <listitem>
117 <para>Connection status utility</para>
118 <indexterm zone="ch-system-iproute2 ctstat">
119 <primary sortas="b-ctstat">ctstat</primary>
120 </indexterm>
121 </listitem>
122 </varlistentry>
123
124 <varlistentry id="genl">
125 <term><command>genl</command></term>
126 <listitem>
127 <para></para>
128 <indexterm zone="ch-system-iproute2 genl">
129 <primary sortas="b-genl">genl</primary>
130 </indexterm>
131 </listitem>
132 </varlistentry>
133
134 <varlistentry id="ifcfg">
135 <term><command>ifcfg</command></term>
136 <listitem>
137 <para>A shell script wrapper for the <command>ip</command> command</para>
138 <indexterm zone="ch-system-iproute2 ifcfg">
139 <primary sortas="b-ifcfg">ifcfg</primary>
140 </indexterm>
141 </listitem>
142 </varlistentry>
143
144 <varlistentry id="ifstat">
145 <term><command>ifstat</command></term>
146 <listitem>
147 <para>Shows the interface statistics, including the amount of
148 transmitted and received packets by interface</para>
149 <indexterm zone="ch-system-iproute2 ifstat">
150 <primary sortas="b-ifstat">ifstat</primary>
151 </indexterm>
152 </listitem>
153 </varlistentry>
154
155 <varlistentry id="ip">
156 <term><command>ip</command></term>
157 <listitem>
158 <para>The main executable. It has several different functions:</para>
159
160 <para><command>ip link <replaceable>&lt;device&gt;</replaceable></command>
161 allows users to look at the state of devices and to make changes</para>
162
163 <para><command>ip addr</command> allows users to look at addresses and
164 their properties, add new addresses, and delete old ones</para>
165
166 <para><command>ip neighbor</command> allows users to look at neighbor
167 bindings and their properties, add new neighbor entries, and delete
168 old ones</para>
169
170 <para><command>ip rule</command> allows users to look at the routing
171 policies and change them</para>
172
173 <para><command>ip route</command> allows users to look at the routing
174 table and change routing table rules</para>
175
176 <para><command>ip tunnel</command> allows users to look at the IP
177 tunnels and their properties, and change them</para>
178
179 <para><command>ip maddr</command> allows users to look at the multicast
180 addresses and their properties, and change them</para>
181
182 <para><command>ip mroute</command> allows users to set, change, or
183 delete the multicast routing</para>
184
185 <para><command>ip monitor</command> allows users to continously monitor
186 the state of devices, addresses and routes</para>
187 <indexterm zone="ch-system-iproute2 ip">
188 <primary sortas="b-ip">ip</primary>
189 </indexterm>
190 </listitem>
191 </varlistentry>
192
193 <varlistentry id="lnstat">
194 <term><command>lnstat</command></term>
195 <listitem>
196 <para>Provides Linux network statistics. It is a generalized and more
197 feature-complete replacement for the old <command>rtstat</command>
198 program</para>
199 <indexterm zone="ch-system-iproute2 lnstat">
200 <primary sortas="b-lnstat">lnstat</primary>
201 </indexterm>
202 </listitem>
203 </varlistentry>
204
205 <varlistentry id="nstat">
206 <term><command>nstat</command></term>
207 <listitem>
208 <para>Shows network statistics</para>
209 <indexterm zone="ch-system-iproute2 nstat">
210 <primary sortas="b-nstat">nstat</primary>
211 </indexterm>
212 </listitem>
213 </varlistentry>
214
215 <varlistentry id="routef">
216 <term><command>routef</command></term>
217 <listitem>
218 <para>A component of <command>ip route</command>. This is for flushing
219 the routing tables</para>
220 <indexterm zone="ch-system-iproute2 routef">
221 <primary sortas="b-routef">routef</primary>
222 </indexterm>
223 </listitem>
224 </varlistentry>
225
226 <varlistentry id="routel">
227 <term><command>routel</command></term>
228 <listitem>
229 <para>A component of <command>ip route</command>. This is for listing
230 the routing tables</para>
231 <indexterm zone="ch-system-iproute2 routel">
232 <primary sortas="b-routel">routel</primary>
233 </indexterm>
234 </listitem>
235 </varlistentry>
236
237 <varlistentry id="rtacct">
238 <term><command>rtacct</command></term>
239 <listitem>
240 <para>Displays the contents of
241 <filename>/proc/net/rt_acct</filename></para>
242 <indexterm zone="ch-system-iproute2 rtacct">
243 <primary sortas="b-rtacct">rtacct</primary>
244 </indexterm>
245 </listitem>
246 </varlistentry>
247
248 <varlistentry id="rtmon">
249 <term><command>rtmon</command></term>
250 <listitem>
251 <para>Route monitoring utility</para>
252 <indexterm zone="ch-system-iproute2 rtmon">
253 <primary sortas="b-rtmon">rtmon</primary>
254 </indexterm>
255 </listitem>
256 </varlistentry>
257
258 <varlistentry id="rtpr">
259 <term><command>rtpr</command></term>
260 <listitem>
261 <para>Converts the output of <command>ip -o</command> back into a
262 readable form</para>
263 <indexterm zone="ch-system-iproute2 rtpr">
264 <primary sortas="b-rtpr">rtpr</primary>
265 </indexterm>
266 </listitem>
267 </varlistentry>
268
269 <varlistentry id="rtstat">
270 <term><command>rtstat</command></term>
271 <listitem>
272 <para>Route status utility</para>
273 <indexterm zone="ch-system-iproute2 rtstat">
274 <primary sortas="b-rtstat">rtstat</primary>
275 </indexterm>
276 </listitem>
277 </varlistentry>
278
279 <varlistentry id="ss">
280 <term><command>ss</command></term>
281 <listitem>
282 <para>Similar to the <command>netstat</command> command; shows active
283 connections</para>
284 <indexterm zone="ch-system-iproute2 ss">
285 <primary sortas="b-ss">ss</primary>
286 </indexterm>
287 </listitem>
288 </varlistentry>
289
290 <varlistentry id="tc">
291 <term><command>tc</command></term>
292 <listitem>
293 <para>Traffic Controlling Executable; this is for Quality Of Service
294 (QOS) and Class Of Service (COS) implementations</para>
295
296 <para><command>tc qdisc</command> allows users to setup the queueing
297 discipline</para>
298
299 <para><command>tc class</command> allows users to setup classes based
300 on the queuing discipline scheduling</para>
301
302 <para><command>tc estimator</command> allows users to estimate the
303 network flow into a network</para>
304
305 <para><command>tc filter</command> allows users to setup the QOS/COS
306 packet filtering</para>
307
308 <para><command>tc policy</command> allows users to setup the QOS/COS
309 policies</para>
310 <indexterm zone="ch-system-iproute2 ss">
311 <primary sortas="b-tc">tc</primary>
312 </indexterm>
313 </listitem>
314 </varlistentry>
315
316 </variablelist>
317
318 </sect2>
319
320</sect1>
Note: See TracBrowser for help on using the repository browser.