Advanced LANs Lecture 5 September 2003

Download Report

Transcript Advanced LANs Lecture 5 September 2003

5/1/2020 11:43 Rivier College CS575: Advanced LANs

Chapter 6: Logical Link Control

Chapter 6 Logical Link Control 1

1

5/1/2020 11:43 IEEE 802 Protocol Layers Compared to OSI Model 2

Chapter 6 Logical Link Control 2

5/1/2020 11:43 Logical Link Control Services

0 0 0

Unacknowledged connectionless service Connection-mode service Acknowledged connectionless service

Chapter 6 Logical Link Control 3

3

5/1/2020 11:43 Logical Link Control (LLC) Primitives 4

Chapter 6 Logical Link Control 4

5/1/2020 11:43 Logical Link Control (LLC) Primitives 5

Chapter 6 Logical Link Control 5

5/1/2020 11:43 Three LLC Protocols (referred to as types of operation)

0 0 0

Type 1 operation supports unacknowledged connectionless service Type 2 operation supports connection-mode service Type 3 operation supports acknowledged connectionless service 6

Chapter 6 Logical Link Control 6

5/1/2020 11:43 LLC Classes available for a single station 7

Chapter 6 Logical Link Control 7

5/1/2020 11:43 LLC Protocol Data Unit Formats 8

Chapter 6 Logical Link Control 8

5/1/2020 11:43 LLC Protocol Data Units 9

Chapter 6 Logical Link Control 9

5/1/2020 11:43 Examples of High-Level Data Link Control (HDLC) Operation 10

Chapter 6 Logical Link Control 10

5/1/2020 11:43 Examples of High-Level Data Link Control (HDLC) Operation 11

Chapter 6 Logical Link Control 11

5/1/2020 11:43 Service Primitive Types 12

Chapter 6 Logical Link Control 12

5/1/2020 11:43 Time Sequence Diagrams for Service Primitives 13

Chapter 6 Logical Link Control 13

5/1/2020 11:43 Flow Control: Model of Frame Transmission 14

Chapter 6 Logical Link Control 14

5/1/2020 11:43 Stop-and-Wait Flow Control: Link Utilization 15

Chapter 6 Logical Link Control 15

5/1/2020 11:43 Sliding-Window Flow Control Process 16

Chapter 6 Logical Link Control 16

5/1/2020 11:43 Example of a Sliding-Window Protocol * Error-detection technique requires an Error-Detecting Code (e.g., CRC) 17

Chapter 6 Logical Link Control 17

5/1/2020 11:43 Error Control Mechanisms Two Types of Possible Errors:

-

Lost PDU Damaged PDU (some of the bits have been altered during transmission)

0

Methods of Error Control:

-

Error detection (the receiver detects errors and discards PDUs) Positive acknowledgement is sent confirming error-free PDUs received

-

Retransmission after timeout Negative acknowledgement and retransmission

0

Automatic Repeat Request (ARQ) turns an unreliable data link into a reliable one.

Chapter 6 Logical Link Control 18

18

5/1/2020 11:43 Stop-and-Wait Automatic Repeat Request (ARQ) 19

Chapter 6 Logical Link Control 19

5/1/2020 11:43 Go-Back-N Automatic Repeat Request (ARQ) 20

Chapter 6 Logical Link Control 20