source: chapter06/iproute2.xml@ ad83f72

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.3 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 ad83f72 was e3ebd9fb, checked in by Dan Nichilson <dnicholson@…>, 17 years ago

Fix iproute2 broken manpage installation

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

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