78 lines
4.6 KiB
HTML
78 lines
4.6 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.3.1 Static IP address SLIP connections using dip</TITLE>
|
|
</HEAD>
|
|
<BODY>
|
|
<meta name="description" value="5.3.3.1 Static IP address SLIP connections using dip">
|
|
<meta name="keywords" value="gs">
|
|
<meta name="resource-type" value="document">
|
|
<meta name="distribution" value="global">
|
|
<P>
|
|
<BR> <HR><A NAME=tex2html4570 HREF="node219.html"><IMG ALIGN=BOTTOM ALT="next" SRC="next_motif.gif"></A> <A NAME=tex2html4568 HREF="node217.html"><IMG ALIGN=BOTTOM ALT="up" SRC="up_motif.gif"></A> <A NAME=tex2html4562 HREF="node217.html"><IMG ALIGN=BOTTOM ALT="previous" SRC="previous_motif.gif"></A> <A NAME=tex2html4572 HREF="node1.html"><IMG ALIGN=BOTTOM ALT="contents" SRC="contents_motif.gif"></A> <A NAME=tex2html4573 HREF="node250.html"><IMG ALIGN=BOTTOM ALT="index" SRC="index_motif.gif"></A> <BR>
|
|
<B> Next:</B> <A NAME=tex2html4571 HREF="node219.html">5.3.3.2 Static IP address </A>
|
|
<B>Up:</B> <A NAME=tex2html4569 HREF="node217.html">5.3.3 SLIP Configuration</A>
|
|
<B> Previous:</B> <A NAME=tex2html4563 HREF="node217.html">5.3.3 SLIP Configuration</A>
|
|
<BR> <HR> <P>
|
|
<H3><A NAME=SECTION00733100000000000000>5.3.3.1 Static IP address SLIP connections using dip</A></H3>
|
|
<P>
|
|
<A NAME=secadvslipdip> </A>
|
|
<P>
|
|
<A NAME=6104> </A>
|
|
<A NAME=6105> </A>
|
|
<A NAME=6106> </A>
|
|
If you are using a static-allocation SLIP server, you may want to include
|
|
entries for your IP address and hostname in <tt>/etc/hosts</tt>.
|
|
Also, configure these files listed in the above section:
|
|
<tt>rc.inet2</tt>, <tt>host.conf</tt>, and <tt>resolv.conf</tt>.
|
|
<P>
|
|
Also, configure <tt>rc.inet1</tt>, as described above. However, you only want to
|
|
execute <tt>ifconfig</tt> and <tt>route</tt> commands for the loopback device.
|
|
If you use <tt>dip</tt> to connect to the SLIP server, it will execute
|
|
the appropriate <tt>ifconfig</tt> and <tt>route</tt> commands for the SLIP
|
|
device for you. (If you're using <tt>slattach</tt>, on the other hand, you
|
|
<em>will</em> need to include <tt>ifconfig</tt>/<tt>route</tt> commands in
|
|
<tt>rc.inet1</tt> for the SLIP device---see below.)
|
|
<P>
|
|
<tt>dip</tt> <em>should</em> configure your routing tables appropriately
|
|
for the SLIP connection when you connect. In some cases, however, <tt>dip</tt>'s
|
|
behavior may not be correct for your configuration, and you'll have to
|
|
run <tt>ifconfig</tt> or <tt>route</tt> commands by hand after connecting
|
|
to the server with <tt>dip</tt> (this is most easily done from within
|
|
a shell script that runs <tt>dip</tt> and immediately executes the
|
|
appropriate configuration commands). Your gateway is, in most cases,
|
|
the address of the SLIP server. You may know this address before hand,
|
|
or the gateway address will be printed by the SLIP server when you
|
|
connect. Your <tt>dip</tt> chat script (described below) can obtain this
|
|
information from the SLIP server.
|
|
<P>
|
|
<tt>ifconfig</tt> may require use of the <tt>pointopoint</tt> argument, if
|
|
<tt>dip</tt> doesn't configure the interface correctly. For example,
|
|
if your SLIP server address is 128.253.154.2, and your IP address
|
|
is 128.253.154.32, you may need to run the command
|
|
<P><TT> ifconfig sl0 128.253.154.32 pointopoint 128.253.154.2
|
|
<P></TT>
|
|
as <tt>root</tt>, after connecting with <tt>dip</tt>. The man pages for
|
|
<tt>ifconfig</tt> will come in handy.
|
|
<P>
|
|
<A NAME=5977> </A>
|
|
<A NAME=5978> </A>
|
|
Note that SLIP device names used with the <tt>ifconfig</tt> and <tt>route</tt>
|
|
commands are <tt>sl0</tt>, <tt>sl1</tt> and so on (as opposed
|
|
to <tt>eth0</tt>, <tt>eth1</tt>, etc. for Ethernet devices).
|
|
<P>
|
|
In Section <A HREF="node221.html#secadvusingdip">5.3.4</A>, below, we explain how to configure
|
|
<tt>dip</tt> to connect to the SLIP server.
|
|
<P>
|
|
<BR> <HR><A NAME=tex2html4570 HREF="node219.html"><IMG ALIGN=BOTTOM ALT="next" SRC="next_motif.gif"></A> <A NAME=tex2html4568 HREF="node217.html"><IMG ALIGN=BOTTOM ALT="up" SRC="up_motif.gif"></A> <A NAME=tex2html4562 HREF="node217.html"><IMG ALIGN=BOTTOM ALT="previous" SRC="previous_motif.gif"></A> <A NAME=tex2html4572 HREF="node1.html"><IMG ALIGN=BOTTOM ALT="contents" SRC="contents_motif.gif"></A> <A NAME=tex2html4573 HREF="node250.html"><IMG ALIGN=BOTTOM ALT="index" SRC="index_motif.gif"></A> <BR>
|
|
<B> Next:</B> <A NAME=tex2html4571 HREF="node219.html">5.3.3.2 Static IP address </A>
|
|
<B>Up:</B> <A NAME=tex2html4569 HREF="node217.html">5.3.3 SLIP Configuration</A>
|
|
<B> Previous:</B> <A NAME=tex2html4563 HREF="node217.html">5.3.3 SLIP Configuration</A>
|
|
<BR> <HR> <P>
|
|
<BR> <HR>
|
|
<P><ADDRESS>
|
|
<I>Matt Welsh <BR>
|
|
mdw@sunsite.unc.edu</I>
|
|
</ADDRESS>
|
|
</BODY>
|