Data Link Protocols(HDLC & PPP). Data Link Protocols The set of specifications used to implement the DLL. DLL Protocols Synchronous Protocols Character-oriented.

Slides:



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

CH. 7 Data Link Control. Requirements & Objectives of Data Link Control Frame Synchronization Flow Control Error Control Addressing Control and Data on.
Telecommunication Technologies
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
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.
Data and Computer Communications Updated: 2/9/2009.
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.
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.
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.
Data Communications Data Link Control. What Is Data Link Control? The Data Link layer of a model typically has the following responsibilities: 1. Creates.
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.
Network Technology CSE Network Technology CSE3020 Week 6.
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.
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.
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.
FIT – Monash University High-Level Data Link Control
EEC4113 Data Communication & Multimedia System Chapter 4: Flow Control by Muhazam Mustapha, October 2011.
Data and Computer Communications Data Link Control Protocols.
Data and Computer Communications Data Link Control Protocols.
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.
Chapter 9: Data Link Control
William Stallings Data and Computer Communications 7th Edition
The Data Link Layer Supplementery Slides
Chapter 11 Data Link Control
Chapter 11 Data Link Control (DLC)
Chapter 11 Data Link Control and Protocols
Data and Computer Communications
Chapter 11 - Part 2 Data Link Control.
3.2 Data Link Layer : Error & Flow Control
ICSA 341 Data Communications & Networking
CIS 321 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
Instructor Mazhar Hussain
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
Chapter 9: Data Link Control
Protocols and the TCP/IP Suite ECE405- Computer Networks
Presentation transcript:

Data Link Protocols(HDLC & PPP)

Data Link Protocols The set of specifications used to implement the DLL. DLL Protocols Synchronous Protocols Character-oriented Bit-oriented Asynchronous Protocols Timing Co-ordination No Timing Co- ordination

Character-Oriented Protocols: interpret a transmission frame as a succession of characters, each usually composed of one byte. (Byte- oriented Protocols) Example: BSC (Binary Synchronous Communication)  Developed by IBM  Specifies half-duplex transmission with stop-and-wait ARQ. Character-oriented Protocols

Bit-oriented Protocols A bit-oriented protocol is a communications protocol that sees the transmitted data as an opaque stream of bits with no semantics, or meaning. Control codes are defined in terms of bit sequences instead of characters. Bit oriented protocol can transfer data frames regardless of frame contents. It can also be stated as "bit stuffing" this technique allows the data frames to contain an arbitrary number of bits and allows character codes with arbitrary number of bits per character. Examples: HDLC & PPP

High Level Data Link Control Most widely used DLL protocol Published by ISO Supports both half-duplex & full-duplex modes in Point-to-point & Multipoint Configurations. Systems using HDLC can be characterized by :  station types,  configurations,  response modes.

HDLC Station Types Primary station —Controls operation of link —Issues commands (frames) —Maintains separate logical link to each secondary station Secondary station —Under control of primary station —Issues responses (frames) Combined station —May issue commands and responses —Combines the features of primary and secondary stations

HDLC Link Configurations Configuration refers to the relationship of hardware devices on a link. Primary, Secondary & Combined stations can be configured in 3 ways: Unbalanced:  One primary and one or more secondary stations.  Supports full duplex and half duplex Balanced:  Two combined stations  Supports full duplex and half duplex Symmetrical:  Each Physical station on a link consists of two logical stations, one a Primary & the other a Secondary

HDLC Link Configurations

HDLC Transfer Modes Normal Response Mode (NRM) —Unbalanced configuration —Primary can only initiate transmission —Secondary may only transmit data in response to command (poll) from primary —Used on multi-drop lines —Host computer as primary —Terminals as secondary

HDLC Transfer Modes Asynchronous Balanced Mode (ABM) —Balanced configuration —Either station may initiate transmission without receiving permission —Most widely used —No polling overhead Asynchronous Response Mode (ARM) —Unbalanced configuration —Secondary may initiate transmission without permission form primary —Primary is responsible for connect, disconnect, error recovery, and initialization —rarely used

HDLC Transfer Modes ( In Nutshell) NRMARMABM Station Type Primary & Secondary Combined InitiatorPrimaryEitherAny

Frame Structure Defines 3 types of frames (I,S,U frames)

Flag Fields Delimit frame at both ends Receiver hunts for flag sequence to synchronize Bit stuffing used to avoid confusion with data containing —The transmitter inserts 0 bit after every sequence of five 1s with the exception of flag fields —If receiver detects five 1s it checks next bit If 0, it is deleted If 1 and seventh bit is 0 (i.e., 10), accept as flag If sixth and seventh bits 1 (i.e., 11), sender is indicating abort

Bit Stuffing Example with possible errors

Address Field Identifies secondary station that sent or will receive frame Usually 8 bits long May be extended to multiples of 7 bits —LSB of each octet indicates that it is the last octet (1) or not (0) All ones ( ) is broadcast

Control Field Different for different frame type —I-frame (information frame) data to be transmitted to user (next layer up) Flow and error control piggybacked on information frames —S-frame (Supervisory frame) Used for flow and error control —U-frame (Unnumbered frame) supplementary link control First one or two bits of control filed identify frame type

Control Field Diagram

Poll/Final Bit Use depends on context Command frame —P bit : used for poll from primary —1 to solicit (poll) response from peer Response frame —F bit : used for response from secondary —1 indicates response to soliciting command

I-frame Contains the sequence number of transmitted frames and a piggybacked ACK N(S)P/FN(R)

S-frame Used for flow and error control SP/FN(R) RR --- receive ready RNR --- receive not ready REJ --- reject on frame N(R) SREJ --- selective reject on N(R) 0

U-frame Mode setting, recovery, connect/diconnect MP/FM1 Unnumbered function bits

Unnumberred frames Set normal response mode (SNRM) Set asynchronous response mode (SARM) Set asynchronous balanced mode (SABM) Disconnect (DISC) Unnumberred acknowledgement (UA) Disconnect mode (DM) Request disconnect (RD) Unnumberred poll (UP) Reset (RSET) Exchange identification (XID) Test (TEST) Frame reject (FRMR)

Information Field Only in information and some unnumbered frames Must contain integral number of octets Variable length

Frame Check Sequence Field FCS Error detection 16 bit CRC Optional 32 bit CRC

HDLC Operation Exchange of information, supervisory and unnumbered frames Three phases —Initialization —Data transfer —Disconnect

PPP ( Point-to-Point Protocol)

Transition States Idle State: link is not being used. Establishing State: When one of the end-points start the communication, the connection goes into the establishing state. Authenticating State: is optional, the two end-points decide during establishing state whether to opt for authenticating state or not. Networking State: the exchange of user control and data packets. Terminating State: Close the link.

Transition States Idle Establishing Authenticating Terminating Networking State Detect Carrier Success Finish Fail Drop Carrier

PPP Flags FlagAddressControlProtocolData & padding FCSFlag