Changeset 81fd230 for chapter06/iproute2.xml
- Timestamp:
- 02/19/2005 10:16:42 PM (19 years ago)
- Branches:
- 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
- Children:
- 3d31fc4
- Parents:
- 2f9131f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/iproute2.xml
r2f9131f r81fd230 4 4 %general-entities; 5 5 ]> 6 <sect1 id="ch-system-iproute2" xreflabel="IProute2"role="wrap">7 <title>Iproute2-&iproute2-version;</title>6 <sect1 id="ch-system-iproute2" role="wrap"> 7 <title>Iproute2-&iproute2-version;</title> 8 8 <?dbhtml filename="iproute2.html"?> 9 10 9 <indexterm zone="ch-system-iproute2"> 11 <primary sortas="a-iproute2"> iproute2</primary>10 <primary sortas="a-iproute2">Iproute2</primary> 12 11 </indexterm> 13 12 <sect2 role="package"> 14 13 <title/> 15 14 <para>The Iproute2 package contains programs for basic and advanced 15 IPV4-based networking. 16 </para> 16 17 <segmentedlist> 17 18 <segtitle>&buildtime;</segtitle> … … 22 23 </seglistitem> 23 24 </segmentedlist> 24 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> 25 31 </sect2> 26 27 32 <sect2 role="installation"> 28 33 <title>Installation of Iproute2</title> 29 30 <para>Apply a patch</para> 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> 31 42 32 43 <screen><userinput>patch -Np1 -i ../iproute2-&iproute2-patch-version;-remove_db-1.patch</userinput></screen> 33 44 34 <!--NEW--> 35 <para>The patch below fixes the issue with the newer versions of findutils, 36 the issue will give an error message it options are not in the proper order. 37 This patch corrects this issue for IPRoute2.</para> 38 39 <screen><userinput>patch -Np1 -i ../iproute2-&iproute2-patch-version;-find_update-1.patch</userinput></screen> 40 41 <para>Prepare iproute2 for compilation:</para> 42 45 <para>The patch below fixes the issue with the newer versions of 46 findutils whose <command>find</command> command will report an error 47 message 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> 43 53 <screen><userinput>./configure </userinput></screen> 44 54 … … 47 57 <screen><userinput>make SBINDIR=/sbin</userinput></screen> 48 58 49 <para>Now install it:</para> 50 51 <!--NEW--> 52 <screen><userinput>make install SBINDIR=/sbin</userinput></screen> 53 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> 54 75 </sect2> 55 76 56 77 <sect2 id="contents-iproute2" role="content"> 57 <title>Contents of Iproute2</title> 58 59 <para>See testing</para> 60 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 89 <varlistentry id="ifstat"> 90 <term> 91 <command>ifstat</command> 92 </term> 93 <listitem> 94 <para>Shows the interfaces statistic, including the amount of transmitted 95 and received packages by interface.</para> 96 <indexterm zone="ch-system-iproute2 ifstat"> 97 <primary sortas="b-ifstat">ifstat</primary> 98 </indexterm> 99 </listitem> 100 </varlistentry> 101 102 <varlistentry id="ip"> 103 <term> 104 <command>ip</command> 105 </term> 106 <listitem> 107 108 <para>The main executable. It has several different functions:</para> 109 110 <para><command>ip link <replaceable>[device]</replaceable></command> 111 allows users to look at the state of devices and to make changes. 112 </para> 113 114 <para><command>ip addr</command> allows users to look at addresses and 115 their properties, add new addresses, and delete old ones. 116 </para> 117 118 <para><command>ip neighbor</command> allows users to look at 119 neighbor bindings and their properties, add new 120 neighbor entries, and delete old ones. 121 </para> 122 123 <para><command>ip rule</command> allows users to look at the routing 124 policies and change them. 125 </para> 126 127 <para><command>ip route</command> allows users to look at the routing 128 table and change routing table rules. 129 </para> 130 131 <para><command>ip tunnel</command> allows users to look at the IP 132 tunnels and their properties, and change them. 133 </para> 134 135 <para><command>ip maddr</command> allows users to look at the multicast 136 addresses and their properties, and change them. 137 </para> 138 139 <para><command>ip mroute</command> allows users to set, change, or 140 delete the multicast routing. 141 </para> 142 143 <para><command>ip monitor</command> allows users to 144 continously monitor the state of devices, addresses and routes. 145 </para> 146 <indexterm zone="ch-system-iproute2 ip"> 147 <primary sortas="b-ip">ip</primary> 148 </indexterm> 149 </listitem> 150 </varlistentry> 151 152 <varlistentry id="nstat"> 153 <term> 154 <command>nstat</command> 155 </term> 156 <listitem> 157 <para>Shows network statistics.</para> 158 <indexterm zone="ch-system-iproute2 nstat"> 159 <primary sortas="b-nstat">nstat</primary> 160 </indexterm> 161 </listitem> 162 </varlistentry> 163 164 <varlistentry id="routef"> 165 <term> 166 <command>routef</command> 167 </term> 168 <listitem> 169 <para>A component of <command>ip route</command>. This is for flushing the routing 170 tables. 171 </para> 172 <indexterm zone="ch-system-iproute2 routef"> 173 <primary sortas="b-routef">routef</primary> 174 </indexterm> 175 </listitem> 176 </varlistentry> 177 178 <varlistentry id="routel"> 179 <term> 180 <command>routel</command> 181 </term> 182 <listitem> 183 <para>A component of <command>ip route</command>. This is for listing the routing 184 tables. 185 </para> 186 <indexterm zone="ch-system-iproute2 routel"> 187 <primary sortas="b-routel">routel</primary> 188 </indexterm> 189 </listitem> 190 </varlistentry> 191 192 <varlistentry id="rtmon"> 193 <term> 194 <command>rtmon</command> 195 </term> 196 <listitem> 197 <para>Route monitoring utility.</para> 198 <indexterm zone="ch-system-iproute2 rtmon"> 199 <primary sortas="b-rtmon">rtmon</primary> 200 </indexterm> 201 </listitem> 202 </varlistentry> 203 204 <varlistentry id="rtstat"> 205 <term> 206 <command>rtstat</command> 207 </term> 208 <listitem> 209 <para>Route status utility</para> 210 <indexterm zone="ch-system-iproute2 rtstat"> 211 <primary sortas="b-rtstat">rtstat</primary> 212 </indexterm> 213 </listitem> 214 </varlistentry> 215 216 <varlistentry id="ss"> 217 <term> 218 <command>ss</command> 219 </term> 220 <listitem> 221 <para>Similar to the <command>netstat</command> command; shows active connections</para> 222 <indexterm zone="ch-system-iproute2 ss"> 223 <primary sortas="b-ss">ss</primary> 224 </indexterm> 225 </listitem> 226 </varlistentry> 227 228 <varlistentry id="tc"> 229 <term> 230 <command>tc</command> 231 </term> 232 <listitem> 233 <para>Traffic Controlling Executable; this is for Quality Of 234 Service (QOS) and Class Of Service (COS) 235 implementations 236 </para> 237 238 <para><command>tc qdisc</command> allows users to setup the queueing 239 discipline 240 </para> 241 242 <para><command>tc class</command> allows users to setup classes based on 243 the queuing discipline scheduling 244 </para> 245 246 <para><command>tc estimator</command> allows users to estimate the 247 network flow into a network 248 </para> 249 250 <para><command>tc filter</command> allows users to setup the QOS/COS 251 packet filtering 252 </para> 253 254 <para><command>tc policy</command> allows users to setup the QOS/COS 255 policies 256 </para> 257 <indexterm zone="ch-system-iproute2 ss"> 258 <primary sortas="b-tc">tc</primary> 259 </indexterm> 260 </listitem> 261 </varlistentry> 262 </variablelist> 61 263 </sect2> 62 264 </sect1> 265
Note:
See TracChangeset
for help on using the changeset viewer.