old-www/HOWTO/PPP-HOWTO/c44.html

252 lines
5.1 KiB
HTML

<HTML
><HEAD
><TITLE
>Introduction</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.52"><LINK
REL="HOME"
TITLE="Linux PPP HOWTO"
HREF="index.html"><LINK
REL="PREVIOUS"
TITLE="How can I help?"
HREF="c28.html"><LINK
REL="NEXT"
TITLE="Differences between Linux distributions"
HREF="x71.html"></HEAD
><BODY
CLASS="CHAPTER"
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"
><A
HREF="http://www.linuxports.com/howto/ppp"
TARGET="_top"
>Linux PPP HOWTO</A
></TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="c28.html"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="x71.html"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="CHAPTER"
><H1
><A
NAME="AEN44"
>Chapter 2. Introduction</A
></H1
><DIV
CLASS="TOC"
><DL
><DT
><B
>Table of Contents</B
></DT
><DT
>2.1. <A
HREF="c44.html#AEN52"
>Clients and Servers</A
></DT
><DT
>2.2. <A
HREF="x71.html"
>Differences between Linux distributions</A
></DT
><DT
>2.3. <A
HREF="x100.html"
>PPP configuration tools</A
></DT
></DL
></DIV
><P
>PPP (the Point to Point Protocol) is a mechanism for creating and
running IP (the Internet Protocol) and other network protocols over a
serial link - be that a direct serial connection (using a null-modem
cable), over a telnet established link, or a link made using modems and
telephone lines (and of course using digital lines such as ISDN).</P
><P
>Using PPP, you can connect your Linux PC to a PPP server and access the
resources of the network to which the server is connected (almost) as if
you were directly connected to that network.</P
><P
>You can also set up your Linux PC as a PPP server, so that other
computers can dial into your computer and access the resources on your
local PC and/or network.</P
><P
>As PPP is a peer-to-peer system, you can also use PPP on two Linux PCs
to link together two networks (or a local network to the Internet),
creating a Wide Area Network (WAN).</P
><P
>One major difference between serial based PPP and an Ethernet connection is of course
speed - a standard Ethernet connection operates at 10 Mbs (Mega - million bits
per second) or 100 Mbs maximum theoretical throughput, whereas an analogue modem
operates at speeds up to 56 kbps (kilo - thousand bits per second).</P
><P
>Also, depending on the type of PPP connection, there may be some
limitations in usage of some applications and services.</P
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="AEN52"
>2.1. Clients and Servers</A
></H1
><P
>PPP is strictly a <I
CLASS="EMPHASIS"
>peer to peer</I
> protocol; there is (technically) no
difference between the machine that dials in and the machine that is
dialed into. However, for clarity's sake, it is useful to think in terms
of <I
CLASS="EMPHASIS"
>servers</I
> and <I
CLASS="EMPHASIS"
>clients</I
>.</P
><P
>When you dial into a site to establish a PPP connection, you are a
<I
CLASS="EMPHASIS"
>client</I
>. The machine to which you connect is the <I
CLASS="EMPHASIS"
>server</I
>.</P
><P
>When you are setting up a Linux box to receive and handle dial-in PPP
connections, you are setting up a PPP <I
CLASS="EMPHASIS"
>server</I
>.</P
><P
>Any Linux PC can be both a PPP server and client - even
simultaneously if you have more than one serial port (and modem if
necessary). As stated above, there is no real difference between clients
and servers as far as PPP is concerned, once the connection is made.</P
><P
>This document refers to the machine that initiates the call (that dials
in) as the <I
CLASS="EMPHASIS"
>CLIENT</I
>, whilst the machine that answers the telephone,
checks the authentication of the dial in request (using user names,
passwords and possibly other mechanisms) is referred to as the
<I
CLASS="EMPHASIS"
>SERVER</I
>.</P
><P
>The use of PPP as a client to link one or more machines at a location
into the Internet is, probably, the one in which most people are
interested - that is using their Linux PC as a client.</P
><P
>The procedure described in this document will allow you to
establish and automate your Internet connection.</P
><P
>This document will also give you guidance in setting up your Linux PC as
a PPP <I
CLASS="EMPHASIS"
>server</I
> and in linking two LANs together (with full routing)
using PPP (this is frequently characterized as establishing a WAN - wide
area network - link).</P
></DIV
></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="c28.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="x71.html"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>How can I help?</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Differences between Linux distributions</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>