Files
oldlinux-files/docs/Install-Guide/install-guide-2.2.2/node208.html
2024-02-19 00:23:35 -05:00

81 lines
5.3 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.2 Configuring TCP/IP on your system</TITLE>
</HEAD>
<BODY>
<meta name="description" value="5.3.2 Configuring TCP/IP on your system">
<meta name="keywords" value="gs">
<meta name="resource-type" value="document">
<meta name="distribution" value="global">
<P>
<BR> <HR><A NAME=tex2html4441 HREF="node209.html"><IMG ALIGN=BOTTOM ALT="next" SRC="next_motif.gif"></A> <A NAME=tex2html4439 HREF="node206.html"><IMG ALIGN=BOTTOM ALT="up" SRC="up_motif.gif"></A> <A NAME=tex2html4433 HREF="node207.html"><IMG ALIGN=BOTTOM ALT="previous" SRC="previous_motif.gif"></A> <A NAME=tex2html4443 HREF="node1.html"><IMG ALIGN=BOTTOM ALT="contents" SRC="contents_motif.gif"></A> <A NAME=tex2html4444 HREF="node250.html"><IMG ALIGN=BOTTOM ALT="index" SRC="index_motif.gif"></A> <BR>
<B> Next:</B> <A NAME=tex2html4442 HREF="node209.html">5.3.2.1 Your network configuration</A>
<B>Up:</B> <A NAME=tex2html4440 HREF="node206.html">5.3 Networking with TCP/IP</A>
<B> Previous:</B> <A NAME=tex2html4434 HREF="node207.html">5.3.1 Hardware Requirements</A>
<BR> <HR> <P>
<H2><A NAME=SECTION00732000000000000000>5.3.2 Configuring TCP/IP on your system</A></H2>
<P>
<A NAME=5719>&#160;</A>
In this section we're going to discuss how to configure an Ethernet
TCP/IP connection on your system. Note that this method should work for
many systems, but certainly not all. This discussion should be enough
to get you on the right path to configuring the network parameters of
your machine, but there are numerous caveats and fine details not mentioned
here. We direct you to the <em>Linux Network Administrators' Guide</em>
and the NET-2-HOWTO for more information.<A NAME=tex2html947 HREF="footnode.html#5721"><IMG ALIGN=BOTTOM ALT="gif" SRC="foot_motif.gif"></A>
<P>
First of all, we assume that you have a Linux system that has the TCP/IP
software installed. This includes basic clients such as <tt>telnet</tt>
and <tt>ftp</tt>, system administration commands such as <tt>ifconfig</tt>
and <tt>route</tt> (usually found in <tt>/etc</tt>), and networking configuration
files (such as <tt>/etc/hosts</tt>). The other Linux-related networking
documents described above explain how to go about installing the
Linux networking software if you do not have it already.
<P>
We also assume that your kernel has been configured and compiled with
TCP/IP support enabled. See Section <A HREF="node179.html#secsysadmupgrade">4.7</A> for information
on compiling your kernel. To enable networking, you must answer ``yes'' to the
appropriate questions during the <tt>make config</tt> step, and rebuild the
kernel.
<P>
Once this has been done, you must modify a number of configuration
files used by NET-2. For the most part this is a simple procedure.
Unfortunately, however, there is wide disagreement between Linux
distributions as to where the various TCP/IP configuration files
and support programs should go. Much of the time, they can be found
in <tt>/etc</tt>, but in other cases may be found in <tt>/usr/etc</tt>,
<tt>/usr/etc/inet</tt>, or other bizarre locations. In the worst case
you'll have to use the <tt>find</tt> command to locate the files on your
system. Also note that not all distributions keep the NET-2 configuration
files and software in the same location---they may be spread across
several directories.
<P>
The following information applies primarily to Ethernet connections.
If you're planning to use SLIP, read this section to understand the
concepts, and follow the SLIP-specific instructions in the following
section.
<P>
<BR> <HR>
<UL>
<LI> <A NAME=tex2html4445 HREF="node209.html#SECTION00732100000000000000">5.3.2.1 Your network configuration</A>
<LI> <A NAME=tex2html4446 HREF="node210.html#SECTION00732200000000000000">5.3.2.2 The networking rc files</A>
<LI> <A NAME=tex2html4447 HREF="node211.html#SECTION00732300000000000000">5.3.2.3 /etc/hosts</A>
<LI> <A NAME=tex2html4448 HREF="node212.html#SECTION00732400000000000000">5.3.2.4 /etc/networks</A>
<LI> <A NAME=tex2html4449 HREF="node213.html#SECTION00732500000000000000">5.3.2.5 /etc/host.conf</A>
<LI> <A NAME=tex2html4450 HREF="node214.html#SECTION00732600000000000000">5.3.2.6 /etc/resolv.conf</A>
<LI> <A NAME=tex2html4451 HREF="node215.html#SECTION00732700000000000000">5.3.2.7 Setting your hostname</A>
<LI> <A NAME=tex2html4452 HREF="node216.html#SECTION00732800000000000000">5.3.2.8 Trying it out</A>
</UL>
<BR> <HR><A NAME=tex2html4441 HREF="node209.html"><IMG ALIGN=BOTTOM ALT="next" SRC="next_motif.gif"></A> <A NAME=tex2html4439 HREF="node206.html"><IMG ALIGN=BOTTOM ALT="up" SRC="up_motif.gif"></A> <A NAME=tex2html4433 HREF="node207.html"><IMG ALIGN=BOTTOM ALT="previous" SRC="previous_motif.gif"></A> <A NAME=tex2html4443 HREF="node1.html"><IMG ALIGN=BOTTOM ALT="contents" SRC="contents_motif.gif"></A> <A NAME=tex2html4444 HREF="node250.html"><IMG ALIGN=BOTTOM ALT="index" SRC="index_motif.gif"></A> <BR>
<B> Next:</B> <A NAME=tex2html4442 HREF="node209.html">5.3.2.1 Your network configuration</A>
<B>Up:</B> <A NAME=tex2html4440 HREF="node206.html">5.3 Networking with TCP/IP</A>
<B> Previous:</B> <A NAME=tex2html4434 HREF="node207.html">5.3.1 Hardware Requirements</A>
<BR> <HR> <P>
<BR> <HR>
<P><ADDRESS>
<I>Matt Welsh <BR>
mdw@sunsite.unc.edu</I>
</ADDRESS>
</BODY>