The TCP/IP Guide - Version 3.0 (Contents) ` 264 _ © 2001-2005 Charles M. Kozierok. All Rights Reserved.
Summary of PPP Control Message Formatting
Well now… My intention in this topic was to show you the general format used for the
different control protocols since they are so similar and I don't have the time or space to
describe each protocol's frames individually. I concede that this may have ended up being
more confusing than enlightening, since it may be difficult to see how PPP moves from the
general to the specific in its formatting. If it will help, here's a quick summary:
1. The PPP general frame format is used for all frames, including all control frames. Its
Information field contains the payload, which carries the entire control message within
it for control frames.
2. The control frame is structured using the general format I gave at the start of this topic.
The Code value indicates the type of control frame for each control protocol. The Data
field is variable in length, and contains data for that control frame, which in some cases
may include one or more configuration options.
3. For configuration control frames like Configure-Request and Configure-Ack, the Data
field contains an encapsulated set of options using the general structure in the second
table in this topic. Each option has its own Data subfield that contains data specific to
that option.
To help make this more clear, the next two topics provide more specific examples of frame
formats for LCP and the authentication protocols.
PPP Link Control Protocol (LCP) Frame Formats
The previous topic described the general format used by the various protocols in PPP that
exchange control messages. Of the many control protocols in PPP, the Link Control
Protocol (LCP) is the most important, as it is responsible for basic PPP link setup and
operation. It is also the protocol used as a “template” for many of the other control
protocols.
Since it is so central to PPP, and since many of the other protocols use a similar messaging
system, I want to make the general frame format seen in the previous page more “concrete”
by showing the specific frame formats used for each of the LCP control frames. There are
thirteen different ones, however, and since they have many fields in common, I didn't want
to put here thirteen tables all of which look almost the same.
Figure 36: PPP Control Message Option Format
Each option that appears in any of the many PPP control message types consists of this triplet of Type,
Length and Data.
4 8 12 16 20 24 28 320
Type Length
Option Data