source: chapter06/iproute2.xml@ 45992ae

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.1 6.1.1 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 45992ae was 45992ae, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

Removed the package name from the dependencies titles.

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

  • Property mode set to 100644
File size: 8.7 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
6<sect1 id="ch-system-iproute2" role="wrap">
7 <title>Iproute2-&iproute2-version;</title>
8<?dbhtml filename="iproute2.html"?>
9 <indexterm zone="ch-system-iproute2">
10 <primary sortas="a-iproute2">Iproute2</primary>
11 </indexterm>
12 <sect2 role="package">
13 <title/>
14 <para>The Iproute2 package contains programs for basic and advanced
15 IPV4-based networking.
16 </para>
17 <segmentedlist>
18 <segtitle>&buildtime;</segtitle>
19 <segtitle>&diskspace;</segtitle>
20 <seglistitem>
21 <seg>0.1 SBU</seg>
22 <seg>.6 MB</seg>
23 </seglistitem>
24 </segmentedlist>
25 <segmentedlist>
26 <segtitle>&dependencies;</segtitle>
27 <seglistitem>
28 <seg>GCC, Glibc, Make, Linux-Headers, and Sed</seg>
29 </seglistitem>
30 </segmentedlist>
31 </sect2>
32 <sect2 role="installation">
33 <title>Installation of Iproute2</title>
34 <para>The <command>arpd</command> binary included in this package is
35 dependent on Berkeley DB. Because <command>arpd</command> is not a very
36 common requirement on a base Linux system, remove the dependency on
37 Berkeley DB by applying the patch using the command below. If
38 the <command>arpd</command> binary is needed, instructions for
39 compiling Berkeley DB can be found in the BLFS Book at <ulink
40 url="&blfs-root;view/svn/content/databases.html#db"/>.
41 </para>
42
43 <screen><userinput>patch -Np1 -i ../iproute2-&iproute2-patch-version;-remove_db-1.patch</userinput></screen>
44
45<para>The patch below fixes the issue with the newer versions of
46Findutils whose <command>find</command> command will report an error
47message when its options are not in the proper order.</para>
48
49<screen><userinput>patch -Np1 -i ../iproute2-&iproute2-patch-version;-find_update-1.patch</userinput></screen>
50
51
52 <para>Prepare Iproute2 for compilation:</para>
53 <screen><userinput>./configure </userinput></screen>
54
55 <para>Compile the package:</para>
56
57 <screen><userinput>make SBINDIR=/sbin</userinput></screen>
58
59 <para>The meaning of the make option:</para>
60
61 <variablelist>
62 <varlistentry>
63 <term><parameter>SBINDIR=/sbin</parameter></term>
64 <listitem><para>This makes sure that the Iproute2 binaries will install into
65 <filename class="directory">/sbin</filename>. This is the correct
66 location according to the FHS, because some of the Iproute2 binaries are used
67 in the bootscripts.</para>
68 </listitem>
69 </varlistentry>
70 </variablelist>
71
72 <para>Install the package:</para>
73
74 <screen><userinput>make SBINDIR=/sbin install</userinput></screen>
75 </sect2>
76
77 <sect2 id="contents-iproute2" role="content">
78 <title>Contents of Iproute2</title>
79 <segmentedlist>
80 <segtitle>Installed programs</segtitle>
81 <seglistitem>
82 <seg>ifstat, ip, nstat, routef, routel, rtmon, rtstat, ss, and tc.</seg>
83 </seglistitem>
84 </segmentedlist>
85
86 <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
87<?dbfo list-presentation="list"?>
88<?dbhtml list-presentation="table"?>
89
90 <varlistentry id="ifstat">
91 <term>
92 <command>ifstat</command>
93 </term>
94 <listitem>
95 <para>Shows the interfaces statistic, including the amount of transmitted
96 and received packages by interface.</para>
97 <indexterm zone="ch-system-iproute2 ifstat">
98 <primary sortas="b-ifstat">ifstat</primary>
99 </indexterm>
100 </listitem>
101 </varlistentry>
102
103 <varlistentry id="ip">
104 <term>
105 <command>ip</command>
106 </term>
107 <listitem>
108
109 <para>The main executable. It has several different functions:</para>
110
111 <para><command>ip link <replaceable>[device]</replaceable></command>
112 allows users to look at the state of devices and to make changes.
113 </para>
114
115 <para><command>ip addr</command> allows users to look at addresses and
116 their properties, add new addresses, and delete old ones.
117 </para>
118
119 <para><command>ip neighbor</command> allows users to look at
120 neighbor bindings and their properties, add new
121 neighbor entries, and delete old ones.
122 </para>
123
124 <para><command>ip rule</command> allows users to look at the routing
125 policies and change them.
126 </para>
127
128 <para><command>ip route</command> allows users to look at the routing
129 table and change routing table rules.
130 </para>
131
132 <para><command>ip tunnel</command> allows users to look at the IP
133 tunnels and their properties, and change them.
134 </para>
135
136 <para><command>ip maddr</command> allows users to look at the multicast
137 addresses and their properties, and change them.
138 </para>
139
140 <para><command>ip mroute</command> allows users to set, change, or
141 delete the multicast routing.
142 </para>
143
144 <para><command>ip monitor</command> allows users to
145 continously monitor the state of devices, addresses and routes.
146 </para>
147 <indexterm zone="ch-system-iproute2 ip">
148 <primary sortas="b-ip">ip</primary>
149 </indexterm>
150 </listitem>
151 </varlistentry>
152
153 <varlistentry id="nstat">
154 <term>
155 <command>nstat</command>
156 </term>
157 <listitem>
158 <para>Shows network statistics.</para>
159 <indexterm zone="ch-system-iproute2 nstat">
160 <primary sortas="b-nstat">nstat</primary>
161 </indexterm>
162 </listitem>
163 </varlistentry>
164
165 <varlistentry id="routef">
166 <term>
167 <command>routef</command>
168 </term>
169 <listitem>
170 <para>A component of <command>ip route</command>. This is for flushing the routing
171 tables.
172 </para>
173 <indexterm zone="ch-system-iproute2 routef">
174 <primary sortas="b-routef">routef</primary>
175 </indexterm>
176 </listitem>
177 </varlistentry>
178
179 <varlistentry id="routel">
180 <term>
181 <command>routel</command>
182 </term>
183 <listitem>
184 <para>A component of <command>ip route</command>. This is for listing the routing
185 tables.
186 </para>
187 <indexterm zone="ch-system-iproute2 routel">
188 <primary sortas="b-routel">routel</primary>
189 </indexterm>
190 </listitem>
191 </varlistentry>
192
193 <varlistentry id="rtmon">
194 <term>
195 <command>rtmon</command>
196 </term>
197 <listitem>
198 <para>Route monitoring utility.</para>
199 <indexterm zone="ch-system-iproute2 rtmon">
200 <primary sortas="b-rtmon">rtmon</primary>
201 </indexterm>
202 </listitem>
203 </varlistentry>
204
205 <varlistentry id="rtstat">
206 <term>
207 <command>rtstat</command>
208 </term>
209 <listitem>
210 <para>Route status utility</para>
211 <indexterm zone="ch-system-iproute2 rtstat">
212 <primary sortas="b-rtstat">rtstat</primary>
213 </indexterm>
214 </listitem>
215 </varlistentry>
216
217 <varlistentry id="ss">
218 <term>
219 <command>ss</command>
220 </term>
221 <listitem>
222 <para>Similar to the <command>netstat</command> command; shows active connections</para>
223 <indexterm zone="ch-system-iproute2 ss">
224 <primary sortas="b-ss">ss</primary>
225 </indexterm>
226 </listitem>
227 </varlistentry>
228
229 <varlistentry id="tc">
230 <term>
231 <command>tc</command>
232 </term>
233 <listitem>
234 <para>Traffic Controlling Executable; this is for Quality Of
235Service (QOS) and Class Of Service (COS)
236 implementations
237 </para>
238
239 <para><command>tc qdisc</command> allows users to setup the queueing
240 discipline
241 </para>
242
243 <para><command>tc class</command> allows users to setup classes based on
244 the queuing discipline scheduling
245 </para>
246
247 <para><command>tc estimator</command> allows users to estimate the
248 network flow into a network
249 </para>
250
251 <para><command>tc filter</command> allows users to setup the QOS/COS
252 packet filtering
253 </para>
254
255 <para><command>tc policy</command> allows users to setup the QOS/COS
256 policies
257 </para>
258 <indexterm zone="ch-system-iproute2 ss">
259 <primary sortas="b-tc">tc</primary>
260 </indexterm>
261 </listitem>
262 </varlistentry>
263 </variablelist>
264 </sect2>
265</sect1>
266
Note: See TracBrowser for help on using the repository browser.