📄 497-499.html
字号:
<HTML>
<HEAD>
<TITLE>Special Edition Using Linux, Fourth Edition:Configuring a TCP/IP Network</TITLE>
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<SCRIPT>
<!--
function displayWindow(url, width, height) {
var Win = window.open(url,"displayWindow",'width=' + width +
',height=' + height + ',resizable=1,scrollbars=yes');
}
//-->
</SCRIPT>
</HEAD>
-->
<!--ISBN=0789717468//-->
<!--TITLE=Special Edition Using Linux, Fourth Edition//-->
<!--AUTHOR=Jack Tackett//-->
<!--AUTHOR=Jr.//-->
<!--AUTHOR=Steve Burnett//-->
<!--PUBLISHER=Macmillan Computer Publishing//-->
<!--IMPRINT=Que//-->
<!--CHAPTER=24//-->
<!--PAGES=497-499//-->
<!--UNASSIGNED1//-->
<!--UNASSIGNED2//-->
<CENTER>
<TABLE BORDER>
<TR>
<TD><A HREF="495-497.html">Previous</A></TD>
<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>
<TD><A HREF="../ch25/501-503.html">Next</A></TD>
</TR>
</TABLE>
</CENTER>
<P><BR></P>
<P>The following is an example of using the <TT>-i</TT> option, and Table 24.9 explains each field in the listing.</P>
<!-- CODE SNIP //-->
<PRE>
$ <B>netstat -i</B>
Kernel Interface table
Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR
Flags
lo 2000 0 0 0 0 0 1558 1 0 0
LRU
</PRE>
<!-- END CODE SNIP //-->
<TABLE WIDTH="100%">
<CAPTION ALIGN=LEFT><B>Table 24.9</B> Fields in the Kernel Interface Table
<TR>
<TH COLSPAN="3"><HR>
<TR>
<TH WIDTH="15%" ALIGN="LEFT">Field
<TH WIDTH="85%" ALIGN="LEFT" COLSPAN="2">Description
<TR>
<TD COLSPAN="3"><HR>
<TR>
<TD><TT>Iface</TT>
<TD COLSPAN="2">The name of the network interface.
<TR>
<TD VALIGN="TOP"><TT>MTU</TT>
<TD COLSPAN="2">The largest number of bytes that can be sent in one transmission by this interface.
<TR>
<TD><TT>Met</TT>
<TD COLSPAN="2">The metric value for this interface.
<TR>
<TD><TT>RX-OK</TT>
<TD COLSPAN="2">The number of packets received with no errors.
<TR>
<TD><TT>RX-ERR</TT>
<TD COLSPAN="2">The number of packets received with errors.
<TR>
<TD><TT>RX-DRP</TT>
<TD COLSPAN="2">The number of packets dropped.
<TR>
<TD><TT>RX-OVR</TT>
<TD COLSPAN="2">The number of packet overrun errors.
<TR>
<TD><TT>TX-OK</TT>
<TD COLSPAN="2">The number of packets transmitted with no errors.
<TR>
<TD><TT>TX-ERR</TT>
<TD COLSPAN="2">The number of packets transmitted with errors.
<TR>
<TD><TT>TX-DRP</TT>
<TD COLSPAN="2">The number of packets dropped during transmission.
<TR>
<TD><TT>TX-OVR</TT>
<TD COLSPAN="2">The number of packets dropped due to overrun errors.
<TR>
<TD><TT>Flags</TT>
<TD COLSPAN="2">The following flags can be shown in this field:
<TR>
<TD>
<TD WIDTH="5%"><TT>A</TT>
<TD WIDTH="75%">The interface receives packets for multicast addresses.
<TR>
<TD>
<TD><TT>B</TT>
<TD>The interface receives broadcast packets.
<TR>
<TD>
<TD><TT>D</TT>
<TD>The interface debugging feature is now activated.
<TR>
<TD>
<TD><TT>L</TT>
<TD>This is the loopback interface.
<TR>
<TD>
<TD><TT>M</TT>
<TD>The interface is in promiscuous mode.
<TR>
<TD>
<TD><TT>N</TT>
<TD>The interface doesn’t process trailers on packets.
<TR>
<TD>
<TD><TT>O</TT>
<TD>The Address Resolution Protocol is turned off on this interface.
<TR>
<TD>
<TD><TT>P</TT>
<TD>This interface is being used as a point-to-point connection.
<TR>
<TD>
<TD><TT>R</TT>
<TD>The interface is running.
<TR>
<TD>
<TD><TT>U</TT>
<TD>The interface has been activated.
<TR>
<TD COLSPAN="3"><HR>
</TABLE>
<H3><A NAME="Heading17"></A><FONT COLOR="#000077">From Here…</FONT></H3>
<P>This chapter covers the basics of configuring a Linux machine for use on a network. More information can be found in the man pages for the discussed commands. For more information on TCP/IP networking and configuration, see the following chapters:
</P>
<DL>
<DD><B>•</B> Chapter 18, “Understanding Linux Shells,” gives more details on writing shell scripts.
<DD><B>•</B> Chapter 23, “Understanding the TCP/IP Protocol Suite,” explains the details of the TCP/IP protocols.
<DD><B>•</B> Chapter 25, “Configuring Domain Name Service,” shows you how to set up Linux as a DNS client and server.
</DL>
<P><BR></P>
<CENTER>
<TABLE BORDER>
<TR>
<TD><A HREF="495-497.html">Previous</A></TD>
<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>
<TD><A HREF="../ch25/501-503.html">Next</A></TD>
</TR>
</TABLE>
</CENTER>
</td>
</tr>
</table>
<!-- begin footer information -->
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -