protocol – Programmerbay https://programmerbay.com A Tech Bay for Tech Savvy Tue, 20 Sep 2022 14:42:47 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.5 https://programmerbay.com/wp-content/uploads/2019/09/cropped-without-transparent-32x32.jpg protocol – Programmerbay https://programmerbay.com 32 32 Difference Between HDLC And PPP Protocol in Tabular Form https://programmerbay.com/difference-between-hdlc-and-ppp-protocol/ https://programmerbay.com/difference-between-hdlc-and-ppp-protocol/#respond Mon, 19 Sep 2022 09:37:16 +0000 https://www.programmerbay.com/?p=2631 In this article, we’ll be discussing HDLC & PPP data link protocols and the differences between them.

HDLC and PPP  protocols are the communication protocol responsible for transmitting information between nodes or points. It deals data in form of frames.

Both HDLC and PPP are the part of data link layer. The major difference between them is, HDLC refers to bit-oriented protocol, whereas, PPP is byte-oriented protocol.

Difference between High-level Data Link Control Protocol and Point-To-Point protocol

HDLCPPP
It stands for High-level Data Link Control protocolIt stands for Point-To-Point protocol
It is a Bit-oriented protocolIt is a Byte-oriented protocol
The HDLC protocol is only used for the synchronous mediaThe PPP protocol is used for both the asynchronous media as well as synchronous media
It is an older protocol as compared to PPP protocol so it does not provide any kind of authenticationIt is the newer protocol as compared to HDLC protocol which means that it does provide the authentication.
In this, the addressing is not dynamic which means that the addressing is purely static.
In this, the addressing is dynamic which makes it quite reliable than HDLC protocol.
As the HDLC protocol is a quite old school which purely signifies that it does not support non-cisco devices at all.The PPP protocol is relatively newer than the HDLC protocol which signifies that it does support the non-cisco devices.
It is more costlier than PPPIt is less costlier than HDLC

High-Level Data Link Control ( HDLC )

HDLC stands for High-level Data Link Control. HDLC is a type of WAN protocol which necessarily performs the encapsulation of data inside the data link layer. This is the type of encapsulation which changes the format of data and information.

Furthermore,it is used to exchange data between nodes. It transmits data in the form of frames over a network.

It allows the use of point to point and multipoint links. It provides two types of transfer modes that is:

  • Normal Response Mode (NRM): In this, station’s configuration is unbalanced. NRM involves a primary station that is capable of sending commands and multiple secondary station that can only response.
    • It can be used as point to point that includes one primary station and a secondary station that communicate with each other.
    • Other is, point to multi-point, it involves one primary station and multiple secondary stations that communicate with one other.

 

  •  Asynchronous Balanced Mode (ABM): In this, station’s configuration is balanced. It involves only point to point communication which means single primary station and a secondary station are the part of communication. The main difference is, every station can send and receive data.

Types of frames in HDLC

It generally supports three types of frames:

  •  Information frames or I frames
  •  Supervisory frames or S frames
  • Unnumbered frames or U frames

Frame format of HDLC

It consists 6 types of fields:

HDLC frame formate

  • Flag: It used to verify beginning and end of a frame. It serves synchronisation pattern for receiver
  • Address: It consists address of the receiving station
  • Control: It is used for error control and flow control
  • Payload :Contains users data
  • FCS: It stands for frame check sequence that is dedicated to error detection

 

Point to Point Protocol ( PPP )

PPP stands for Point-To-Point protocol. PPP is also a type of WAN protocol, which comes up with loads of advancements over the HDLC protocol. PPP protocol does not need any physical addresses or any tangible wires, only the IP address is sufficient.

It defines format of frames, connection establishment, data exchange process, Authentication process and more. However, it doesn’t support flow control, addressing mechanism and efficient error control

Frame format of PPP:

PPP Protocol format

  • Flag: used to verify beginning and end of a frame. It serves synchronisation pattern for receiver
  • Address: It consists address of the receiving station. A constant value is used to set the address field which is 11111111 that resembles broadcast address
  • Control: A constant value is used to set the field which is 11000000 . Since, flow control is not supported and PPP has very limited error control. Tberefore, it is generally not needed
  • Protocol : It decides the data that is going to transmit
  • Payload field :Contains users data
  • FCS: It stands for frame check sequence that is dedicated to error detection

]]>
https://programmerbay.com/difference-between-hdlc-and-ppp-protocol/feed/ 0