Chapter 11 Data Link Control (DLC)

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
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 12 Point-to-Point Access: PPP.
S4C4 PPP. Protocols Point to Point Protocol Link Control Protocol Network Control Program Password Authentication Protocol Challenge Handshake Authentication.
Gursharan Singh Tatla SLIP and PPP 27-Mar
11.1 Chapter 11 Data Link Control 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.
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.
11.1 Chapter 11 Data Link Control Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
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.
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.
Point to Point Protocol Operation. Point to Point Protocol Protocol Layers of PPP –Physical Layer –Data Link Layer – HDLC derivative –Other 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.
K. Salah 1 Chapter 12 Point-to-Point Access: PPP.
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?
Point to Point protocol (PPP) Point to point, wired data link easier to manage than broadcast link: no Media Access Control Several Data Link 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.
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.
11.1 Chapter 11 Data Link Control Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Point-to-Point Access: PPP PPP Between Routers  Used for Point-to-Point Connections only  Used as data link control (encapsulates network layer.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Data Link Control and Protocols.
Computer Networks Module 3: Data Link Layer (Framing) Dr. Vikram Shete St. Francis Institute of Technology.
Chapter 11 Data Link Control
Data Link Layer: Data Link Control : Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D.
11.1 Chapter 11 Data Link Control Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
CIS : Data Link Control. Flow Control Ensuring the sending entity does not overwhelm the receiving entity —Preventing buffer overflow Transmission.
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
Chapter 11 Data Link Control.
Data and Computer Communications Data Link Control Protocols.
Data Communications Data Link Layer.
The Data Link Layer RIS 251 Dr. ir. S.S. Msanjila.
Data Link Control Protocols  need layer of logic above Physical  to manage exchange of data over a link frame synchronization frame synchronization flow.
The Data Link Layer Data Link Types Data Link Protocols Access Methods
High level Data Link Layer Protocol - HDLC
HDLC and PPP.
Chapter 11 Data Link Control
Chapter 11 Data Link Control and Protocols
Lesson 6 Point to Point Protocol
Chapter 11 Data Link Control
DATA LINK CONTROL (DLC)
Chapter 11 - Part 2 Data Link Control.
PPP PROTOCOL The First semester
Chapter 3 Data Link Layer.
ICSA 341 Data Communications & Networking
CIS 321 Data Communications & Networking
ECE453 – Introduction to Computer Networks
Chapter 11 Data Link Control (DLC)
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.
Instructor Mazhar Hussain
Jiying Zhao SITE, University of Ottawa Canada.
A. Beheshti Communication Group
Data Link Control (DLC) Services
William Stallings Data and Computer Communications
Chapter 9 Introduction to Data-Link Layer
Presentation transcript:

Chapter 11 Data Link Control (DLC) EE141 Chapter 11 Data Link Control (DLC) School of Computer Science and Engineering Pusan National University Jeong Goo Kim

Outline 11.1 DLC Services 11.2 Data-Link Layer Protocols 11.3 HDLC Ch. 11 Outline Outline 11.1 DLC Services 11.2 Data-Link Layer Protocols 11.3 HDLC 11.4 PPP

Ch. 11 Objective Objective The first section discusses the general services provided by the DLC sublayer. The second section discusses some simple and common data- link protocols that are implemented at the DLC sublayer. The third section introduces HDLC, a protocol that is the basis of all common data-link protocols in use today such as PPP and Ethernet. The fourth section discusses PPP, a very common protocol for point-to-point access

11.1 DLC Services 11.1 DLC Services communication between two adjacent nodes. framing and flow and error control. 1.1.1 Framing Frame Size Fixed-size and variable-size Character-Oriented Framing

11.1 DLC Services Transparent communication (byte stuffing)

11.1 DLC Services Bit-oriented protocol (bit stuffing)

11.1 DLC Services 11.1.2 Flow and Error Control Flow control Buffers Ex. 11.1 Error control very simple : CRC is used deliver data to network layer ACK Combination of Flow and Error Control

11.3 Connectionless and Connection-Oriented 11.1 DLC Services 11.3 Connectionless and Connection-Oriented Connectionless Protocol no connections between frames Connection-Oriented Protocol logical connection should first be established between the two nodes rare in wired network

11.2 DLC Protocol 11.2 DLC Protocol Fig. 11.6 FSMs Simple, Stop-and-Wait, Go-Back-N, (disappeared) and Selective-Repeat. (disappeared) Fig. 11.6 FSMs

Fig. 11.8 FSMs Simple protocol 11.2 DLC Protocol 11.2.1 Simple Protocol neither flow nor error control. Fig. 11.7 Simple protocol Fig. 11.8 FSMs Simple protocol

11.2 DLC Protocol Fig. 11.9 Flow diagram for Ex. 11.2

Fig. 11.10 Stop-and-Wait protocol 11.2 DLC Protocol 11.2.2 Stop-and-Wait Protocol Fig. 11.10 Stop-and-Wait protocol

Fig. 11.11 FSM for Stop-and-Wait protocol 11.2 DLC Protocol Fig. 11.11 FSM for Stop-and-Wait protocol

11.2 DLC Protocol Fig. 11.12 Flow diagram for Ex. 11.3

11.2 DLC Protocol Fig. 11.13 Flow diagram for Ex. 11.4

11.3 HDLC 11.3 HDLC 11.2.3 Piggybacking 11.3.1 Transfer Mode to make the communication more efficient, the data in one direction is piggybacked with the acknowledgment in the other direction. 11.3 HDLC is a bit-oriented protocol for communication over point-to-point and multipoint links Stop-and-Wait is the basis for other practical protocols such as PPP, Ethernet, or wireless LANs 11.3.1 Transfer Mode normal response mode (NRM) asynchronous balanced mode (ABM).

Fig. 11.14 Normal response mode 11.3 HDLC Fig. 11.14 Normal response mode

Fig. 11.15 Asynchronous balanced mode 11.3 HDLC Fig. 11.15 Asynchronous balanced mode 11.3.2 Framing information frames (I-frames), supervisory frames (S-frames), and unnumbered frames (U-frames)

11.3 HDLC Flag field contains synchronizstion pattern 01111110 Address field contains the address of the secondary stationin Control field is one or two bytes used for flow and error control Information field contains the user’s data from the network layer or management information FCS field is the HDLC error detection field. It contains 2- or 4- bytes CRC Control Field for I-Frames First bit 0 means I-frame Next 3 bits, N(S), define the sequence nuimber of the frame Next 1 bit, P/F (bit=1), means poll or final Next 3 bits, N(R), correspond to the acknowledgment number

11.3 HDLC Control Field for S-Frames Control Field for U-Frames First 2 bits 10 mean S-frame Receive ready (RR): code 00 Receive not ready (RNR): code 10 Reject (REJ) : code 01 Slective reject (SREJ): code 11 Control Field for U-Frames First 2 bits 11 mean U-frame used to create up to 32 different types of U-frames

Fig. 11.18 Example of connection and disconnection 11.3 HDLC Fig. 11.18 Example of connection and disconnection

Fig. 11.19 Example of piggybacking with and without error 11.3 HDLC Fig. 11.19 Example of piggybacking with and without error

11.4 PPP 11.4 PPP is one of the most common protocols for point-to-point access is used to control and manage the transfer of data 11.4.1 Services Services by PPP defines the format of the frame to be exchanged between devices defines how two devices can negotiate the establixhment of the link and the exchange of data is designed to accept payloads from several network layers Multilink PPP provides connections over multiple links network address cinfiguration Sevives not probides by PPP does not provide flow control has a vert simple mechanism for error control does not provide a sophisticated addressing mechanism to handle frames in a multipoint configuration

11.4 PPP 11.4.2 Framing Flag : 1-byte 01111110 Address: 1-byte constant value 11111111 Control: 1-byte constant value 0000 0011 Protocol: 1-2 bytes, defines either user data or other information Payload: carrier either maximum 1500 bytes user data or other information FCS: 2 or 4 bytes standard CRC Byte Stuffing : 01111101

11.4 PPP 11.4.3 Transition Phases Fig. 11.21 Transition Phases

Fig. 11.22 : Multiplexing in PPP LCP : 01111101 is responsible for establishing, maintaining, configuring, and terminating links. provides negotiation mechanisms

Fig. 11.22 Multiplexing in PPP Table 11.1 : LCP packets

11.4 PPP Negotiation

Fig. 11.24 : PAP packets encapsulated in a PPP frame PAP (password authentication protocol) CHAP (challenge Handshake authentication protocol) Fig. 11.24 : PAP packets encapsulated in a PPP frame

Fig. 11.25 : CHAP packets encapsulated in a PPP frame

Fig. 11.26 : ICIP packet encapsulated in a PPP frame NCP ICIP (internet protocol control protocol) : 0x 8021 Other Protocol: OSI 0x8023, Xerox NS IDP 0x8025 Fig. 11.26 : ICIP packet encapsulated in a PPP frame Table 11.3 Code value for ICIP packets

Fig. 11.27 : IP dapagram encapsulated in a PPP frame Date from the Network Layer IP network layer data : 0x0021 OSI network layer data : 0x0023 Fig. 11.27 : IP dapagram encapsulated in a PPP frame

11.4 PPP Multipoint PPP Fig. 11.28 : Multipoint PPP

11.4 PPP Ex. 11.7

Homework Homework Solve Problems P11-1, P11-3, P11-9, P11-(11,14), P11-13 Read textbook pp. 325-354 Next Lecture Chapter 12. Media Access Control (MAC)