source: chapter06/iproute2.xml@ 9535071

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

Typo.

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

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