source: chapter06/iproute2.xml@ 9ae5ef3

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 9ae5ef3 was 112c945, checked in by Jim Gifford <jim@…>, 20 years ago

Added: IPRoute2 man pages patch

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4053 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" xreflabel="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>sed, GCC, Glibc, Make, Linux-Headers</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. As <command>arpd</command> is not a very
36 common requirement on a base Linux system we remove the dependency on
37 Berkeley DB by applying the patch using the command below. If you
38 need the <command>arpd</command> binary, then instructions for
39 compiling Berkeley DB can be found in the <ulink
40 url="http://www.linuxfromscratch.org/blfs/view/cvs/content/databases.html#db">BLFS book</ulink>.
41 </para>
42
43 <screen><userinput>patch -Np1 -i ../iproute2-&iproute2-patch-version;-remove_db-1.patch</userinput></screen>
44
45 <para>The following patch allows the installation of the man pages
46 for iproute2.
47 </para>
48
49 <screen><userinput>patch -Np1 -i ../iproute2-&iproute2-patch-version;-manpages-1.patch</userinput></screen>
50
51 <para>Prepare iproute2 for compilation:</para>
52 <screen> <userinput>./configure </userinput></screen>
53
54 <para>Compile the package:</para>
55
56 <screen><userinput>make SBINDIR=/sbin</userinput></screen>
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, as some of the iproute2 binaries are used
64 in our bootscripts.</para>
65 </listitem>
66 </varlistentry>
67 </variablelist>
68
69 <para>Now install it:</para>
70
71 <screen><userinput>make install SBINDIR=/sbin</userinput></screen>
72 </sect2>
73
74 <sect2 id="contents-iproute2" role="content">
75 <title>Contents of iproute2</title>
76 <segmentedlist>
77 <segtitle>Installed programs</segtitle>
78 <seglistitem>
79 <seg>ifstat, ip, nstat, routef, routel, rtmon, rtstat, ss, and tc.</seg>
80 </seglistitem>
81 </segmentedlist>
82
83 <variablelist>
84 <title>Short descriptions</title>
85
86 <varlistentry id="ifstat">
87 <term>
88 <command>ifstat</command>
89 </term>
90 <listitem>
91 <indexterm zone="ch-system-iproute2 ifstat">
92 <primary sortas="b-ifstat">ifstat</primary>
93 </indexterm>
94 <para>shows the interfaces statistics. Shows the amount of transmitted
95 and received packages by interface</para>
96 </listitem>
97 </varlistentry>
98
99 <varlistentry id="ip">
100 <term>
101 <command>ip</command>
102 </term>
103 <listitem>
104 <indexterm zone="ch-system-iproute2 ip">
105 <primary sortas="b-ip">ip</primary>
106 </indexterm>
107
108 <para>is the main executable. Has several different functions.</para>
109
110 <para><command>ip link <replaceable>[device]</replaceable></command>
111 allows you to look at the state of devices and to change it.
112 </para>
113
114 <para><command>ip addr</command> allows you to look at addresses and
115 their properties, add new addresses and to delete old ones.
116 </para>
117
118 <para><command>ip neighbor</command> allows you to look at neighbour
119 bindings and their properties, add new neighbour entries and to
120 delete old ones.
121 </para>
122
123 <para><command>ip rule</command> allows you to look at the routing
124 policies and change them.
125 </para>
126
127 <para><command>ip route</command> allows you to look at the routing
128 table and change routing table rules.
129 </para>
130
131 <para><command>ip tunnel</command> allows you to look at the ip
132 tunnels and their properties, and change them.
133 </para>
134
135 <para><command>ip maddr</command> allows you to look at the multicast
136 addresses and their properties, and change them.
137 </para>
138
139 <para><command>ip mroute</command> allows you to set, change, or
140 delete the mutlicast routing.
141 </para>
142
143 <para><command>ip monitor</command> allows you to monitor the state of
144 devices, addresses and routes continuously.
145 </para>
146 </listitem>
147 </varlistentry>
148
149 <varlistentry id="nstat">
150 <term>
151 <command>nstat</command>
152 </term>
153 <listitem>
154 <indexterm zone="ch-system-iproute2 nstat">
155 <primary sortas="b-nstat">nstat</primary>
156 </indexterm>
157 <para>Shows network statistics</para>
158 </listitem>
159 </varlistentry>
160
161 <varlistentry id="routef">
162 <term>
163 <command>routef</command>
164 </term>
165 <listitem>
166 <indexterm zone="ch-system-iproute2 routef">
167 <primary sortas="b-routef">routef</primary>
168 </indexterm>
169 <para>A component of ip route. This is for flushing the routing
170 tables.
171 </para>
172 </listitem>
173 </varlistentry>
174
175 <varlistentry id="routel">
176 <term>
177 <command>routel</command>
178 </term>
179 <listitem>
180 <indexterm zone="ch-system-iproute2 routel">
181 <primary sortas="b-routel">routel</primary>
182 </indexterm>
183 <para>A component of ip route. This is for listing the routing
184 tables.
185 </para>
186 </listitem>
187 </varlistentry>
188
189 <varlistentry id="rtmon">
190 <term>
191 <command>rtmon</command>
192 </term>
193 <listitem>
194 <indexterm zone="ch-system-iproute2 rtmon">
195 <primary sortas="b-rtmon">rtmon</primary>
196 </indexterm>
197 <para>Route Monitoring Utility.</para>
198 </listitem>
199 </varlistentry>
200
201 <varlistentry id="rtstat">
202 <term>
203 <command>rtstat</command>
204 </term>
205 <listitem>
206 <indexterm zone="ch-system-iproute2 rtstat">
207 <primary sortas="b-rtstat">rtstat</primary>
208 </indexterm>
209 <para>Route Status Utility</para>
210 </listitem>
211 </varlistentry>
212
213 <varlistentry id="ss">
214 <term>
215 <command>ss</command>
216 </term>
217 <listitem>
218 <indexterm zone="ch-system-iproute2 ss">
219 <primary sortas="b-ss">ss</primary>
220 </indexterm>
221 <para>Similar to the netstat command. Shows active connections.</para>
222 </listitem>
223 </varlistentry>
224
225 <varlistentry id="tc">
226 <term>
227 <command>tc</command>
228 </term>
229 <listitem>
230 <indexterm zone="ch-system-iproute2 ss">
231 <primary sortas="b-tc">tc</primary>
232 </indexterm>
233 <para>Traffic Controlling Executable. This is for QOS/COS
234 implementations.
235 </para>
236
237 <para><command>tc qdisc</command> allows you to setup the queueing
238 discipline.
239 </para>
240
241 <para><command>tc class</command> allows you to setup classes based on
242 the queuing discipline scheduling.
243 </para>
244
245 <para><command>tc estimator</command> allows you to estimate the
246 network flow into a network.
247 </para>
248
249 <para><command>tc filter</command> allows you to setup the QOS/COS
250 packet filtering.
251 </para>
252
253 <para><command>tc policy</command> allows you to setup the QOS/COS
254 policies.
255 </para>
256 </listitem>
257 </varlistentry>
258 </variablelist>
259 </sect2>
260</sect1>
Note: See TracBrowser for help on using the repository browser.