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.

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

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
CEG3185 TUT6 Prepared by Zhenxia Zhang Revisited by Jiying Zhao.
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.
11-5 NOISY CHANNELS Although the Stop-and-Wait Protocol gives us an idea of how to add flow control to its predecessor, noiseless channels are nonexistent.
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.
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.
1 ELEN 602 Lecture 6 Review of last lecture –Generator polynomials –Stop-and-wait, Go-back-N ARQ Today’s lecture –Selective Repeat ARQ –Analysis of all.
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.
11.1 Chapter 11 Data Link Control Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
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.
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.
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 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.
11.1 Chapter 11 Data Link Control Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
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.
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 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.
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.
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.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 11 Data Link Control and Protocols 1.
Data Communications Data Link Layer.
HDLC High-level Data Link Control. 10/1/2016 Telecom & Management SudParis 2 Summary ● Overview and features ● The frame structure.
Data Link Control Protocols  need layer of logic above Physical  to manage exchange of data over a link frame synchronization frame synchronization flow.
2.10 Flow and Error Control Before that ...
High level Data Link Layer Protocol - HDLC
HDLC and PPP.
Chapter 11 Data Link Control
Chapter 11 Data Link Control (DLC)
Chapter 11 Data Link Control and Protocols
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 11 Data Link Control and Protocols.
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
Instructor Mazhar Hussain
Jiying Zhao SITE, University of Ottawa Canada.
EEC4113 Data Communication & Multimedia System Chapter 4: Flow Control by Muhazam Mustapha, August 2010.
Protocols and the TCP/IP Suite ECE405- Computer Networks
Presentation transcript:

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 use. When studying this protocol consider it is like a vehicle that you can use to fly, drive, or ride on the water; you may not see how to use all of the parts.

Classifications of stations Primary –tells other stations what to do Secondary –more reactive –doesn’t initiate on it’s own Combined –same station can be either

Basic Configurations PrimarySecondary Combined Point to Point Primary Secondary Multipoint

Basic Modes - NRM NRM - Normal Response Mode Primary Secondary Whether in point-to-point or multipoint, the primary dictates/controls response of secondary.

Basic Modes - ABM ABM - Asynchronous Balanced Mode Using combined stations, the relationship is peer to peer. Neither is on control of the other Combined Point to Point ARM - Asynchronous Response Mode Similar to ABM but primary/secondary roles exist. Secondary can initiate certain types of responses. Ignore this.

HDLC Frame Format Focus on what you can learn about the protocol from the frame! 88/16 variable16/328 flagCRCINFOcontroladdressflag Typically source & destination Status or commands Not always present

Flag Field & Bit Stuffing Marking beginning and end is important! headtail frame contents flag What do you do if the sequence appears in the frame?

Bit Stuffing In this case 6 ones in a row is the sequence to consider. When sending the flag, nothing special is done. When sending data, look for the sequence of 6 ones. When found, insert an extra Data intended Data sent Bit stuffed If receiver gets 5 ones followed by a 0, throw away the 0. Can you figure out what happens if the sender sends ?

HDLC Frame Types 0 N(S) P/F N(R) 0 1 S P/F N(R) 1 1 M P/F M Information Supervisory Unnumbered

Information Frames 0 N(S) P/F N(R) Information See Figure 5.30 part b This is the MIDDLE of the exchange setup TALK disconnect Examine the symmetric nature of the sequence numbers Is the scenario using go-back-n or selective repeat? RR is a supervisory frame to send a reverse ACK when no reverse data exists

Supervisory Frames 0 1 S P/F N(R) Supervisory 2 bits RR : Receive ready (ACK when no returning data) REJ : Reject (NAK) RNR : Receive not ready Flow control (buffers full) SREJ : Selective Reject Resend that one frame number ( not exactly as done in the general case )

Unnumbered Frames 1 1 M P/F M Unnumbered 2 3 Although broken, total field size of M is 5 bits -> 32 values. This identifies the frame type. See Table 5.2 This defines most of the message types/interactions. Classified as C (command) or R (response).

Beginning and Ending The entire exchange has to also have a beginning and an end. See Figure 5.30 again Connection Establishment (a) Data Exchange (b) Disconnect (c)

Connect Station AStation B Send RIM Send SIM Send SARM Send UA

Information Exchange Station AStation B SEND I Frames N(R)=0 N(S)=0 SEND I Frames N(R)=0 N(S)=0 N(R)=0 N(S)=1 Frame Damaged N(R)=1 N(S)=2 Frame Rejected Send REJ with N(R)=1 SEND I Frames N(R)=2 N(S)=1 N(R)=2 N(S)=2 N(R)=2 N(S)=3 (no activity) Send RRJ with N(R)=3

Disconnect Station AStation B Send UA Send DISC

Kermit A quick look

What is Kermit? Before FTP Used to transfer files in an interactive session Just focus on the higher level interaction. Run telnet-like program Log in and go to the directory where file is stored run KERMIT go to your window on local machine and set in receive mode (protocols connect and download) log off

A typical interaction Station AStation B S Y F Z B Y Y Y S - Send Initiation Y - ACK F - File Header D - Data Frame Z - End of File B - End of transmission DATA