Return to InfoBlast Home

Understanding PPP and PPP Authentication


PPP Components
    The PPP Model
PPP Session Establishment Phases
    Link Establishment Phase
    Authentication Phase (optional)
        Password Authentication Protocol
        Challenge Handshake Authentication Protocol
    Network-layer Protocol Phase
    A Typical PPP Session

The Point-to-Point Protocol (PPP) provides a method for transmitting datagrams over serial point-to-point links. The PPP Protocol, itself, is outlined in RFC 1661. There are several other IETF Request For Comment (RFC) papers that outline different aspects of PPP including PPP Authentication, IP/AppleTalk/IPX over PPP and even the PPP Multilink Protocol.


PPP has three main components:

  1. A method for encapsulating datagrams over serial links.
  2. A Link Control Protocol (LCP) for establishing, configuring, and testing the data-link connection.
  3. A family of Network Control Protocols (NCPs) for establishing and configuring different network-layer protocols.

In order to establish communications over a point-to-point link, each end of the PPP link must first send LCP packets to configure and test the data link. After the link has been established and optional facilities have been negotiated as needed by the LCP, PPP must send NCP packets to choose and configure one or more network-layer protocols. Once each of the chosen network-layer protocols has been configured, datagrams from each network-layer protocol can be sent over the link.

The link will remain configured for communications until explicit LCP or NCP packets close the link down, or until some external event occurs (an inactivity timer expires or network administrator intervention).

 
 

The PPP Model
Table 1.
Higher-Layer Protocols 
 
Network-Control Protocol (NCP) 

(specific to each Network-Layer Protocol) 

Examples are: 

BCP - Bridge Control Protocol 
IPCP - Internet Protocol Control Protocol 
IPXCP - Internetwork Packet Exchange Control Protocol 
 

Link-Control Protocol (LCP) 
 
High-Level Data Link Control (HDLC) 
 
Physical Layer (such as EIA-232, V.24, V.35) 
 

 



PPP session establishment also has three phases:

  1. Link establishment phase - In this phase, each Point-to-Point Protocol (PPP) device sends LCP packets to configure and test the data link. LCP packets contain a Configuration Option field that allows devices to negotiate on the use of options such as:
  2. If a Configuration Option is not included in the LCP packet, the default value for that Option is assumed.
     

  3. Authentication phase (optional) - The peer may be authenticated after the link has been established, using the authentication protocol decided on. If authentication is used, it must take place prior to starting the network-layer protocol phase.
  4. PPP supports two authentication protocols:
     
  5. Network-layer protocol phase - In this phase, the PPP devices send NCP packets to choose and configure one or more network layer protocols (such as IP, IPX, and AppleTalk). Once each of the chosen network-layer protocols has been configured, datagrams from each network-layer protocol can be sent over the PPP link.

 
The following is a diagram showing a typical PPP session.

   

Diagram 3.

All contents copyright © 1992--1999 Cisco Systems, Inc. Important Notices and Privacy Statement.