99 lines
6.0 KiB
HTML
99 lines
6.0 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3O//DTD W3 HTML 2.0//EN">
|
|
<!Converted with LaTeX2HTML 95.1 (Fri Jan 20 1995) by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds >
|
|
<HEAD>
|
|
<TITLE>5.3 Networking with TCP/IP</TITLE>
|
|
</HEAD>
|
|
<BODY>
|
|
<meta name="description" value="5.3 Networking with TCP/IP">
|
|
<meta name="keywords" value="gs">
|
|
<meta name="resource-type" value="document">
|
|
<meta name="distribution" value="global">
|
|
<P>
|
|
<BR> <HR><A NAME=tex2html4402 HREF="node207.html"><IMG ALIGN=BOTTOM ALT="next" SRC="next_motif.gif"></A> <A NAME=tex2html4400 HREF="node197.html"><IMG ALIGN=BOTTOM ALT="up" SRC="up_motif.gif"></A> <A NAME=tex2html4394 HREF="node205.html"><IMG ALIGN=BOTTOM ALT="previous" SRC="previous_motif.gif"></A> <A NAME=tex2html4404 HREF="node1.html"><IMG ALIGN=BOTTOM ALT="contents" SRC="contents_motif.gif"></A> <A NAME=tex2html4405 HREF="node250.html"><IMG ALIGN=BOTTOM ALT="index" SRC="index_motif.gif"></A> <BR>
|
|
<B> Next:</B> <A NAME=tex2html4403 HREF="node207.html">5.3.1 Hardware Requirements</A>
|
|
<B>Up:</B> <A NAME=tex2html4401 HREF="node197.html">5 Advanced Features</A>
|
|
<B> Previous:</B> <A NAME=tex2html4395 HREF="node205.html">5.2 Accessing MS-DOS Files</A>
|
|
<BR> <HR> <P>
|
|
<H1><A NAME=SECTION00730000000000000000>5.3 Networking with TCP/IP</A></H1>
|
|
<A NAME=sectcpip> </A>
|
|
<A NAME=5700> </A>
|
|
<A NAME=5701> </A>
|
|
Linux supports a full implementation of the TCP/IP (Transport Control
|
|
Protocol/Internet Protocol) networking protocols. TCP/IP has become the
|
|
most successful mechanism for networking computers worldwide.
|
|
With Linux and an Ethernet card, you can network your machine to a local
|
|
area network, or (with the proper network connections), to the Internet---the
|
|
worldwide TCP/IP network.
|
|
<P>
|
|
Hooking up a small LAN of UNIX machines is easy. It simply requires an
|
|
Ethernet controller in each machine and the appropriate Ethernet cables
|
|
and other hardware. Or, if your business or university provides
|
|
access to the Internet, you can easily add your Linux machine to this network.
|
|
<P>
|
|
<A NAME=5702> </A>
|
|
<A NAME=5703> </A>
|
|
<A NAME=5704> </A>
|
|
The current implementation of TCP/IP and related protocols for Linux
|
|
is called ``NET-2''. This has no relationship to the so-called NET-2 release
|
|
of BSD UNIX; instead, ``NET-2'' in this context means the second
|
|
implementation of TCP/IP for Linux.
|
|
<P>
|
|
<A NAME=5705> </A>
|
|
<A NAME=5706> </A>
|
|
<A NAME=5707> </A>
|
|
<A NAME=5708> </A>
|
|
Linux NET-2 also supports SLIP---Serial Line Internet Protocol. SLIP
|
|
allows you to have dialup Internet access using a modem.
|
|
If your business or university provides SLIP access, you can dial in to the
|
|
SLIP server and put your machine on the Internet over the phone line.
|
|
Alternately, if your Linux machine also has Ethernet access to the Internet,
|
|
you can set up your Linux box as a SLIP server.
|
|
<P>
|
|
For complete information on setting up TCP/IP under Linux, we
|
|
encourage you to read the Linux NET-2 HOWTO, available via anonymous
|
|
FTP from <tt>sunsite.unc.edu</tt>. The NET-2 HOWTO is a complete guide to
|
|
configuring TCP/IP, including Ethernet and SLIP connections, under Linux.
|
|
The Linux Ethernet HOWTO is a related document that describes configuration
|
|
of various Ethernet card drivers for Linux.
|
|
The <em>Linux Network Administrator's Guide</em>, from the Linux
|
|
Documentation Project, is also available. See Appendix <A HREF="node225.html#appsourcesnum">A</A>
|
|
for more information on these documents.
|
|
<P>
|
|
Also of interest is the book <em>TCP/IP Network Administration</em>, by
|
|
Craig Hunt. It contains complete information on using and configuring
|
|
TCP/IP on UNIX systems.
|
|
<P>
|
|
<BR> <HR>
|
|
<UL>
|
|
<LI> <A NAME=tex2html4406 HREF="node207.html#SECTION00731000000000000000">5.3.1 Hardware Requirements</A>
|
|
<LI> <A NAME=tex2html4407 HREF="node208.html#SECTION00732000000000000000">5.3.2 Configuring TCP/IP on your system</A>
|
|
<UL>
|
|
<LI> <A NAME=tex2html4408 HREF="node209.html#SECTION00732100000000000000">5.3.2.1 Your network configuration</A>
|
|
<LI> <A NAME=tex2html4409 HREF="node210.html#SECTION00732200000000000000">5.3.2.2 The networking rc files</A>
|
|
<LI> <A NAME=tex2html4410 HREF="node211.html#SECTION00732300000000000000">5.3.2.3 /etc/hosts</A>
|
|
<LI> <A NAME=tex2html4411 HREF="node212.html#SECTION00732400000000000000">5.3.2.4 /etc/networks</A>
|
|
<LI> <A NAME=tex2html4412 HREF="node213.html#SECTION00732500000000000000">5.3.2.5 /etc/host.conf</A>
|
|
<LI> <A NAME=tex2html4413 HREF="node214.html#SECTION00732600000000000000">5.3.2.6 /etc/resolv.conf</A>
|
|
<LI> <A NAME=tex2html4414 HREF="node215.html#SECTION00732700000000000000">5.3.2.7 Setting your hostname</A>
|
|
<LI> <A NAME=tex2html4415 HREF="node216.html#SECTION00732800000000000000">5.3.2.8 Trying it out</A>
|
|
</UL>
|
|
<LI> <A NAME=tex2html4416 HREF="node217.html#SECTION00733000000000000000">5.3.3 SLIP Configuration</A>
|
|
<UL>
|
|
<LI> <A NAME=tex2html4417 HREF="node218.html#SECTION00733100000000000000">5.3.3.1 Static IP address SLIP connections using dip</A>
|
|
<LI> <A NAME=tex2html4418 HREF="node219.html#SECTION00733200000000000000">5.3.3.2 Static IP address SLIP connections using slattach</A>
|
|
<LI> <A NAME=tex2html4419 HREF="node220.html#SECTION00733300000000000000">5.3.3.3 Dynamic IP address SLIP connections using dip</A>
|
|
</UL>
|
|
<LI> <A NAME=tex2html4420 HREF="node221.html#SECTION00734000000000000000">5.3.4 Using dip</A>
|
|
</UL>
|
|
<BR> <HR><A NAME=tex2html4402 HREF="node207.html"><IMG ALIGN=BOTTOM ALT="next" SRC="next_motif.gif"></A> <A NAME=tex2html4400 HREF="node197.html"><IMG ALIGN=BOTTOM ALT="up" SRC="up_motif.gif"></A> <A NAME=tex2html4394 HREF="node205.html"><IMG ALIGN=BOTTOM ALT="previous" SRC="previous_motif.gif"></A> <A NAME=tex2html4404 HREF="node1.html"><IMG ALIGN=BOTTOM ALT="contents" SRC="contents_motif.gif"></A> <A NAME=tex2html4405 HREF="node250.html"><IMG ALIGN=BOTTOM ALT="index" SRC="index_motif.gif"></A> <BR>
|
|
<B> Next:</B> <A NAME=tex2html4403 HREF="node207.html">5.3.1 Hardware Requirements</A>
|
|
<B>Up:</B> <A NAME=tex2html4401 HREF="node197.html">5 Advanced Features</A>
|
|
<B> Previous:</B> <A NAME=tex2html4395 HREF="node205.html">5.2 Accessing MS-DOS Files</A>
|
|
<BR> <HR> <P>
|
|
<BR> <HR>
|
|
<P><ADDRESS>
|
|
<I>Matt Welsh <BR>
|
|
mdw@sunsite.unc.edu</I>
|
|
</ADDRESS>
|
|
</BODY>
|