The TCP/IP Guide - Version 3.0 (Contents) ` 230 _ © 2001-2005 Charles M. Kozierok. All Rights Reserved.
messages are normally called frames. There are eleven different LCP frame types defined
in the main PPP document, which are divided into three groups that correspond to the three
link “life stages” above. Four LCP frame types are used for link configuration, five for
maintenance and two for termination. The frame formats themselves are described in the
topic on LCP frames. Below I will discuss each of the three major functions of LCP and how
the frames are used in each.
Key Concept: The PPP Link Control Protocol (LCP) is the most important protocol in
the PPP suite. It is responsible for configuring, maintaining and terminating the
overall PPP link. The two devices using PPP employ a set of LCP frames to conduct
LCP operations.
LCP Link Configuration
Link configuration is arguably the most important job that LCP does in PPP. During the Link
Establishment phase, LCP frames are exchanged that enable the two physically-connected
devices to negotiate the conditions under which the link will operate. Figure 27 shows the
entire procedure, which we will now examine in detail.
The process starts with the initiating device (let's call it device A, yeah, isn't that original)
creating a Configure-Request frame that contains a variable number of configuration
options that it wants to see set up on the link. This is basically device A's “wish list” for how
it wants the link created.
The main PPP document (RFC 1661) defines a number of different configuration options
that the initiator can specify in this request. Any one of these can be included and if so, filled
in with the value corresponding to what device A wants for that option. If absent, this means
device A is neither requesting nor specifying that option. The six options are:
☯ Maximum-Receive-Unit (MRU): Lets device A specify the maximum size datagram it
wants the link to be able to carry.
☯ Authentication-Protocol: Device A can indicate the type of authentication protocol it
wishes to use (if any).
☯ Quality-Protocol: If device A wants to enable quality monitoring on the link, what
protocol to use (though there is only one currently defined: LQR).
☯ Magic-Number: Used to detect looped back links or other anomalies in the
connection.
☯ Protocol-Field-Compression: Allows device A to specify that it wants to use
“compressed” (8 bit) Protocol fields in PPP data frames instead of the normal 16 bit
Protocol field. This provides a small but free savings (one byte) on each PPP frame.
Note that this has nothing to do with the compression feature offered by CCP. See the
PPP general frame format topic for more on this feature.
☯ Address-and-Control-Field-Compression (ACFC): The same as the option just
above but used to compress the Address and Control fields, again for small bandwidth
savings. Again, see the PPP general frame format topic for more.