Pages

Subscribe:

Ads 468x60px

Monday 5 March 2012

Point-to-Point Protocol


The Point-to-Point protocol (PPP) originally emerged as an encapsulation protocol for transporting IP traffic over point-to-point links. PPP also established a standard for the assignment and management of IP address, synchronous (start/stop) and bit-oriented synchronous encapsulation, network protocol multiplexing, link configuration, link quality testing, error detection, and option negotiation for such capabilities as network layer address negotiation and data compression negotiation. PPP supports these functions by providing an extensible Link Control Program (LCP) and a family of Network Control Program (NCP) to negotiate optional configuration parameters and facilities. In addition to IP, PPP supports other protocols, including Novell's Internetwork Packet Exchange (IPX) and DECnet.

PPP Components

PPP provides a method for transmitting datagram over serial point-to-point links. PPP contains three main categories:Point to Point Protocol Point to Point Protocol
  • A method for encapsulating datagram over serial links. PPP uses the High Level Data Link Control (HDLC) protocol as a basis for encapsulating datagram over point-to-point links.
  • To set up LCP you should configure and test data link connection.
  • A family of NCP for establishing and configuring different network layer protocols. PPP is designed to permit the simultaneous utilize of numerous network layer protocols.

PPP Operation

To establish communications over a point-to-point link, the originating PPP first sends LCP frames to configure and test the data-link. After establishing link and negotiating optional facilities using LCP the original PPP will send NCP frames to choose and configure one or more network layer protocols. After configuring each network layer protocol packets of each network layer could be transferred and link will remain configured and packets could be sent over those links. Link will remain configured for communication till plain LCP or NCP frames closed and some external events occurred like inactivity timer expires or user intervenes.

Physical Layer Requirements

PPP is capable of operating across any DTE/DCE interface. Examples include EIA/TIA 232 C (formerly RS 232 C), EIA/TIA 422 (formerly RS 422), EIA/TIA 423 (formerly RS 423 (formerly RS 423) and International Telecommunication Union Telecommunication Standardization Sector (ITU-T) (formerly CCITT) V.35. PPC has absolute requirement is providing duplex circuit either dedicated or switched which could operate in either asynchronous or synchronous mode which is transparent to PPP link layer frames. However PPP do not impose any restrictions with respect to transmission rate rather than imposed for specific DTE/DCE interface in use.

PPP Link Layer

PPP uses the principles, terminology, and frame structure of the International Organization of Standardization (ISO) HDLC procedures (ISO 3309-1979), as modified by ISO 3309-948/PDADI "Addendum 1 Start/stop transmission. ISO 3309-1979 indicates HDLC frame structure to use in synchronous environments. ISO 3309:1984/PDADI specifies proposed modifications to ISO 3309-1979 to allow its use in asynchronous environments. PPP control procedures utilize the definitions and control field encodings identical in ISO 4335-1979/Addendum 1-1979.
The PPP frame format appears in six fields. The followings descriptions summarize the PPP frame fields:
  • Flag: A single byte that indicates the beginning or end of a frame. The flag field consists of the binary sequence 011111110.
  • Address: one single byte hold the binary series like 11111111, and standard broadcast address. PPP does not assign individual station addresses.
  • Control: one single byte which has the binary sequence 00000011, used for transmission of user data towards non sequence frame. A connectionless link service is parallel to that of Logical Link Control (LLC) Type 1 is provided.
  • Protocol: Two bytes that recognize the protocol summarized in the in order field of the frame. As a whole up to date principles of the protocol field are specified in the most current Assigned Numbers Request for Comments (RFC).
  • Data: Zero or more bytes that contains the datagram for the protocol specified in the protocol field is found by locating the closing flag sequence and allowing 2 bytes for the FCS field. Maximum Default length of the information playing field is 1,500 bytes. By preceding conformity, agreeable PPP implementations can utilize other values for the utmost information field extent.
  • Frame Check Sequence (FCS): Normally 16 bits (2 bytes). Following previous agreement, accepting PPP implementations would use a 32 bit (4 byte) FCS for better error detection.

PPP Link-Control Protocol

The PPP LCP provides a method of establishing, configuring, maintaining, and terminating the point-to-point protocol connection. LCP goes through four distinct phases:
  • First, link organization and configuration arbitration occurs. Before any network layer datagram (for example IP) can be exchanged, LCP first must open the connection and negotiate configuration parameters. This phase is complete when a configuration acknowledgement frame has been both sent and received.
  • This is followed by link quality determination. LCP allows elective link quality strength of mind phase following the link connection and arrangement arbitration phase. In this section, the link is experienced to decide whether the link value is enough to bring up network layer protocols. This phase is optional. LCP could setback transmission of network layer protocol information till this stage is completed.
  • Network layer protocol configuration could occur after LCP has finished that link quality determination phase and network layer protocols could be configured separately by good use of NCP and could be up and down at any time. While LCP select link it will tell network layer protocol to take necessary actions.
  • Finally, link termination occurs, LCP can terminate the link at any time. It frequently will be done at the request of a user but could occur since of a physical event, such as the loss of carrier or the ending of an idle era timer.
Three classes of LCP frames exist. Link establishment frames are used to set up and organize a link. Link break down frames are used to finish a link, while link preservation frames are used to control and debug a link.
These frames are mainly used to achieve the work of each of the LCP phases.


Related Articles
  1. PPP (Point-to-Point Protocol)
  2. Frame vs Packet
  3. Ethernet at the Data Link Layer
  4. MPLS (Multi Protocol Label Switching)
  5. ARP (Address Resolution Protocol)

0 comments:

Post a Comment