Jump to content

Link Control Protocol

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Juansempere (talk | contribs) at 13:39, 4 March 2007 (about lcp). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In computing, the Link Control Protocol (LCP) forms part of the PPP. In setting up PPP communications, both the sending and receiving devices send out LCP packets to determine specific information that the prospective data transmission will require. The LCP protocol:

  • checks the identity of the linked device and either accepts or rejects the peer device
  • determines the acceptable packet size for transmission
  • searches for errors in configuration
  • can terminate the link if requirements exceed the parameters

Devices cannot use PPP to transmit data over a network until the LCP packet determines the acceptability of the link, but LCP packets are embedded into PPP packets and therefore a basic PPP conection has to be stablished before LCP can reconfigure it. The LCP over PPP packets have control code 0xC021 and their info field contains the LCP packet, which has four fields. (Code, Id, Length, Data)

  • Code: Operation requested: configure link, terminate link, ... and acknowledge and deny codes.
  • data: Parameters for the operation