source: chapter06/iproute2.xml@ da5dcd8

Last change on this file since da5dcd8 was a0e1913, checked in by Manuel Canales Esparcia <manuel@…>, 20 years ago

Removed the package name from the dependencies titles.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multi-arch/BOOK@4691 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>This patch fixes a error calling constant htons during the build of iproute2.</para>
46
47 <screen><userinput>patch -Np1 -i ../iproute2-&iproute2-patch-version;-htons_fix-1.patch</userinput></screen>
48
49 <para>Prepare Iproute2 for compilation:</para>
50 <screen><userinput>./configure </userinput></screen>
51
52 <para>Compile the package:</para>
53
54 <screen><userinput>make SBINDIR=/sbin</userinput></screen>
55
56 <para>The meaning of the make option:</para>
57
58 <variablelist>
59 <varlistentry>
60 <term><parameter>SBINDIR=/sbin</parameter></term>
61 <listitem><para>This makes sure 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 are used
64 in the bootscripts.</para>
65 </listitem>
66 </varlistentry>
67 </variablelist>
68
69 <para>Install the package:</para>
70
71 <screen><userinput>make SBINDIR=/sbin install</userinput></screen>
72
73 </sect2>
74
75 <sect2 id="contents-iproute2" role="content">
76 <title>Contents of Iproute2</title>
77 <segmentedlist>
78 <segtitle>Installed programs</segtitle>
79 <seglistitem>
80 <seg>ifstat, ip, nstat, routef, routel, rtmon, rtstat, ss, and tc.</seg>
81 </seglistitem>
82 </segmentedlist>
83
84 <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
85<?dbfo list-presentation="list"?>
86<?dbhtml list-presentation="table"?>
87
88 <varlistentry id="ifstat">
89 <term>
90 <command>ifstat</command>
91 </term>
92 <listitem>
93 <para>Shows the interfaces statistic, including the amount of transmitted
94 and received packages by interface.</para>
95 <indexterm zone="ch-system-iproute2 ifstat">
96 <primary sortas="b-ifstat">ifstat</primary>
97 </indexterm>
98 </listitem>
99 </varlistentry>
100
101 <varlistentry id="ip">
102 <term>
103 <command>ip</command>
104 </term>
105 <listitem>
106
107 <para>The main executable. It has several different functions:</para>
108
109 <para><command>ip link <replaceable>[device]</replaceable></command>
110 allows users to look at the state of devices and to make changes.
111 </para>
112
113 <para><command>ip addr</command> allows users to look at addresses and
114 their properties, add new addresses, and delete old ones.
115 </para>
116
117 <para><command>ip neighbor</command> allows users to look at
118 neighbor bindings and their properties, add new
119 neighbor entries, and delete old ones.
120 </para>
121
122 <para><command>ip rule</command> allows users to look at the routing
123 policies and change them.
124 </para>
125
126 <para><command>ip route</command> allows users to look at the routing
127 table and change routing table rules.
128 </para>
129
130 <para><command>ip tunnel</command> allows users to look at the IP
131 tunnels and their properties, and change them.
132 </para>
133
134 <para><command>ip maddr</command> allows users to look at the multicast
135 addresses and their properties, and change them.
136 </para>
137
138 <para><command>ip mroute</command> allows users to set, change, or
139 delete the multicast routing.
140 </para>
141
142 <para><command>ip monitor</command> allows users to
143 continously monitor the state of devices, addresses and routes.
144 </para>
145 <indexterm zone="ch-system-iproute2 ip">
146 <primary sortas="b-ip">ip</primary>
147 </indexterm>
148 </listitem>
149 </varlistentry>
150
151 <varlistentry id="nstat">
152 <term>
153 <command>nstat</command>
154 </term>
155 <listitem>
156 <para>Shows network statistics.</para>
157 <indexterm zone="ch-system-iproute2 nstat">
158 <primary sortas="b-nstat">nstat</primary>
159 </indexterm>
160 </listitem>
161 </varlistentry>
162
163 <varlistentry id="routef">
164 <term>
165 <command>routef</command>
166 </term>
167 <listitem>
168 <para>A component of <command>ip route</command>. This is for flushing the routing
169 tables.
170 </para>
171 <indexterm zone="ch-system-iproute2 routef">
172 <primary sortas="b-routef">routef</primary>
173 </indexterm>
174 </listitem>
175 </varlistentry>
176
177 <varlistentry id="routel">
178 <term>
179 <command>routel</command>
180 </term>
181 <listitem>
182 <para>A component of <command>ip route</command>. This is for listing the routing
183 tables.
184 </para>
185 <indexterm zone="ch-system-iproute2 routel">
186 <primary sortas="b-routel">routel</primary>
187 </indexterm>
188 </listitem>
189 </varlistentry>
190
191 <varlistentry id="rtmon">
192 <term>
193 <command>rtmon</command>
194 </term>
195 <listitem>
196 <para>Route monitoring utility.</para>
197 <indexterm zone="ch-system-iproute2 rtmon">
198 <primary sortas="b-rtmon">rtmon</primary>
199 </indexterm>
200 </listitem>
201 </varlistentry>
202
203 <varlistentry id="rtstat">
204 <term>
205 <command>rtstat</command>
206 </term>
207 <listitem>
208 <para>Route status utility</para>
209 <indexterm zone="ch-system-iproute2 rtstat">
210 <primary sortas="b-rtstat">rtstat</primary>
211 </indexterm>
212 </listitem>
213 </varlistentry>
214
215 <varlistentry id="ss">
216 <term>
217 <command>ss</command>
218 </term>
219 <listitem>
220 <para>Similar to the <command>netstat</command> command; shows active connections</para>
221 <indexterm zone="ch-system-iproute2 ss">
222 <primary sortas="b-ss">ss</primary>
223 </indexterm>
224 </listitem>
225 </varlistentry>
226
227 <varlistentry id="tc">
228 <term>
229 <command>tc</command>
230 </term>
231 <listitem>
232 <para>Traffic Controlling Executable; this is for Quality Of
233Service (QOS) and Class Of Service (COS)
234 implementations
235 </para>
236
237 <para><command>tc qdisc</command> allows users to setup the queueing
238 discipline
239 </para>
240
241 <para><command>tc class</command> allows users to setup classes based on
242 the queuing discipline scheduling
243 </para>
244
245 <para><command>tc estimator</command> allows users to estimate the
246 network flow into a network
247 </para>
248
249 <para><command>tc filter</command> allows users to setup the QOS/COS
250 packet filtering
251 </para>
252
253 <para><command>tc policy</command> allows users to setup the QOS/COS
254 policies
255 </para>
256 <indexterm zone="ch-system-iproute2 ss">
257 <primary sortas="b-tc">tc</primary>
258 </indexterm>
259 </listitem>
260 </varlistentry>
261 </variablelist>
262 </sect2>
263</sect1>
264
Note: See TracBrowser for help on using the repository browser.