Example Data Link Protocols 16-10-2012. Quick review Reference Models? Layers? Flow Control? Bit stuffing? Connection Oriented? Synchronous transmission?

Slides:



Advertisements
Similar presentations
The Data Link Layer Chapter 3. Data Link Layer Design Issues Services Provided to the Network Layer Framing Error Control Flow Control.
Advertisements

CH. 7 Data Link Control. Requirements & Objectives of Data Link Control Frame Synchronization Flow Control Error Control Addressing Control and Data on.
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
C) All rights reserved by Professor Wen-Tsuen Chen1 Chapter 3 The Data link Layer ä For reliable, efficient communication between two adjacent machines.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 7 – Data Link Control Protocols.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 12 Point-to-Point Access: PPP.
Point-to-Point Protocol
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.
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.
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.
Semester 4 - Chapter 4 – PPP WAN connections are controlled by protocols In a LAN environment, in order to move data between any two nodes or routers two.
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.
The Data Link Layer Chapter 3. Data Link Layer Design Issues Services Provided to the Network Layer Framing Error Control Flow Control.
11.1 Chapter 11 Data Link Control Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
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.
Robert E. Meyers CCNA, CCAI Youngstown State University Cisco Regional Academy Instructor Cisco Networking Academy Program Semester 4, v Chapter.
Copyright Kenneth M. Chipps Ph.D. PPP Last Update
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.
Point-to-Point Access: PPP PPP Between Routers  Used for Point-to-Point Connections only  Used as data link control (encapsulates network layer.
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.
Chapter 3 THE DATA LINK LAYER
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.
THE DATA LINK LAYER Chapter 3 1. H YBRID M ODEL The hybrid reference model to be used in this book. 2.
The Data Link Layer. Functions of the Data Link Layer Provide service interface to the network layer Frame delineation Dealing with transmission errors.
Computer Networks Module 3: Data Link Layer (Framing) Dr. Vikram Shete St. Francis Institute of Technology.
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.
Presentation of Computer network  Topic:SLIP&PPP Submitted to:- Submitted by:- Mr.Navdeep Bhandari Charu Harpreet Ankita Ankita Geetika Geetika.
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
Data and Computer Communications Data Link Control Protocols.
1 The Data Link Layer A. S. Tanenbaum Computer Networks W. Stallings Data and Computer Communications Chapter 3.
11.1 Chapter 11 Data Link Control Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Data Communications Data Link Layer.
Point-Point Protocol (PPP) by William F. Widulski.
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 11 Data Link Control
Chapter 11 Data Link Control (DLC)
Lesson 6 Point to Point Protocol
Chapter 11 - Part 2 Data Link Control.
CIS 321 Data Communications & Networking
ECE453 – Introduction to Computer Networks
Chapter 11 Data Link Control (DLC)
Instructor Mazhar Hussain
A. Beheshti Communication Group
Data Link Control (DLC) Services
Presentation transcript:

Example Data Link Protocols

Quick review Reference Models? Layers? Flow Control? Bit stuffing? Connection Oriented? Synchronous transmission? Full-duplex communication? Data Link protocol?

Example Data Link Protocols High-Level Data Link Control -HDLC The Data Link Layer in the Internet

SDLC protocol (Synchronous Data Link Control) High-Level Data Link Control -HDLC

(HDLC) History The original ISO standards for HDLC are: –ISO 3309 – Frame Structure –ISO 4335 – Elements of Procedure –ISO 6159 – Unbalanced Classes of Procedure –ISO 6256 – Balanced Classes of Procedure The current standard for HDLC is ISO 13239, which replaces all of those standards. (ADCCP ) Advanced Data Communication Control Procedure (HDLC) High-Level Data Link Control (LAP ) Link Access procedure (LAPB)

(HDLC) Features One of the most common data link layer protocols (CISCO routers). Bit-oriented protocol. Use bits to stuff flags occurring in data. Provides both connection-oriented and connectionless service. Synchronous Data link control protocol. Implements error and flow control (adjust window size based on receiver capability)). Used for point-to-point and multipoint links access. Reliable protocol: –Use Selective repeat and go-back-N,with a 3-bit sequence number Up to seven unacknowledged frames may be outstanding at any instant. Full-duplex communication (receive and transmit at the same time)

Data Transfer Mode There are three modes of data transfer operations: –Normal Response Mode (NRM) The secondary station initiate a transmission after permission from the primary station (usually half-duplex). Typically use SDLC. Mainly used in terminal-mainframe networks. –Asynchronous Response Mode (ARM) The secondary station can initiate a transmission without receiving permission from the primary station. Used mostly in point-to-point configurations. –Asynchronous Balanced Mode (ABM) Both sides can send and receive. Mainly used in full duplex point-to-point links, for communication between combined stations. Used in the protocol set known as X

HDLC – Frame Format  Two 8-bit flag fields to identify the start and end of frame (The value of the flag is always ( )).  Address field:  Multipoint links: contains the address of the destination.  Point-to-point links: used to distinguish command from response (Why?).  This field is set to ( ) in broadcasting (to all-stations).  Control field: (Identify the frame type).  Data or information field contains user data from the network layer.  The Frame Check Sequence (FCS)  Computed over the Address, Control, and Information fields.  Error detection field. FlagFCSDataControlAddressFlag 816 Grater than or =

HDLC frame types  Information frame (I-frame):  Carries data from the upper network layer it can also carry flow and error control information (piggybacking)  Supervisory Frame (S-Frame):  Carries only flow and error control Information (ACK, NAK)  Used when piggybacking can’t be used or no data is sent with acknowledgement or sending commands…

HDLC frame types  Unnumbered Frames (U-frame) carries link management:  Set up the logical link between the primary station and a secondary station.  Inform the secondary station about the mode of operation which is used)

I_Frame Control Field  First bit is 0 to indicate I-frame.  Seq: holds the frame sequence number (3-bits).  P/F:  P/F = 1: means Poll (If the frame is sent by the primary )  P/F = 0: means final (If the frame is sent by the secondary).  Next: holds the ACK number (piggybacking) to be sent to the sender (3-bits). Seq Next

S-frame control field There are four different supervisory frames: TypeNext NameType ACK( Indicate the next frame expected)Receiver Ready00 Negative ACK (Retransmit all outstanding frames starting at Next (Go Back N)) Reject01 ACK(Indicate the next frame expected + stop sending) Receiver Not Ready10 Negative ACK (Retransmission oonly the frame specified in Next(Selective Repeat)) Selective Reject11 Type 3 frames are undefined in SDLC and LAPB

U-frame control field

Protocol operation

The Data Link Layer in the Internet

Point-to-Point communication Point-to-point communication is primarily used in the internet in two situations: Router to router

Point-to-Point communication Point-to-point communication is primarily used in the internet in two situations: Dial-up host-router PPP—The Point-to-Point Protocol

PPP-The Point-to-Point Protocol  A data link layer protocol. Character(Byte) -oriented protocol Use byte stuffing to stuff flags occurring in data.  Used for Point-to-Point Connections only.  Used as data link to connect :  Home users (PC) to ISP using a telephone line and a modem.  Two routers

PPP Features Defines the format of the frame to be exchanged between devices. Defines the link establishment and data transfer between devices. Supports multiple protocols. Defines how two devices authenticate each other Error detection – (not correction)

PPP Support protocols  Link management:The link control protocol (LCP) is responsible for :  Establishing, configuring, and negotiating a data-link connection.  Monitors the link quality.  Terminate the data-link connection.  Authentication: Authentication is optional (negotiated between the two devices). PPP supports two authentication protocols:  Password Authentication Protocol (PAP).  Challenge Handshake Authentication Protocol (CHAP).  Network protocols configuration: (NCPs) responsible for:  Establishing and configuring different network layer protocols (such as IP, AppleTalk, Decnet )  For IP network protocol, NCP handles dynamic IP address assignment

Frame format (Byte). Identify the frame boundaries. Flag No need for an address for prodcasting. Can be removed – negotiated. Address Can be removed – negotiated Control

Frame format It tells what kind of packet is in the Payload field. Length is 2 or 1byte(negotiated) Protocol Contains user’s data or other information Default maximum length 1500 bytes. length negotiated ( at link configuration ) Data field (payload) length negotiated Checksum (FCS)

Multiplexing in PPP

PPP Transition states

PPP Transition states

PPP Transition states

PPP Transition states

PPP Transition states

LCP Frame Types

An example

An example (continued) IPCP Networ k DataLi nk

References

Questions ?

Thank you