source: BOOK/final-system/common/iproute2.xml@ 0752d3f

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 0752d3f was d1631d1, checked in by Jim Gifford <clfs@…>, 19 years ago

r1175@server (orig r1173): chris | 2006-02-12 21:30:40 -0800
Updated testsuite info

  • Property mode set to 100644
File size: 9.9 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/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
21 IPV4-based networking.</para>
22
23 <segmentedlist>
24 <segtitle>&dependencies;</segtitle>
25
26 <seglistitem>
27 <seg>Bash, Bison, Coreutils, GCC, Glibc, Make,
28 Linux-Libc-Headers, and Sed</seg>
29 </seglistitem>
30 </segmentedlist>
31
32 </sect2>
33
34 <sect2 role="installation">
35 <title>Installation of IPRoute2</title>
36
37 <para os="s1">The <command>arpd</command> binary included in this package is
38 dependent on Berkeley DB. Because <command>arpd</command> is not a
39 very common requirement on a base Linux system, remove the dependency
40 on Berkeley DB by applying the <command>sed</command> command below.
41 If the <command>arpd</command> binary is needed, instructions for
42 compiling Berkeley DB can be found in the BLFS Book at <ulink
43 url="&blfs-root;view/svn/server/databases.html#db"/>.</para>
44
45<screen os="s2"><userinput>sed -i '/^TARGETS/s@arpd@@g' misc/Makefile</userinput></screen>
46
47 <para os="a">Prepare IPRoute2 for compilation:</para>
48
49<screen os="b"><userinput>sh configure </userinput></screen>
50
51 <para os="c">Compile the package:</para>
52
53<screen os="d"><userinput>make SBINDIR=/sbin</userinput></screen>
54
55 <variablelist os="e">
56 <title>The meaning of the make option:</title>
57
58 <varlistentry>
59 <term><parameter>SBINDIR=/sbin</parameter></term>
60 <listitem>
61 <para>This ensures that the IPRoute2 binaries will install into
62 <filename class="directory">/sbin</filename>. This is the correct
63 location according to the FHS, because some of the IPRoute2 binaries
64 are used by the LFS-Bootscripts package.</para>
65 </listitem>
66 </varlistentry>
67 </variablelist>
68
69 <para os="f">This package does not come with a test suite.</para>
70
71 <para os="g">Install the package:</para>
72
73<screen os="h"><userinput>make SBINDIR=/sbin install</userinput></screen>
74
75 </sect2>
76
77 <sect2 id="contents-iproute2" role="content">
78 <title>Contents of IPRoute2</title>
79
80 <segmentedlist>
81 <segtitle>Installed programs</segtitle>
82
83 <seglistitem>
84 <seg>ctstat (link to lnstat), ifcfg, ifstat, ip, lnstat, nstat,
85 routef, routel, rtacct, rtmon, rtpr, rtstat (link to lnstat), ss,
86 and tc</seg>
87 </seglistitem>
88 </segmentedlist>
89
90 <variablelist>
91 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
92 <?dbfo list-presentation="list"?>
93 <?dbhtml list-presentation="table"?>
94
95 <varlistentry id="ctstat">
96 <term><command>ctstat</command></term>
97 <listitem>
98 <para>Connection status utility</para>
99 <indexterm zone="ch-system-iproute2 ctstat">
100 <primary sortas="b-cstat">ctstat</primary>
101 </indexterm>
102 </listitem>
103 </varlistentry>
104
105 <varlistentry id="ifcfg">
106 <term><command>ifcfg</command></term>
107 <listitem>
108 <para>A shell script wrapper for the <command>ip</command>
109 command</para>
110 <indexterm zone="ch-system-iproute2 ifcfg">
111 <primary sortas="b-ifcfg">ifcfg</primary>
112 </indexterm>
113 </listitem>
114 </varlistentry>
115
116 <varlistentry id="ifstat">
117 <term><command>ifstat</command></term>
118 <listitem>
119 <para>Shows the interface statistics, including the amount of
120 transmitted and received packets by interface</para>
121 <indexterm zone="ch-system-iproute2 ifstat">
122 <primary sortas="b-ifstat">ifstat</primary>
123 </indexterm>
124 </listitem>
125 </varlistentry>
126
127 <varlistentry id="ip">
128 <term><command>ip</command></term>
129 <listitem>
130 <para>The main executable. It has several different functions:</para>
131
132 <para><command>ip link <replaceable>[device]</replaceable></command>
133 allows users to look at the state of devices and to make changes</para>
134
135 <para><command>ip addr</command> allows users to look at addresses and
136 their properties, add new addresses, and delete old ones</para>
137
138 <para><command>ip neighbor</command> allows users to look at neighbor
139 bindings and their properties, add new neighbor entries, and delete
140 old ones</para>
141
142 <para><command>ip rule</command> allows users to look at the routing
143 policies and change them</para>
144
145 <para><command>ip route</command> allows users to look at the routing
146 table and change routing table rules</para>
147
148 <para><command>ip tunnel</command> allows users to look at the IP
149 tunnels and their properties, and change them</para>
150
151 <para><command>ip maddr</command> allows users to look at the multicast
152 addresses and their properties, and change them</para>
153
154 <para><command>ip mroute</command> allows users to set, change, or
155 delete the multicast routing</para>
156
157 <para><command>ip monitor</command> allows users to continously monitor
158 the state of devices, addresses and routes</para>
159 <indexterm zone="ch-system-iproute2 ip">
160 <primary sortas="b-ip">ip</primary>
161 </indexterm>
162 </listitem>
163 </varlistentry>
164
165 <varlistentry id="lnstat">
166 <term><command>lnstat</command></term>
167 <listitem>
168 <para>Provides Linux network statistics. It is a generalized and more
169 feature-complete replacement for the old <command>rtstat</command>
170 program</para>
171 <indexterm zone="ch-system-iproute2 lnstat">
172 <primary sortas="b-cstat">lnstat</primary>
173 </indexterm>
174 </listitem>
175 </varlistentry>
176
177 <varlistentry id="nstat">
178 <term><command>nstat</command></term>
179 <listitem>
180 <para>Shows network statistics</para>
181 <indexterm zone="ch-system-iproute2 nstat">
182 <primary sortas="b-nstat">nstat</primary>
183 </indexterm>
184 </listitem>
185 </varlistentry>
186
187 <varlistentry id="routef">
188 <term><command>routef</command></term>
189 <listitem>
190 <para>A component of <command>ip route</command>. This is for flushing
191 the routing tables</para>
192 <indexterm zone="ch-system-iproute2 routef">
193 <primary sortas="b-routef">routef</primary>
194 </indexterm>
195 </listitem>
196 </varlistentry>
197
198 <varlistentry id="routel">
199 <term><command>routel</command></term>
200 <listitem>
201 <para>A component of <command>ip route</command>. This is for listing
202 the routing tables</para>
203 <indexterm zone="ch-system-iproute2 routel">
204 <primary sortas="b-routel">routel</primary>
205 </indexterm>
206 </listitem>
207 </varlistentry>
208
209 <varlistentry id="rtacct">
210 <term><command>rtacct</command></term>
211 <listitem>
212 <para>Displays the contents of
213 <filename>/proc/net/rt_acct</filename></para>
214 <indexterm zone="ch-system-iproute2 rtacct">
215 <primary sortas="b-rtacct">rtacct</primary>
216 </indexterm>
217 </listitem>
218 </varlistentry>
219
220 <varlistentry id="rtmon">
221 <term><command>rtmon</command></term>
222 <listitem>
223 <para>Route monitoring utility</para>
224 <indexterm zone="ch-system-iproute2 rtmon">
225 <primary sortas="b-rtmon">rtmon</primary>
226 </indexterm>
227 </listitem>
228 </varlistentry>
229
230 <varlistentry id="rtpr">
231 <term><command>rtpr</command></term>
232 <listitem>
233 <para>Converts the output of <command>ip -o</command> back into a
234 readable form</para>
235 <indexterm zone="ch-system-iproute2 rtpr">
236 <primary sortas="b-rtpr">rtpr</primary>
237 </indexterm>
238 </listitem>
239 </varlistentry>
240
241 <varlistentry id="rtstat">
242 <term><command>rtstat</command></term>
243 <listitem>
244 <para>Route status utility</para>
245 <indexterm zone="ch-system-iproute2 rtstat">
246 <primary sortas="b-rtstat">rtstat</primary>
247 </indexterm>
248 </listitem>
249 </varlistentry>
250
251 <varlistentry id="ss">
252 <term><command>ss</command></term>
253 <listitem>
254 <para>Similar to the <command>netstat</command> command; shows
255 active connections</para>
256 <indexterm zone="ch-system-iproute2 ss">
257 <primary sortas="b-ss">ss</primary>
258 </indexterm>
259 </listitem>
260 </varlistentry>
261
262 <varlistentry id="tc">
263 <term><command>tc</command></term>
264 <listitem>
265 <para>Traffic Controlling Executable; this is for Quality Of Service
266 (QOS) and Class Of Service (COS) implementations</para>
267
268 <para><command>tc qdisc</command> allows users to setup the queueing
269 discipline</para>
270
271 <para><command>tc class</command> allows users to setup classes based on
272 the queuing discipline scheduling</para>
273
274 <para><command>tc estimator</command> allows users to estimate the
275 network flow into a network</para>
276
277 <para><command>tc filter</command> allows users to setup the QOS/COS
278 packet filtering</para>
279
280 <para><command>tc policy</command> allows users to setup the QOS/COS
281 policies</para>
282 <indexterm zone="ch-system-iproute2 ss">
283 <primary sortas="b-tc">tc</primary>
284 </indexterm>
285 </listitem>
286 </varlistentry>
287
288 </variablelist>
289
290 </sect2>
291
292</sect1>
Note: See TracBrowser for help on using the repository browser.