Gursharan Singh Tatla DATA LINK PROTOCOLS 24-Mar-2011 1

Slides:



Advertisements
Similar presentations
CH. 7 Data Link Control. Requirements & Objectives of Data Link Control Frame Synchronization Flow Control Error Control Addressing Control and Data on.
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.
William Stallings Data and Computer Communications 7th Edition
Gursharan Singh Tatla SLIP and PPP 27-Mar
Chapter 11 Data Link Control (DLC) Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
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.
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.
1 Data Transmission and Computer Networks Data Link Control Protocols.
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.
CSIS 6251 CSIS 625 Week 6 Data Link Layer Copyright 2001, Dan Oelke For use by students of CSIS 625 for purposes of this class only.
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.
Data Communications Data Link Control. What Is Data Link Control? The Data Link layer of a model typically has the following responsibilities: 1. Creates.
Chapter 10 Data Link Control Protocols. Agenda Definition Functions Attributes Concepts Types Conversion.
Example Data Link Protocols Quick review Reference Models? Layers? Flow Control? Bit stuffing? Connection Oriented? Synchronous transmission?
Data Link Protocols Asynchronous Protocols Synchronous Protocols
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.
Network Technology CSE Network Technology CSE3020 Week 6.
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.
Link Layer Protocols Martin Weiss. Slide 2 Objectives of this Meeting u Explain what a protocol is u Compare connection-oriented with connectionless protocol.
Data Link Control Protocols. 2 Introduction Data link layer –Concerned with the transfer of data over a serial data link Link –Point-to-point physical.
Data and Computer Communications Tenth Edition by William Stallings Data and Computer Communications, Tenth Edition by William Stallings, (c) Pearson Education.
Giuseppe Bianchi Layer 2 Framing HDLC (High-level Data Linl Control)
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.
Computer Networks Module 3: Data Link Layer (Framing) Dr. Vikram Shete St. Francis Institute of Technology.
1 Message Delineation Identify the start and end of messages by: Identify the start and end of messages by:
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 Protocols Prof. Choong Seon HONG.
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.
Computer Interfacing and Protocols
Data Link Protocols ผศ.ดร. อนันต์ ผลเพิ่ม
FIT – Monash University High-Level Data Link 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.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 11 Data Link Control and Protocols 1.
Data Communications Data Link Layer.
24/11/1013-Datalink1 The Data Link Layer Role Services Functions –Framing –Encapsulation –Addressing –Connection Control –Ordered Delivery –Flow Control.
2.10 Flow and Error Control Before that ...
High level Data Link Layer Protocol - HDLC
HDLC and PPP.
DATA COMMUNICATION Lecture-41.
Chapter 11 Data Link Control and Protocols
Chapter 11 - Part 2 Data Link Control.
ICSA 341 Data Communications & Networking
CIS 321 Data Communications & Networking
DATA COMMUNICATION Lecture-39.
DATA COMMUNICATION Lecture-40.
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.
Instructor Mazhar Hussain
Jiying Zhao SITE, University of Ottawa Canada.
William Stallings Data and Computer Communications
Presentation transcript:

Gursharan Singh Tatla DATA LINK PROTOCOLS 24-Mar

Data Link Protocols Data Link Protocols are sets of rule and regulations used to implement data link layer. They contain rules for: Line Discipline Flow Control Error Control 24-Mar

Types of Data Link Protocols 24-Mar Data Link Protocols are divided into two categories: Asynchronous Protocols Synchronous Protocols

Asynchronous Protocols 24-Mar Asynchronous protocols treat each character in a bit stream independently. These protocols are used in modems. They use start and stop bits, and variable gaps between characters. They are slower than synchronous protocols in transmitting data.

Asynchronous Protocols 24-Mar The different asynchronous protocols are: XMODEM YMODEM ZMODEM Block Asynchronous Transmission (BLAST) Kermit

XMODEM 24-Mar It is a half duplex stop & wait protocol. It is used for telephone line communication between PCs. The sender sends a frame to receiver & waits for ACK frame. The receiver can send one cancel signal (CAN) to abort the transmission. The frame format of XMODEM is: SOHHeaderDataCRC 1 Byte2 Bytes128 Bytes

XMODEM 24-Mar The various fields of frame are: SOH: It is start of header. It is 1 byte field. Header: It contains the sequence number. It is 2 bytes in length. Data: This field holds 128 bytes of data. CRC: It is Cyclic Redundancy Check. This field checks the errors in data field.

YMODEM 24-Mar This protocol is similar to XMODEM with the following major differences: Two cancel signals (CAN) are used to abort the transmission. The data field is 1024 bytes long. ITU-T CRC-16 is used for error checking.

ZMODEM 24-Mar It is a combination of XMODEM and YMODEM.

BLAST 24-Mar BLAST is more powerful than XMODEM. It is a full duplex protocol. It uses sliding window flow control.

Kermit 24-Mar It is a terminal program as well as file transfer protocol. It is similar in operation to XMODEM, except that sender has to wait for a negative acknowledgement (NAK) before it starts transmission.

Synchronous Protocols 24-Mar Synchronous Protocols take the whole bit stream and divide it into characters of equal size. These protocols have high speed and are used for LAN, WAN and MAN. Synchronous protocols are categorized into two groups: Character-Oriented Protocol Bit-Oriented Protocol

Character-Oriented Protocol 24-Mar It interprets frame as a series of characters. These are also known as Byte-Oriented Protocols. Control information is inserted as separate control frames or as addition to existing data frame. The example of character-oriented protocol is Binary Synchronous Communication (BSC) developed by IBM.

Bit-Oriented Protocol 24-Mar It interprets frame as a series of bits. Control information can be inserted as bits depending on the information to be contained in the frame Bit-oriented protocol can pack more information into shorter frames. The examples of bit-oriented protocol are: Synchronous Data Link Control (SDLC) High Level Data Link Control (HDLC)

Synchronous Data Link Control (SDLC) Protocol 24-Mar SDLC protocol was developed by IBM in After developing SDLC, IBM submitted it to American National Standard Institute (ANSI) and to International Standard Organization (ISO) for acceptance. ANSI modified it to ADCCP (Advanced Data Communication Control Procedure. ISO modified it to HDLC (High Level Data Link Control).

Synchronous Data Link Control (SDLC) Protocol 24-Mar The frame format of SDLC is: The flag sequence of 8-bits marks the beginning and ending of the frame. Address field contains the address of the receiver. Control field carries the sequence number, acknowledgement, requests and responses. FlagAddressControlUser DataECFFlag 8-Bit 16-Bit

Synchronous Data Link Control (SDLC) Protocol 24-Mar The frame format of SDLC is: The user data field carries the data and is of variable length. ECF stands for Error Checking Field and is of 16-bits. It is used for error control. FlagAddressControlUser DataECFFlag 8-Bit 16-Bit

High Level Data Link Control (HDLC) Protocol 24-Mar HDLC came into existence after ISO modified the SDLC protocol. It is a bit-oriented protocol that supports both half and full duplex communication. Systems using HDLC are characterized by: Station Types Configuration. Response Modes

Station Types 24-Mar To make HDLC protocol applicable to various network configurations, three types of stations have been defined: Primary Station Secondary Station Combined Station

Primary Station 24-Mar It has complete control over the link at any time. It has the responsibility of connecting & disconnecting the link. The frames sent by primary station are called commands.

Secondary Station 24-Mar All the secondary stations work under the control of primary station. The frames sent by secondary station are called responses.

Combined Station 24-Mar A combined station can behave either as primary or as secondary station. It can send commands as well as responses.

Configuration Configuration defines how the various stations are connected to a link. There are three possible configurations: Unbalanced Configuration Symmetrical Configuration Balanced Configuration 24-Mar

Unbalanced Configuration This type of configuration exists if one station is primary and other is secondary. 24-Mar

Unbalanced Configuration It can further be of two types: Point-to-Point Unbalanced Configuration: If there is one primary and one secondary station. Multipoint Unbalanced Configuration: If there is one primary and many secondary stations. 24-Mar

Symmetrical Configuration In this configuration, both sites contain two stations: one primary and one secondary. Primary station of one site is linked with secondary station of the other and vice versa. 24-Mar Primary Secondary Primary Secondary Command Response Command Response Site ASite B

Balanced Configuration In this configuration, both sites have combined stations. These combined stations are connected with single link. This single link can be controlled by either station. 24-Mar

Response Modes HDLC supports three modes of communication between stations: Normal Response Mode (NRM) Asynchronous Response Mode (ARM) Asynchronous Balanced Mode (ABM) 24-Mar

Normal Response Mode (NRM) In this mode, primary station controls the link. Secondary station seeks permission from primary before transmitting the data. 24-Mar

Asynchronous Response Mode (ARM) In this mode, if channel is idle, secondary station may initiate the transmission without seeking permission from the primary. If any secondary station wants to communicate with other secondary station, the transmission is done via primary station only. 24-Mar

Asynchronous Balanced Mode (ABM) This type of mode involves combined stations. There is no primary-secondary relationship, all stations are equal. Therefore, either of the combined station can initiate the transmission without seeking permission from the other. 24-Mar

Frame Structure in HDLC Frame in HDLC can have six fields: Flag Field: It is the 8-bit field that contains It marks the beginning and end of a frame. Address Field: This field contains the address of the receiver. It is 8-bit long. 24-Mar FlagAddressControlInformationFCSFlag Bit 8/16-BitVariable16-Bit8-Bit

Frame Structure in HDLC Frame in HDLC can have six fields: Control Field: It carries the sequence number, acknowledgements, requests and responses. It can be of 8-bit or 16-bit. Information Field: It contains user data. Its length is different for different networks. 24-Mar FlagAddressControlInformationFCSFlag Bit 8/16-BitVariable16-Bit8-Bit

Frame Structure in HDLC Frame in HDLC can have six fields: FCS Field: FCS stands for Frame Check Sequence. It is the error detection field and is 16-bit long. It contains either 16- bit CRC or 32-bit CRC. 24-Mar FlagAddressControlInformationFCSFlag Bit 8/16-BitVariable16-Bit8-Bit

Types of Frames in HDLC HDLC defines three types of frames: Information Frame (I-Frame): I-Frames carry user data, and control information about user’s data. Supervisory Frame (S-Frame): S-Frames carry flow & error control information. Unnumbered Frame (U-Frame): U-Frames are reserved for system management. They are used to exchange session management & control information between the two connected devices. 24-Mar

24-Mar