The TCP/IP Guide - Version 3.0 (Contents) ` 233 _ © 2001-2005 Charles M. Kozierok. All Rights Reserved.
Relationship Between LCP and Other PPP Protocols
Note that many of the other protocols used in PPP are modeled after LCP. They use the
same basic techniques for establishing protocol connections, and send and receive a
subset of LCP message types. They also exchange configuration options in a similar
manner. The next topic shows how the Network Control Protocols (NCPs) are based on
LCP. You will see the same thing in looking at feature protocols such as CCP, ECP and
others.
PPP Network Control Protocols (IPCP, IPXCP, NBFCP and others)
One of the reasons why PPP is such a powerful technology is that it is flexible and
expandable. Even though it was originally created with the idea of carrying IP datagrams,
PPP's designers recognized that it would be short-sighted to think so narrowly. PPP could
easily carry data from many types of network layer protocols, and on some networks, it
might even be advantageous to let it carry datagrams from different layer three protocols
simultaneously.
Allowing PPP to support multiple network layer protocols would require it to have
knowledge of each one's idiosyncrasies. If we used only LCP for link configuration, it would
need to know all the unique requirements of each layer three protocol. This would also
require that LCP be constantly updated as new layer three protocols were defined and as
new parameters were defined for existing ones.
Instead of this inflexible design, PPP takes a “modular” approach to link establishment. LCP
performs the basic link setup, and after (optional) authentication, invokes a Network Control
Protocol (NCP) that is specific to each layer three protocol that is to be carried over the link.
The NCP conducts a negotiation of any parameters that are unique to the particular network
layer protocol. More than one NCP can be run for each LCP link; the process of how this is
done and the relationship between the NCP links and LCP link can be seen in the topic on
PPP link setup and phases.
Each of the common network layer technologies has a PPP NCP defined for it in a separate
RFC. These documents are usually named in this pattern: “The PPP <layer three protocol
name> Control Protocol”. The most common ones are The PPP Internet Protocol Control
Protocol (IPCP), The PPP Internetworking Packet Exchange Control Protocol (IPXCP), and
The PPP NetBIOS Frames Control Protocol (NBFCP)
. These are the NCPs for IP, IPX and
NBF (also called NetBEUI), respectively. A separate NCP is also defined for IP version 6,
the PPP IP Version 6 Control Protocol (IPv6CP).
Operation of PPP Network Control Protocols
Each NCP operates very much like a “lite” version of LCP, as you can see by examining
Figure 28 (and comparing it to Figure 26, which shows the messaging for LCP). Like LCP,
each NCP performs functions for link setup, maintenance and termination—only it deals
with its particular type of NCP link and not the “overall” LCP link. Each NCP uses a subset
of seven of the message types defined in LCP, and uses them in very much the same way
as the message type of the same name is used in LCP: