| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
PPP General Control Protocol Frame Format and Option Format (Page 1 of 4) A general frame format is used for all of the many frame types defined in the PPP protocol suite. Within that format, the Information field carries either encapsulated layer-three user data, or encapsulated control messages. These control messages contain specific information that is used to configure, manage and discontinue PPP links, and to implement the various features that comprise PPP. As we saw in previous sections, there are many different PPP control protocols, which usually can be distinguished by the word Control appearing their names. These include the main PPP Link Control Protocol (LCP), a family of Network Control Protocols (NCPs) such as IPCP, IPXCP and so forth, and also control protocols for implementing features, such as CCP and ECP. The authentication protocols PAP and CHAP lack Control in the name but also fall into this category. The control protocols each use control messages in a slightly different way, but there is also a great deal of commonality between the messages in many of them. This is because, as I explained in the topics describing the PPP protocols, most of the control protocols such as the NCP family, CCP and ECP are implemented as subsets of the functionality of the Link Control Protocol. They perform many of the same functions, so the PPP designers wisely adapted the LCP messaging system for these other control protocols. This all means that control protocol frames have themselves a common format that fits within the overall general frame format in PPP. Even protocols like PAP and CHAP that aren't based on LCP use this general control frame format, which is described in Table 35.
This entire structure becomes the payload of a PPP frame, meaning that it fits into the Information field of a PPP frame, as shown in Figure 34. Thus, the Length field is equal in size to that of the Information field in the PPP frame. The Protocol field of a control frame is set to match the protocol that generated the control frame. For example, it would be 0xC021 for an LCP frame.
Home - Table Of Contents - Contact Us The TCP/IP Guide (http://www.TCPIPGuide.com) Version 3.0 - Version Date: September 20, 2005 © Copyright 2001-2005 Charles M. Kozierok. All Rights Reserved. Not responsible for any loss resulting from the use of this site. |