87 lines
4.0 KiB
HTML
87 lines
4.0 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
|
|
<!--Converted with LaTeX2HTML 96.1-c (Feb 29, 1996) by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds -->
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>Configuring TCP/IP Networking</TITLE>
|
|
</HEAD>
|
|
<BODY LANG="EN">
|
|
<A HREF="node1.html"><IMG WIDTH=65 HEIGHT=24 ALIGN=BOTTOM ALT="contents" SRC="contents_motif.gif"></A> <BR>
|
|
<B> Next:</B> <A HREF="node59.html">Setting up the proc </A>
|
|
<B>Up:</B> <A HREF="nag.html">The Network Administrators' Guide</A>
|
|
<B> Previous:</B> <A HREF="node57.html">Serial Hardware</A>
|
|
<BR> <P>
|
|
<H1><A NAME="SECTION007000000">Configuring TCP/IP Networking</A></H1>
|
|
<P>
|
|
<A NAME="iface"></A>
|
|
In this chapter, we will go through all the steps necessary to setting
|
|
up TCP/IP networking on your machine. Starting with the assignment of
|
|
IP-addresses, we will slowly work our way through the configuration of
|
|
TCP/IP network interfaces, and introduce a few tools that come quite
|
|
handy when hunting down problems with your network installation.
|
|
<P>
|
|
<A NAME="2518"></A>
|
|
<A NAME="2405"></A>
|
|
<A NAME="2406"></A>
|
|
<A NAME="2407"></A>
|
|
<A NAME="2519"></A>
|
|
<A NAME="2520"></A>
|
|
<P>
|
|
Most of the tasks covered in this chapter you will generally have to
|
|
do only once. Afterwards, you have to touch most configuration files
|
|
only when adding a new system to your network, or when you reconfigure
|
|
your system entirely. Some of the commands used to configure TCP/IP,
|
|
however, have to be executed each time the system is booted. This is
|
|
usually done by invoking them from the system /etc/rc scripts.
|
|
<P>
|
|
Commonly, the network-specific part of this procedure is contained
|
|
in a script called rc.net or rc.inet. Sometimes, you will
|
|
also see two scripts named rc.inet1 and rc.inet2, where the
|
|
former initializes the kernel part of networking, while the latter
|
|
starts basic networking services and applications. Throughout
|
|
the following, I will adhere to the latter concept.
|
|
<P>
|
|
Below, I will discuss the actions performed by rc.inet1, while
|
|
applications will be covered in later chapters. After finishing this
|
|
chapter, you should have established a sequence of commands that
|
|
properly configure TCP/IP networking on your computer. You should then
|
|
replace any sample commands in rc.inet1 with your commands, make
|
|
sure rc.inet1 is executed at startup time, and reboot your
|
|
machine. The networking rc scripts that come along with your
|
|
favorite distribution should give you a good example.
|
|
<P>
|
|
<BR> <HR>
|
|
<UL>
|
|
<LI> <A HREF="node59.html#SECTION007100000">Setting up the proc Filesystem</A>
|
|
<LI> <A HREF="node60.html#SECTION007200000">Installing the Binaries</A>
|
|
<LI> <A HREF="node61.html#SECTION007300000">Another Example</A>
|
|
<LI> <A HREF="node62.html#SECTION007400000">Setting the Hostname</A>
|
|
<LI> <A HREF="node63.html#SECTION007500000">Assigning IP-Addresses</A>
|
|
<LI> <A HREF="node64.html#SECTION007600000">Writing hosts and networks Files</A>
|
|
<LI> <A HREF="node65.html#SECTION007700000">Interface Configuration for IP</A>
|
|
<UL>
|
|
<LI> <A HREF="node66.html#SECTION007710000">The Loopback Interface</A>
|
|
<LI> <A HREF="node67.html#SECTION007720000">Ethernet Interfaces</A>
|
|
<LI> <A HREF="node68.html#SECTION007730000">Routing through a Gateway</A>
|
|
<LI> <A HREF="node69.html#SECTION007740000">Configuring a Gateway</A>
|
|
<LI> <A HREF="node70.html#SECTION007750000">The PLIP Interface</A>
|
|
<LI> <A HREF="node71.html#SECTION007760000">The SLIP and PPP Interface</A>
|
|
<LI> <A HREF="node72.html#SECTION007770000">The Dummy Interface</A>
|
|
</UL>
|
|
<LI> <A HREF="node73.html#SECTION007800000">All About ifconfig</A>
|
|
<LI> <A HREF="node74.html#SECTION007900000">Checking with netstat</A>
|
|
<UL>
|
|
<LI> <A HREF="node75.html#SECTION007910000">Displaying the Routing Table</A>
|
|
<LI> <A HREF="node76.html#SECTION007920000">Displaying Interface Statistics</A>
|
|
<LI> <A HREF="node77.html#SECTION007930000">Displaying Connections</A>
|
|
</UL>
|
|
<LI> <A HREF="node78.html#SECTION0071000000">Checking the ARP Tables</A>
|
|
<LI> <A HREF="node79.html#SECTION0071100000">The Future</A>
|
|
</UL>
|
|
<BR> <HR>
|
|
<P><ADDRESS>
|
|
<I>Andrew Anderson <BR>
|
|
Thu Mar 7 23:22:06 EST 1996</I>
|
|
</ADDRESS>
|
|
</BODY>
|
|
</HTML>
|