<chapter id="pppsvrconfig.p2plink-1"><title>Planning for the PPP Link (Tasks)</title><highlights><para>Setting up a PPP link involves
a set of discrete tasks, which includes
planning tasks and other activities
that are not related to PPP. This
chapter explains how to plan for the
most common PPP links, for authentication,
and for PPPoE. </para><para>The task chapters that follow <olink targetptr="pppsvrconfig.p2plink-1" remap="internal">Chapter&nbsp;16,
Planning for the PPP Link (Tasks)</olink> use
sample configurations to illustrate
how to set up a particular link. These
sample configurations are introduced
in this chapter.</para><itemizedlist><para>Topics that are covered include
the following:</para><listitem><para><olink targetptr="pppsvrconfig.p2plink-4" remap="internal">Planning
a Dial-up PPP Link</olink></para>
</listitem><listitem><para><olink targetptr="pppsvrconfig.p2plink-7" remap="internal">Planning
a Leased-Line Link</olink></para>
</listitem><listitem><para><olink targetptr="pppsvrconfig.p2plink-11" remap="internal">Planning
for Authentication on a Link</olink></para>
</listitem><listitem><para><olink targetptr="ppp.p2plink-25" remap="internal">Planning
for DSL Support Over a PPPoE Tunnel</olink></para>
</listitem>
</itemizedlist>
</highlights><sect1 id="ppp.p2plink-40"><title>Overall
PPP Planning (Task Map)</title><para>PPP requires planning
tasks before you actually can set
up the link. Moreover, if you want
to use a PPPoE tunneling, you first
have to set up the PPP link and then
provide tunneling. The following task
map lists the large planning tasks
that are discussed in this chapter.
You might need to use only the general
task for the link type to be configured.
Or you might require the task for
the link, authentication, and perhaps
PPPoE.</para><table frame="all" pgwide="100" id="ppp.p2plink-tbl-41"><title>Task
Map for PPP Planning</title><tgroup cols="3" colsep="1" rowsep="1"><colspec colwidth="27.02*"/><colspec colwidth="38.18*"/><colspec colwidth="33.81*"/><thead><row rowsep="1"><entry><para>Task</para>
</entry><entry><para>Description</para>
</entry><entry><para>For Instructions</para>
</entry>
</row>
</thead><tbody><row><entry><para>Plan for a dial-up PPP link</para>
</entry><entry><para>Gather information that is required
to set up a dial-out machine or a
dial-in server</para>
</entry><entry><para><olink targetptr="pppsvrconfig.p2plink-4" remap="internal">Planning
a Dial-up PPP Link</olink></para>
</entry>
</row><row><entry><para>Plan for a leased-line link</para>
</entry><entry><para>Gather information that is required
to set up a client on a leased line</para>
</entry><entry><para><olink targetptr="pppsvrconfig.p2plink-7" remap="internal">Planning
a Leased-Line Link</olink></para>
</entry>
</row><row><entry><para>Plan for authentication on the
PPP link</para>
</entry><entry><para>Gather information that is required
to configure PAP or CHAP authentication
on the PPP link</para>
</entry><entry><para><olink targetptr="pppsvrconfig.p2plink-11" remap="internal">Planning
for Authentication on a Link</olink></para>
</entry>
</row><row><entry><para>Plan for a PPPoE tunnel</para>
</entry><entry><para>Gather information that is required
to set up a PPPoE tunnel over which
a PPP link can run</para>
</entry><entry><para><olink targetptr="ppp.p2plink-25" remap="internal">Planning
for DSL Support Over a PPPoE Tunnel</olink></para>
</entry>
</row>
</tbody>
</tgroup>
</table>
</sect1><sect1 id="pppsvrconfig.p2plink-4"><title>Planning a Dial-up PPP Link</title><itemizedlist><para>Dial-up links are the
most commonly used PPP links. This
section includes the following information:</para><listitem><para>Planning information
for a dial-up link</para>
</listitem><listitem><para>Explanation of the
sample link to be used in <olink targetptr="pppsvrconfig.dialin-1" remap="internal">Chapter&nbsp;17,
Setting Up a Dial-up PPP Link (Tasks)</olink></para>
</listitem>
</itemizedlist><para>Typically, you only configure
the machine at one end of the dial-up
PPP link, the dial-out machine, or
the dial-in server. For an introduction
to dial-up PPP, refer to <olink targetptr="pppsvrconfig.intro-41" remap="internal">Dial-up
PPP Overview</olink>.</para><sect2 id="pppsvrconfig.p2plink-21"><title>Before You Set Up the Dial-out
Machine</title><para>Before you configure a
dial-out machine, gather the information
that is listed in the following table.</para><note><para>The planning information
in this section does not include information
to be gathered about authentication
or PPPoE. For details about authentication
planning, refer to <olink targetptr="pppsvrconfig.p2plink-11" remap="internal">Planning
for Authentication on a Link</olink>.
For PPPoE planning, refer to <olink targetptr="ppp.p2plink-25" remap="internal">Planning
for DSL Support Over a PPPoE Tunnel</olink>.</para>
</note><table frame="topbot" pgwide="100" id="pppsvrconfig.p2plink-tbl-9"><title>Information
for a Dial-out Machine</title><tgroup cols="2" colsep="0" rowsep="0"><colspec colname="colspec0" colwidth="48.48*"/><colspec colname="colspec1" colwidth="51.52*"/><thead><row rowsep="1"><entry><para>Information</para>
</entry><entry><para>Action</para>
</entry>
</row>
</thead><tbody><row><entry><para>Maximum modem speed</para>
</entry><entry><para>Refer to documentation that
was provided by the modem manufacturer.</para>
</entry>
</row><row><entry><para>Modem connection commands (AT
commands)</para>
</entry><entry><para>Refer to documentation that
was provided by the modem manufacturer.</para>
</entry>
</row><row><entry><para>Name to use for dial-in server
at the other end of the link</para>
</entry><entry><para>Create any name that helps you
identify the dial-in server.</para>
</entry>
</row><row><entry><para>Login sequence that was required
by dial-in server</para>
</entry><entry><para>Contact the dial-in server's
administrator or ISP documentation
if dial-in server is at the ISP.</para>
</entry>
</row>
</tbody>
</tgroup>
</table>
</sect2><sect2 id="ppp.p2plink-42"><title>Before
You Set Up the Dial-in Server</title><para>Before you configure a
dial-in server, gather the information
that is listed in the following table.</para><note><para>The planning information
in this section does not include information
to be gathered about authentication
or PPPoE. For details about authentication
planning, refer to <olink targetptr="pppsvrconfig.p2plink-11" remap="internal">Planning
for Authentication on a Link</olink>.
For PPPoE planning, refer to <olink targetptr="ppp.p2plink-25" remap="internal">Planning
for DSL Support Over a PPPoE Tunnel</olink>.</para>
</note><table frame="topbot" pgwide="100" id="pppsvrconfig.p2plink-tbl-10"><title>Information
for a Dial-in Server</title><tgroup cols="2" colsep="0" rowsep="0"><colspec colname="colspec2" colwidth="48.58*"/><colspec colname="colspec3" colwidth="51.42*"/><thead><row rowsep="1"><entry><para>Information</para>
</entry><entry><para>Action</para>
</entry>
</row>
</thead><tbody><row><entry><para>Maximum modem speed</para>
</entry><entry><para>Refer to documentation that
was provided by the modem manufacturer.</para>
</entry>
</row><row><entry><para>User names of people who are
permitted to call the dial-in server</para>
</entry><entry><para>Obtain the names of the prospective
users before you set up their home
directories, as discussed in <olink targetptr="ppp.dialin-10" remap="internal">How to Configure
Users of the Dial-in Server</olink>.</para>
</entry>
</row><row><entry><para>Dedicated IP address for PPP
communications</para>
</entry><entry><para>Obtain an address from the individual
at your company who is responsible
for delegating IP addresses. </para>
</entry>
</row>
</tbody>
</tgroup>
</table>
</sect2><sect2 id="pppsvrconfig.p2plink-22"><title>Example of a Configuration
for Dial-up PPP</title><para>The tasks to be introduced
in <olink targetptr="pppsvrconfig.dialin-1" remap="internal">Chapter&nbsp;17,
Setting Up a Dial-up PPP Link (Tasks)</olink> execute
a small company's requirement to let
employees work at home a few days
a week. Some employees require the
Solaris OS on their home machines.
These workers also need to log in
remotely to their work machines on
the corporate Intranet.</para><itemizedlist><para>The tasks set up a basic dial-up
link with the following features:</para><listitem><para>The <emphasis>dial-out</emphasis> 
machines are at the houses of employees
who need to call the corporate intranet.</para>
</listitem><listitem><para>The <emphasis>dial-in</emphasis> 
server is a machine on the corporate
intranet that is configured to receive
incoming calls from employees.</para>
</listitem><listitem><para>UNIX-style login is
used to authenticate the dial-out
machine. Stronger Solaris PPP 4.0
authentication methods are not required
by the company`s security policy.</para>
</listitem>
</itemizedlist><para>The next figure shows
the link that is set up in <olink targetptr="pppsvrconfig.dialin-1" remap="internal">Chapter&nbsp;17,
Setting Up a Dial-up PPP Link (Tasks)</olink>.</para><figure id="pppsvrconfig.p2plink-fig-1"><title>Sample Dial-up Link</title><mediaobject><imageobject><imagedata entityref="sample.dialup.link"/>
</imageobject><textobject><simpara>Figure shows
the sample link to be used in dial-up
tasks. The following context describes
the sample link.</simpara>
</textobject>
</mediaobject>
</figure><para>In this figure, a remote host
dials out through its modem over telephone
lines to Big Company's Intranet. Another
host is configured to dial out to
Big Company but currently is inactive.
The calls from remote users are answered
in the order received by the modem
that is attached to the dial-in server
at Big Company. A PPP connection is
established between the peers. The
dial-out machine can then remotely
log in to a host machine on the Intranet.</para>
</sect2><sect2 id="ppp.p2plink-46"><title>Where
to Go for More Information About Dial-up
PPP</title><itemizedlist><para>Refer to the following:</para><listitem><para>To set up a dial-out
machine, see <olink targetptr="ppp.dialin-tbl-13" remap="internal">Table
17&ndash;2</olink>.</para>
</listitem><listitem><para>To set up a dial-in
machine, see <olink targetptr="ppp.dialin-tbl-15" remap="internal">Table
17&ndash;3</olink>.</para>
</listitem><listitem><para>To get an overview
of dial-up links, see <olink targetptr="pppsvrconfig.intro-41" remap="internal">Dial-up
PPP Overview</olink>.</para>
</listitem><listitem><para>To get detailed information
about PPP files and commands, see <olink targetptr="pppsvrconfig.reference-65" remap="internal">Using
PPP Options in Files and on the Command
Line</olink>.</para>
</listitem>
</itemizedlist>
</sect2>
</sect1><sect1 id="pppsvrconfig.p2plink-7"><title>Planning a Leased-Line Link</title><para>Setting up a leased-line
link involves configuring the peer
at one end of a switched or unswitched
service that is leased from a provider.</para><itemizedlist><para>This section includes the following
information:</para><listitem><para>Planning information
for a leased-line link</para>
</listitem><listitem><para>Explanation of the
sample link that is shown in <olink targetptr="pppsvrconfig.p2plink-fig-7" remap="internal">Figure
16&ndash;2</olink></para>
</listitem>
</itemizedlist><para>For an introduction to leased-line
links, refer to <olink targetptr="pppsvrconfig.intro-300" remap="internal">Leased-Line
PPP Overview</olink>. For tasks about
setting up the leased line, see <olink targetptr="pppsvrconfig.leased-1" remap="internal">Chapter&nbsp;18,
Setting Up a Leased-Line PPP Link
(Tasks)</olink>.</para><sect2 id="pppsvrconfig.p2plink-5"><title>Before You Set Up the Leased-Line
Link</title><para>When your company rents a leased-line
link from a network provider, you
typically configure only the system
at your end of the link. The peer
at the other end of the link is maintained
by another administrator. This individual
might be a system administrator at
a remote location in your company
or a system administrator at an ISP.</para><sect3 id="ppp.p2plink-43"><title>Hardware
That Is Needed for a Leased-Line Link</title><itemizedlist><para>In addition to the link
media, your end of the link requires
the following hardware:</para><listitem><para>Synchronous interface
for your system</para>
</listitem><listitem><para>Synchronous unit (CSU/DSU) </para>
</listitem><listitem><para>Your system</para>
</listitem>
</itemizedlist><para>Some network providers include
a router, synchronous interface, and
a CSU/DSU as part of the customer
premises equipment (CPE). However,
necessary equipment varies, based
on the provider and any governmental
restrictions in your locale. The network
provider can give you information
about the unit that is needed, if
this equipment is not provided with
the leased line.</para>
</sect3><sect3 id="ppp.p2plink-44"><title>Information
to Be Gathered for the Leased-Line
Link</title><para>Before you configure the
local peer, you might need to gather
the items that are listed in the next
table.</para><table frame="topbot" pgwide="100" id="pppsvrconfig.p2plink-tbl-19"><title>Planning
for a Leased-Line Link</title><tgroup cols="2" colsep="0" rowsep="0"><colspec colname="colspec0" colwidth="48.48*"/><colspec colname="colspec1" colwidth="51.52*"/><thead><row rowsep="1"><entry><para>Information</para>
</entry><entry><para>Action</para>
</entry>
</row>
</thead><tbody><row><entry><para>Device name of the interface</para>
</entry><entry><para>Refer to the interface card
documentation.</para>
</entry>
</row><row><entry><para>Configuration instructions for
the synchronous interface card</para>
</entry><entry><para>Refer to the interface card
documentation. You need this information
to configure the HSI/P interface.
You might not need to configure other
types of interface cards.</para>
</entry>
</row><row><entry><para>(Optional) IP address of the
remote peer</para>
</entry><entry><para>Refer to the service provider
documentation. Alternatively, contact
the system administrator of the remote
peer. This information is needed only
if the IP address is not negotiated
between the two peers.</para>
</entry>
</row><row><entry><para>(Optional) Name of the remote
peer</para>
</entry><entry><para>Refer to the service provider
documentation. Alternatively, you
can contact the system administrator
of the remote peer. </para>
</entry>
</row><row><entry><para>(Optional) Speed of the link</para>
</entry><entry><para>Refer to the service provider
documentation. Alternatively, you
can contact the system administrator
of the remote peer. </para>
</entry>
</row><row><entry><para>(Optional) Compression that
is used by the remote peer</para>
</entry><entry><para>Refer to the service provider
documentation. Alternatively, you
can contact the system administrator
of the remote peer. </para>
</entry>
</row>
</tbody>
</tgroup>
</table>
</sect3>
</sect2><sect2 id="pppsvrconfig.p2plink-20"><title>Example of a Configuration
for a Leased-Line Link</title><para>The tasks in <olink targetptr="pppsvrconfig.leased-1" remap="internal">Chapter&nbsp;18,
Setting Up a Leased-Line PPP Link
(Tasks)</olink> show how to implement
the goal of a medium-sized organization
(LocalCorp) to provide Internet access
for its employees. Currently, the
employees' computers are connected
on a private corporate intranet.</para><para>LocalCorp requires speedy transactions
and access to the many resources on
the Internet. The organization signs
a contract with Far ISP, a service
provider, which allows LocalCorp to
set up its own leased line to Far
ISP. Then, LocalCorp leases a T1 line
from Phone East, a telephone company.
Phone East puts in the leased line
between LocalCorp and Far ISP. Then,
 Phone East  provides a CSU/DSU that
is already configured to LocalCorp.</para><para>The tasks set up a leased-line
link with the following characteristics.</para><itemizedlist><listitem><para>LocalCorp has set
up a system as a gateway router, which
forwards packets over the leased line
to hosts on the Internet.</para>
</listitem><listitem><para>Far ISP also has set
up a peer as a router to which leased
lines from customers are attached.</para>
</listitem>
</itemizedlist><figure id="pppsvrconfig.p2plink-fig-7"><title>Example of a Leased-Line Configuration</title><mediaobject><imageobject><imagedata entityref="leased-config.eps"/>
</imageobject><textobject><simpara>Figure shows
an example of a link to be used in
leased-line tasks. The following context
describes the sample link.</simpara>
</textobject>
</mediaobject>
</figure><para>In the figure, a router is set
up for PPP at LocalCorp. The  router
connects to the corporate Intranet
through its <command>hme0</command> interface.
The second connection is through the
machine's HSI/P interface (hihp1)
to the CSU/DSU digital unit. The CSU/DSU
then connects to the installed leased
line. The administrator at LocalCorp
configures the HSI/P interface and
PPP files. The administrator then
 types  <filename>/etc/init.d/pppd</filename> 
to initiate the link between LocalCorp
and Far ISP.<command></command></para>
</sect2><sect2 id="ppp.p2plink-45"><title>Where
to Go for More Information About Leased
Lines</title><itemizedlist><para>Refer to the following:</para><listitem><para><olink targetptr="pppsvrconfig.leased-1" remap="internal">Chapter&nbsp;18,
Setting Up a Leased-Line PPP Link
(Tasks)</olink></para>
</listitem><listitem><para><olink targetptr="pppsvrconfig.intro-300" remap="internal">Leased-Line
PPP Overview</olink></para>
</listitem>
</itemizedlist>
</sect2>
</sect1><sect1 id="pppsvrconfig.p2plink-11"><title>Planning for Authentication
on a Link</title><para>This section contains
planning information for providing
authentication on the PPP link. <olink targetptr="pppsvrconfig.auth-1" remap="internal">Chapter&nbsp;19,
Setting Up PPP Authentication (Tasks)</olink> contains
tasks for implementing PPP authentication
at your site.</para><para>PPP offers two types of authentication,
PAP, which is described in detail
in <olink targetptr="pppsvrconfig.intro-8" remap="internal">Password
Authentication Protocol (PAP)</olink> and
CHAP, which is described in <olink targetptr="pppsvrconfig.reference-21" remap="internal">Challenge-Handshake
Authentication Protocol (CHAP)</olink>.</para><para>Before you set up authentication
on a link, you must choose which authentication
protocol best meets your site's security
policy. Then, you set up the secrets
file and PPP configuration files for
the dial-in machines, or callers'
dial-out machines, or both types of
machines. For information about choosing
the appropriate authentication protocol
for your site, see <olink targetptr="pppsvrconfig.intro-13" remap="internal">Why
Use PPP Authentication?</olink>.</para><itemizedlist><para>This section includes the following
information:</para><listitem><para>Planning information
for both PAP and CHAP authentication</para>
</listitem><listitem><para>Explanations of the
sample authentication scenarios that
are shown in <olink targetptr="pppsvrconfig.p2plink-fig-20" remap="internal">Figure
16&ndash;3</olink> and <olink targetptr="pppsvrconfig.p2plink-fig-18" remap="internal">Figure
16&ndash;4</olink></para>
</listitem>
</itemizedlist><para>For tasks about setting up authentication,
see <olink targetptr="pppsvrconfig.auth-1" remap="internal">Chapter&nbsp;19,
Setting Up PPP Authentication (Tasks)</olink>.</para><sect2 id="pppsvrconfig.p2plink-111"><title>Before You Set Up PPP Authentication</title><para>Setting up authentication
at your site should be an integral
part of your overall PPP strategy.
Before implementing authentication,
you should assemble the hardware,
configure the software, and test the
link. </para><table frame="topbot" pgwide="100" id="pppsvrconfig.p2plink-tbl-16"><title>Prerequisites
Before Configuring Authentication</title><tgroup cols="2" colsep="0" rowsep="0"><colspec colwidth="45.71*"/><colspec colwidth="54.29*"/><thead><row rowsep="1"><entry><para>Information</para>
</entry><entry><para>For Instructions</para>
</entry>
</row>
</thead><tbody><row><entry><para>Tasks for configuring a dial-up
link</para>
</entry><entry><para><olink targetptr="pppsvrconfig.dialin-1" remap="internal">Chapter&nbsp;17,
Setting Up a Dial-up PPP Link (Tasks)</olink>.</para>
</entry>
</row><row><entry><para>Tasks for testing the link</para>
</entry><entry><para><olink targetptr="pppsvrconfig.troubleshoot-1" remap="internal">Chapter&nbsp;21,
Fixing Common PPP Problems (Tasks)</olink>.</para>
</entry>
</row><row><entry><para>Security requirements for your
site</para>
</entry><entry><para>Your corporate security policy.
If you do not have a policy, setting
up PPP authentication gives you an
opportunity to create a security policy.</para>
</entry>
</row><row><entry><para>Suggestions about whether to
use PAP or CHAP at your site</para>
</entry><entry><para><olink targetptr="pppsvrconfig.intro-13" remap="internal">Why
Use PPP Authentication?</olink>. For
more detailed information about these
protocols, refer to <olink targetptr="pppsvrconfig.reference-17" remap="internal">Authenticating
Callers on a Link</olink>.</para>
</entry>
</row>
</tbody>
</tgroup>
</table>
</sect2><sect2 id="pppsvrconfig.p2plink-15"><title>Examples of PPP Authentication
Configurations</title><para>This section contains
examples of authentication scenarios
to be used in the procedures in <olink targetptr="pppsvrconfig.auth-1" remap="internal">Chapter&nbsp;19,
Setting Up PPP Authentication (Tasks)</olink>.</para><itemizedlist><listitem><para><olink targetptr="pppsvrconfig.p2plink-220" remap="internal">Example
of a Configuration Using PAP Authentication</olink></para>
</listitem><listitem><para><olink targetptr="pppsvrconfig.p2plink-17" remap="internal">Example
of a Configuration Using CHAP Authentication</olink></para>
</listitem>
</itemizedlist><sect3 id="pppsvrconfig.p2plink-220"><title>Example of a Configuration
Using PAP Authentication</title><para>The tasks in <olink targetptr="pppsvrconfig.auth-2" remap="internal">Configuring
PAP Authentication</olink> show how
to set up PAP authentication over
the PPP link. The procedures use as
an example a PAP scenario that was
created for the fictitious &ldquo;Big
Company&rdquo; in <olink targetptr="pppsvrconfig.p2plink-22" remap="internal">Example
of a Configuration for Dial-up PPP</olink>.</para><para>Big Company wants to enable
its users to work from home. The system
administrators want a secure solution
for the serial lines to the dial-in
server. UNIX-style login that uses
the NIS password databases has served
Big Company's network well in the
past. The system administrators want
a UNIX-like authentication scheme
for calls that come in to the network
over the PPP link. So, the administrators
implement the following scenario that
uses PAP authentication.</para><figure id="pppsvrconfig.p2plink-fig-20"><title>Example of a PAP Authentication
Scenario (Working From Home)</title><mediaobject><imageobject><imagedata entityref="pap.config.ex"/>
</imageobject><textobject><simpara>The graphic shows
an example PAP authentication scenario
for tasks, as explained in the next
context.</simpara>
</textobject>
</mediaobject>
</figure><para>The system administrators create
a dedicated dial-in DMZ that is separated
from the rest of the corporate network
by a router. The term DMZ comes from
the military term &ldquo;demilitarized
zone.&rdquo; The DMZ is an isolated
network that is set up for security
purposes. The DMZ typically contains
resources that a company offers to
the public, such as web servers, anonymous
FTP servers, databases, and modem
servers. Network designers often place
the DMZ between a firewall and a company's
Internet connection.</para><para>The only occupants of the DMZ
that is pictured in <olink targetptr="pppsvrconfig.p2plink-fig-20" remap="internal">Figure
16&ndash;3</olink> are the dial-in
server <literal>myserver</literal> and
the router. The dial-in server requires
callers to provide PAP credentials,
including user names and passwords,
when setting up the link. Furthermore,
the dial-in server uses the <command>login</command> option of PAP. Therefore,
the callers' PAP user names and passwords
must correspond exactly to their UNIX
user names and passwords in the dial-in
server's password database. </para><para>After the PPP link is established,
the caller's packets are forwarded
to the router. The router forwards
the transmission to its destination
on the corporate network or on the
Internet.</para>
</sect3><sect3 id="pppsvrconfig.p2plink-17"><title>Example of a Configuration
Using CHAP Authentication</title><para>The tasks in <olink targetptr="pppsvrconfig.auth-5" remap="internal">Configuring
CHAP Authentication</olink> show how
to set up CHAP authentication. The
procedures use as an example a CHAP
scenario to be created for the fictitious
LocalCorp that was introduced in <olink targetptr="pppsvrconfig.p2plink-20" remap="internal">Example
of a Configuration for a Leased-Line
Link</olink>.</para><para>LocalCorp provides connectivity
to the Internet over a leased line
to an ISP. The Technical Support department
within LocalCorp generates heavy network
traffic. Therefore, Technical Support
requires its own, isolated private
network. The department's field technicians
travel extensively and need to access
the Technical Support network from
remote locations for problem-solving
information. To protect sensitive
information in the private network's
database, remote callers must be authenticated
in order to be  granted permission
to log in.</para><para>Therefore, the system
administrators implement the following
CHAP authentication scenario for a
dial-up PPP configuration.</para><figure id="pppsvrconfig.p2plink-fig-18"><title>Example of a CHAP Authentication
Scenario (Calling a Private Network)</title><mediaobject><imageobject><imagedata entityref="chap.config.ex"/>
</imageobject><textobject><simpara>The graphic shows
an example CHAP authentication scenario
for tasks, as explained in the previous
and following context.</simpara>
</textobject>
</mediaobject>
</figure><para>The only link from the Technical
Support  network to the outside world
is the serial line to the dial-in
server's end of the  link. The system
administrators configure the laptop
computer of each field service representative
for PPP with CHAP security, including
a CHAP secret. The chap-secrets database
on the dial-in server contains the
CHAP credentials for all machines
that are allowed to call in to the
Technical Support network.</para>
</sect3>
</sect2><sect2 id="ppp.p2plink-36"><title>Where
to Go for More Information About Authentication</title><itemizedlist><para>Choose from the following:</para><listitem><para>See <olink targetptr="pppsvrconfig.auth-2" remap="internal">Configuring
PAP Authentication</olink>.</para>
</listitem><listitem><para>See <olink targetptr="pppsvrconfig.auth-5" remap="internal">Configuring
CHAP Authentication</olink>.</para>
</listitem><listitem><para>See <olink targetptr="pppsvrconfig.reference-17" remap="internal">Authenticating
Callers on a Link</olink> and the <olink targetdoc="refman1m" targetptr="pppd-1m" remap="external"><citerefentry><refentrytitle>pppd</refentrytitle><manvolnum>1M</manvolnum></citerefentry></olink> man
page.</para>
</listitem>
</itemizedlist>
</sect2>
</sect1><sect1 id="ppp.p2plink-25"><title>Planning
for DSL Support Over a PPPoE Tunnel</title><para>Some DSL providers require you
to set up PPPoE tunneling for your
site in order to run PPP over the
providers' DSL lines and high-speed
digital networks. For an overview
of PPPoE, see <olink targetptr="ppp.intro-19" remap="internal">Support for
DSL Users Through PPPoE</olink>. </para><para>A PPPoE tunnel involves three
participants: a consumer, a telephone
company, and an ISP. You either configure
PPPoE for consumers, such as PPPoE
clients at your company or consumers
in their homes, or you configure PPPoE
on a server at an ISP. </para><itemizedlist><para>This section contains
planning information for running PPPoE
on both clients and access servers.
The following topics are covered:</para><listitem><para>Planning information
for the PPPoE host and access server</para>
</listitem><listitem><para>Explanation of the
PPPoE scenario that is introduced
in <olink targetptr="ppp.p2plink-28" remap="internal">Example
of a Configuration for a PPPoE Tunnel</olink></para>
</listitem>
</itemizedlist><para>For tasks about setting up a
PPPoE tunnel, see <olink targetptr="ppp.pppoe-1" remap="internal">Chapter&nbsp;20,
Setting Up a PPPoE Tunnel (Tasks)</olink>.</para><sect2 id="ppp.p2plink-26"><title>Before
You Set Up a PPPoE Tunnel</title><para>Your preconfiguration activities
depend on whether you configure the
client side or server side of the
tunnel. In either instance, you or
your organization must contract with
a telephone company. The telephone
company provides the DSL lines for
clients, and some form of bridging
and possibly an ATM pipe for access
servers. In most contracts, the telephone
company assembles its equipment at
your site.</para><sect3 id="ppp.p2plink-30"><title>Before
Configuring a PPPoE Client</title><itemizedlist><para>PPPoE client implementations
usually consist of the following equipment:</para><listitem><para>Personal computer
or other system that is used by an
individual</para>
</listitem><listitem><para>DSL modem, which is
usually installed by the telephone
company or Internet access provider</para>
</listitem><listitem><para>(Optional) A hub,
if more than one client is involved,
as is true for corporate DSL consumers</para>
</listitem><listitem><para>(Optional) A splitter,
usually installed by the provider</para>
</listitem>
</itemizedlist><para>Many different DSL configurations
are possible, which depend on the
user or corporation's needs and the
services that are offered by the provider.</para><table frame="topbot" pgwide="100" id="ppp.p2plink-tbl-31"><title>Planning
for PPPoE Clients</title><tgroup cols="2" colsep="0" rowsep="0"><colspec colname="colspec0" colwidth="46.86*"/><colspec colname="colspec1" colwidth="53.14*"/><thead><row rowsep="1"><entry><para>Information</para>
</entry><entry><para>Action</para>
</entry>
</row>
</thead><tbody><row><entry><para>If setting up a home PPPoE client
for an individual or yourself, get
any setup information that is outside
the scope of PPPoE.</para>
</entry><entry><para>Ask the telephone company or
ISP for any required setup procedures.</para>
</entry>
</row><row><entry><para>If setting up PPPoE clients
at a corporate site, gather the names
of users who are being assigned PPPoE
client systems. If you configure remote
PPPoE clients, you might be responsible
for giving users information about
adding home DSL equipment.</para>
</entry><entry><para>Ask management at your company
for a list of authorized users.</para>
</entry>
</row><row><entry><para>Find out which interfaces are
available on the PPPoE client.</para>
</entry><entry><para>Run the <command>ifconfig -a</command> command
on each machine for interface names.</para>
</entry>
</row><row><entry><para>(Optional) Obtain the password
for the PPPoE client.</para>
</entry><entry><para>Ask users for their preferred
passwords. Or, assign passwords to
the users. Note that this password
is used for link authentication, not
for UNIX login.</para>
</entry>
</row>
</tbody>
</tgroup>
</table>
</sect3><sect3 id="ppp.p2plink-32"><title>Before
Configuring a PPPoE Server</title><para>Planning for a PPPoE access
server involves working with the telephone
company that provides your connection
to its data service network. The telephone
company installs its lines, often
ATM pipes, at your site, and provides
some sort of bridging into your access
server. You need to configure the
Ethernet interfaces that access the
services that your company provides.
For example, you need to configure
interfaces for Internet access, as
well as the Ethernet interfaces from
the telephone company's bridge.</para><table frame="topbot" pgwide="100" id="ppp.p2plink-tbl-33"><title>Planning
for a PPPoE Access Server</title><tgroup cols="2" colsep="0" rowsep="0"><colspec colwidth="46.30*"/><colspec colwidth="53.70*"/><thead><row rowsep="1"><entry><para>Information</para>
</entry><entry><para>Action</para>
</entry>
</row>
</thead><tbody><row><entry><para>Interfaces that are used for
lines from data service network</para>
</entry><entry><para>Run the <command>ifconfig -a</command> command
to identify interfaces.</para>
</entry>
</row><row><entry><para>Types of services to provide
from the PPPoE server</para>
</entry><entry><para>Ask management and network planners
for their requirements and suggestions.</para>
</entry>
</row><row><entry><para>(Optional) Types of services
to provide to the consumers</para>
</entry><entry><para>Ask management and network planners
for their requirements and suggestions.</para>
</entry>
</row><row><entry><para>(Optional) Host names and passwords
for remote clients</para>
</entry><entry><para>Ask network planners and other
individuals at your site who are responsible
for contract negotiations. The host
names and passwords are used for PAP
or CHAP authentication, not for UNIX
login.</para>
</entry>
</row>
</tbody>
</tgroup>
</table>
</sect3>
</sect2><sect2 id="ppp.p2plink-28"><title>Example
of a Configuration for a PPPoE Tunnel</title><para>This section contains
an example of a PPPoE tunnel, which
is used as an illustration for the
tasks in <olink targetptr="ppp.pppoe-1" remap="internal">Chapter&nbsp;20,
Setting Up a PPPoE Tunnel (Tasks)</olink>.
Though the illustration shows all
participants in the tunnel, you only
administer one end, either the client
side or server side.</para><figure id="ppp.p2plink-fig-38"><title>Example
of a PPPoE Tunnel</title><mediaobject><imageobject><imagedata entityref="pppoe-configuration"/>
</imageobject><textobject><simpara>The graphic shows
an example of a PPPoE tunnel to be
used in tasks, as explained in the
next context.</simpara>
</textobject>
</mediaobject>
</figure><para>In the sample, MiddleCo wants
to provide its employees with high-speed
Internet access. MiddleCo buys a DSL
package from Phone East, which, in
turn, contracts with service provider
Far ISP. Far ISP offers Internet and
other IP services to customers who
buy DSL from Phone East.</para><sect3 id="ppp.p2plink-34"><title>Example
of a PPPoE Client Configuration</title><para>MiddleCo buys a package from
Phone East that provides one DSL line
for the site. The package includes
a dedicated, authenticated connection
to the ISP for MiddleCo's PPPoE clients.
The system administrator cables the
prospective PPPoE clients to a hub.
Technicians from Phone East cable
the hub to their DSL equipment.</para>
</sect3><sect3 id="ppp.p2plink-35"><title>Example
of a PPPoE Server Configuration</title><itemizedlist><para>To implement the business
arrangement FarISP has with Phone
East, the system administrator at
FarISP configures the access server <command>dslserve</command>. This server has
the following four interfaces:</para><listitem><para><literal>eri0</literal> &ndash;
Primary network interface that connects
to the local network</para>
</listitem><listitem><para><literal>hme0</literal> &ndash;
Interface through which FarISP provides
Internet service for its customers</para>
</listitem><listitem><para><literal>hme1</literal> &ndash;
Interface contracted by MiddleCo for
authenticated PPPoE tunnels</para>
</listitem><listitem><para><literal>hme2</literal> &ndash;
Interface contracted by other customers
for their PPPoE tunnels</para>
</listitem>
</itemizedlist>
</sect3>
</sect2><sect2 id="ppp.p2plink-37"><title>Where
to Get More Information About PPPoE</title><itemizedlist><para>Choose from the following:</para><listitem><para>See <olink targetptr="ppp.pppoe-2" remap="internal">Setting Up
the PPPoE Client</olink>.</para>
</listitem><listitem><para>See <olink targetptr="ppp.pppoe-5" remap="internal">Setting Up
a PPPoE Access Server</olink>.</para>
</listitem><listitem><para>See <olink targetptr="ppp.reference-45" remap="internal">Creating
PPPoE Tunnels for DSL Support</olink>,
and the <olink targetdoc="refman1m" targetptr="pppoed-1m" remap="external"><citerefentry><refentrytitle>pppoed</refentrytitle><manvolnum>1M</manvolnum></citerefentry></olink>, <olink targetdoc="refman1m" targetptr="pppoec-1m" remap="external"><citerefentry><refentrytitle>pppoec</refentrytitle><manvolnum>1M</manvolnum></citerefentry></olink>,
and <olink targetdoc="refman1m" targetptr="sppptun-1m" remap="external"><citerefentry><refentrytitle>sppptun</refentrytitle><manvolnum>1M</manvolnum></citerefentry></olink> man
pages.</para>
</listitem>
</itemizedlist>
</sect2>
</sect1>
</chapter>