old-www/LDP/nag2/x-087-2-hwconfig.tour.html

282 lines
5.0 KiB
HTML

<HTML
><HEAD
><TITLE
>A Tour of Linux Network Devices</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.57"><LINK
REL="HOME"
TITLE="Linux Network Administrators Guide"
HREF="index.html"><LINK
REL="UP"
TITLE="Configuringthe NetworkingHardware"
HREF="x-087-2-hardware.html"><LINK
REL="PREVIOUS"
TITLE="Kernel Configuration"
HREF="x-087-2-hardware.kernel.config.html"><LINK
REL="NEXT"
TITLE="Ethernet Installation"
HREF="x-087-2-hardware.drivers.ethernet.html"></HEAD
><BODY
CLASS="SECT1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Linux Network Administrators Guide</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="x-087-2-hardware.kernel.config.html"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 3. Configuringthe NetworkingHardware</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="x-087-2-hardware.drivers.ethernet.html"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="X-087-2-HWCONFIG.TOUR"
>3.2. A Tour of Linux Network Devices</A
></H1
><P
>The Linux kernel supports a number of hardware drivers for various
types of equipment. This section gives a short overview of the driver
families available and the interface names they use.</P
><P
> There is a number
of standard names for interfaces in Linux, which are listed here. Most
drivers support more than one interface, in which case the interfaces
are numbered, as in <TT
CLASS="FILENAME"
>eth0</TT
> and
<TT
CLASS="FILENAME"
>eth1</TT
>:</P
><P
><P
></P
><DIV
CLASS="VARIABLELIST"
><DL
><DT
><TT
CLASS="FILENAME"
>lo</TT
></DT
><DD
><P
>&#13;
This is the local loopback interface. It is used for testing purposes, as
well as a couple of network applications. It works like a closed circuit in
that any datagram written to it will immediately be returned to the host's
networking layer. There's always one loopback device present in the kernel,
and there's little sense in having more.</P
></DD
><DT
><TT
CLASS="FILENAME"
>eth0</TT
>, <TT
CLASS="FILENAME"
>eth1</TT
>, &#8230;</DT
><DD
><P
>
These are the Ethernet card interfaces. They are used for most Ethernet cards,
including many of the parallel port Ethernet cards.</P
></DD
><DT
><TT
CLASS="FILENAME"
>tr0</TT
>, <TT
CLASS="FILENAME"
>tr1</TT
>, &#8230;</DT
><DD
><P
>
These are the Token Ring card interfaces. They are used for most Token Ring
cards, including non-IBM manufactured cards.</P
></DD
><DT
><TT
CLASS="FILENAME"
>sl0</TT
>, <TT
CLASS="FILENAME"
>sl1</TT
>, &#8230;</DT
><DD
><P
>
These are the SLIP interfaces. SLIP interfaces are associated with serial
lines in the order in which they are allocated for SLIP.</P
></DD
><DT
><TT
CLASS="FILENAME"
>ppp0</TT
>, <TT
CLASS="FILENAME"
>ppp1</TT
>, &#8230;</DT
><DD
><P
>
These are the PPP interfaces. Just like SLIP interfaces, a PPP interface is
associated with a serial line once it is converted to PPP mode.</P
></DD
><DT
><TT
CLASS="FILENAME"
>plip0</TT
>,
<TT
CLASS="FILENAME"
>plip1</TT
>, &#8230;</DT
><DD
><P
>&#13;
These are the PLIP interfaces. PLIP transports IP datagrams over
parallel lines. The interfaces are allocated by the PLIP driver at
system boot time and are mapped onto parallel ports. In the
<I
CLASS="EMPHASIS"
>2.0.x</I
> kernels there is a direct relationship
between the device name and the I/O port of the parallel port, but in
later kernels the device names are allocated sequentially, just as for
SLIP and PPP devices.</P
></DD
><DT
><TT
CLASS="FILENAME"
>ax0</TT
>,
<TT
CLASS="FILENAME"
>ax1</TT
>, &#8230;</DT
><DD
><P
>&#13;
These are the AX.25 interfaces. AX.25 is the primary protocol used by
amateur radio operators. AX.25 interfaces are allocated and mapped in
a similar fashion to SLIP devices.</P
></DD
></DL
></DIV
></P
><P
>There are many other types of interfaces available for other network
drivers. We've listed only the most common ones.</P
><P
>During the next few sections, we will discuss the details of using
the drivers described previously. The Networking HOWTO provides details on
how to configure most of the others, and the AX25 HOWTO explains how to
configure the Amateur Radio network devices.</P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="x-087-2-hardware.kernel.config.html"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="x-087-2-hardware.drivers.ethernet.html"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Kernel Configuration</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="x-087-2-hardware.html"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Ethernet Installation</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>