FIT – Monash University High-Level Data Link Control

Slides:



Advertisements
Similar presentations
William Stallings Data and Computer Communications 7th Edition
Advertisements

Telecommunication Technologies
Data Link Protocols(HDLC & PPP). Data Link Protocols The set of specifications used to implement the DLL. DLL Protocols Synchronous Protocols Character-oriented.
HIGH-LEVEL DATA LINK CONTROL (HDLC) HDLC was defined by ISO for use on both point-to-point and multipoint data links. It supports full-duplex communication.
Chapter 14: Data Link Control
William Stallings Data and Computer Communications 7th Edition
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 7 – Data Link Control Protocols.
CEG3185 TUT6 Prepared by Zhenxia Zhang Revisited by Jiying Zhao.
LOCAL AREA NETWORKS. LOGICAL LINK CONTROL LLC is concerned with the transmission of a link- level PDU (Protocol Data Unit)between two stations Addressing.
Data and Computer Communications Updated: 2/9/2009.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 11 Data Link Control and Protocols.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Data Link Control Slide 1 Data Link Control Chapter 7.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 7 – Data Link Control Protocols.
Piggybacking A method to combine a data frame with ACK. Station A and B both have data to send. Instead of sending separately, station A sends a data frame.
11-6 HDLC High-level Data Link Control (HDLC) is a bit-oriented protocol for communication over point-to-point and multipoint links. It implements the.
Two Protocol Case Studies HDLC & Kermit. HDLC A multi-functional protocol. Works in lots of modes. Forms the basis for MANY of the current protocols in.
Data Link Control Protocols Data link control protocol Provides a layer of control between systems on a transmission medium referred to as data link. DLC.
11-6 HDLC High-level Data Link Control (HDLC) is a bit-oriented protocol for communication over point-to-point and multipoint links. It implements the.
William Stallings Data and Computer Communications 7 th Edition Chapter 7 Data Link Control Protocols.
Chapter 9: Data Link Control Business Data Communications, 4e.
Semester Copyright USM EEE442 Computer Networks The Data Link / Network Layer Functions: Flow Control and Error Control En. Mohd Nazri Mahmud.
FLAG-8 bit sequence with a bit pattern (7E) ADDRESS-address of secondary station that is either the originator or destination of the frame (or.
Example Data Link Protocols Quick review Reference Models? Layers? Flow Control? Bit stuffing? Connection Oriented? Synchronous transmission?
Data Link Protocols Asynchronous Protocols Synchronous Protocols
Gursharan Singh Tatla DATA LINK PROTOCOLS 24-Mar
HDLC and PPP. The Data Link Layer in the Internet A home personal computer acting as an internet host. Technology like Ethernet cannot provide “high-level”
MODULE I NETWORKING CONCEPTS.
Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P.
Data and Computer Communications Eighth & Ninth Edition by William Stallings Chapter 7 – Data Link Control Protocols.
Data Link Control Protocols Dr. Muazzam A. Khan. Flow Control Ensuring the sending entity does not overwhelm the receiving entity —Preventing buffer overflow.
Aegis School of Telecommunication Chapter 7 Data Link Control Protocols Telecom Systems I by Dr. M. G. Sharma, Phd.
William Stallings Data and Computer Communications 7th Edition
Data and Computer Communications Ninth Edition by William Stallings Chapter 7 – Data Link Control Protocols Data and Computer Communications, Ninth Edition.
Data and Computer Communications Tenth Edition by William Stallings Data and Computer Communications, Tenth Edition by William Stallings, (c) Pearson Education.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Data Link Control and Protocols.
1 Kyung Hee University Data Link Protocols. 2 Kyung Hee University 11 장 Data Link Control and Protocols 11.1 Flow and Error Control 11.2 Stop-and-Wait.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 11 Data Link Control and Protocols.
Chapter 11 Data Link Protocols A data link protocol is a set of specifications used to implement the data link layer [A protocol is the set of rules or.
Chapter 11 Data Link Control
Data Link Layer: Data Link Control : Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D.
DATA LINK CONTROL PROTOCOLS. 2 Introduction Data link control layer – often abbreviated simply to data link layer – is concerned with the transfer of.
CIS : Data Link Control. Flow Control Ensuring the sending entity does not overwhelm the receiving entity —Preventing buffer overflow Transmission.
Data Link Protocols ผศ.ดร. อนันต์ ผลเพิ่ม
1 Reliable stream service--TCP 1.TCP accepts byte stream, segments 2.It is over IP, so out-of-sequence is very common --lost or error frame results in.
EEC4113 Data Communication & Multimedia System Chapter 4: Flow Control by Muhazam Mustapha, October 2011.
Chapter 11 Data Link Control and Protocols Flow and Error Control Flow Control Error Control.
Data and Computer Communications Data Link Control Protocols.
11.1 Chapter 11 Data Link Control Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 9: Data Link Control Business Data Communications, 4e.
Data and Computer Communications Data Link Control Protocols.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 11 Data Link Control and Protocols 1.
Data Communications Data Link Layer.
Data Link Control Protocols  need layer of logic above Physical  to manage exchange of data over a link frame synchronization frame synchronization flow.
High level Data Link Layer Protocol - HDLC
HDLC and PPP.
William Stallings Data and Computer Communications 7th Edition
Chapter 11 Data Link Control and Protocols
Chapter 11 - Part 2 Data Link Control.
ICSA 341 Data Communications & Networking
Chapter 14: Data Link Control
Chapter 11 Data Link Control and Protocols.
Chapter 14: Data Link Control
Chapter 14: Data Link Control
Flow control refers to a set of procedures used to restrict the amount of data that the sender can send before waiting for acknowledgment. Error control.
Kendali Data Link dan Protokol
Chapter 14: Data Link Control
Jiying Zhao SITE, University of Ottawa Canada.
EEC4113 Data Communication & Multimedia System Chapter 4: Flow Control by Muhazam Mustapha, August 2010.
William Stallings Data and Computer Communications
Protocols and the TCP/IP Suite ECE405- Computer Networks
Presentation transcript:

FIT – Monash University High-Level Data Link Control Topic 7 High-Level Data Link Control (HDLC) Reference: Chapter 7 – Stallings 7E, 6E

Introduction Widely used, and is the basis for many other important data link control protocols To satisfy a variety of applications HDLC defines: 3 types of stations 2 link configurations 3 data transfer modes of operations

Stations Primary station Secondary station Combined station Responsible for controlling the operation of the link Frames issued by these stations are called commands Secondary station Operates under the control of the primary station Frames issued by a secondary are called responses Combined station Combines the features of primary and secondary. Issues both commands and responses

Link Configurations Unbalanced configuration Balanced configuration Consists of one primary and one or more secondary stations and supports both full-duplex and half-duplex transmission Balanced configuration Consists of two combined stations and supports both full-duplex and half-duplex transmission

Transfer Modes Normal response mode (NRM) Used with an unbalanced configuration The primary may initiate data transfer to a secondary, but a secondary may only transmit data in response to a command from the primary Asynchronous balanced mode (ABM) Used with balanced configuration Either combined station may initiate transmission without receiving permission from the other station Most widely used mode of the 3 Asynchronous response mode (ARM) Used with unbalanced configuration The secondary may initiate transmission without explicit permission of the primary

HDLC Frame Structure HDLC uses synchronous transmission All transmissions are in the form of frames, and a single format suffices for all types of data and control exchanges The flag, address (identifies the secondary station that transmitted or is to receive), and control fields that precede the information field are known as a header The FCS and flag fields following the data field are referred to as a trailer

HDLC Frame Structure

HDLC Frame Structure The flag fields delimit the frame at both ends with the unique pattern 01111110 A single flag may be used as the closing flag for one frame and the opening flag for the next The protocol allows the presence of arbitrary bit patterns, (in jpeg, mpeg, wav files), a property known as data transparency As a result, there is no guarantee that the flag pattern will not appear somewhere inside the frame, thus destroying synchronisation

Bit Stuffing Receiver hunts for flag sequence to synchronize on frame Bit stuffing used to avoid confusion with data containing 01111110 0 inserted after every sequence of five 1s If receiver detects five 1s it checks next bit If 0, it is deleted If 1 and seventh bit is 0, accept as flag If sixth and seventh bits 1, sender is indicating abort

Pitfalls of Bit Stuffing When a flag is used as both an ending and starting flag, a 1-bit error merges two frames into one Conversely, a 1-bit error inside the frame could split it in two

HDLC Frame Structure

Types of Frames Information frames Supervisory frames (I-frames) carry data to be transmitted for the user Additionally, flow and error control data, using ARQ mechanisms, are piggybacked on an information frame Supervisory frames S-frames provide the ARQ mechanism when piggybacking is not used Unnumbered frames U-frames provide supplemental link control functions

HDLC Frame – Control Field The first one or two bits of the control field serve to identify the frame type The remaining bit positions are organised into subfields as indicated in the next slide

HDLC Frame Structure

HDLC Frame – Control Field All of the control field formats contain the poll/final (P/F) bit In command frames, it is referred to as P bit and is set to 1 to solicit (poll) a response frame from the peer HDLC entity In response frames, it is referred to as the F bit and is set to 1 to indicate the response frame transmitted as a result of a soliciting command

HDLC Frame – Control Field Basic control field for S- and I-frames uses 3-bit sequence numbers An extended control field can be used for S- and I-frames that employs 7-bit sequence numbers U-frames always contain an 8-bit control field

HDLC Frame Structure Information field is present only in I-frames and some U-frames The length of the information field is variable up to some system-defined maximum The frame check sequence (FCS) field is used for detecting errors using a code calculated from the remaining bits of the frame, exclusive of flags

Operation HDLC operation consists of exchange of I-frames, S- frames, and U-frames between 2 stations The operation of HDLC involves three phases Initialisation Data transfer Disconnect

Operation - Initialization One side or the other initialise the data link so that frames may be exchanged in an orderly fashion During this phase, the options that are to be used are agreed upon Initialisation is requested by issuing one of 6 set mode commands

Operation - Initialization The set mode command Signals the other side that initialisation is requested Specifies which of the 3 modes (NRM, ABM, ARM) is requested Specifies whether 3- or 7-bit sequence number s are to be used If the other side accepts this request, the HDLC module on that end transmits an unnumbered acknowledgment (UA) frame back to the initiating side If the request is rejected, a disconnected mode (DM) frame is sent

Operation – Data Transfer After initialisation, the two sides exchange user data and control information to exercise flow and error control To exchange data and control information, a logical connection is established. Both sides may begin to send user data in I-frames, starting with sequence number 0. Placed the sequence number in N(S) field.

Operation – Data Transfer Flow Control S-frames are used for flow control The receive ready (RR) frame acknowledges the last I-frame received by indicating the next I-frame expected N(R) indicates which number I-frame it expects to receive next The RR frame is used when there is no reverse user data traffic (I-frames) to carry an acknowledgment Receive not ready (RNR) acknowledges an I-frame, as with RR, but also asks the peer entity to suspend transmission of I-frames

Operation – Data Transfer Error control REJ initiates the go-back-N ARQ- it indicates that the last I-frame received has been rejected and that retransmission of all I-frames beginning with number N(R) is required SREJ is used to request retransmission of just a single frame

Operation – Disconnect Finally, one of the 2 sides signals the termination of the operation Either HDLC module can initiate a disconnect, either on its own initiative if there is some sort of fault, or at a request of a higher layer user HDLC issues a disconnect by sending a disconnect (DISC) frame The remote entity must accept the disconnect by replying with a UA and informing its layer 3 user about the disconnection

Examples of Operation

Examples of Operation