Chapter 4 Data Link Layer.

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

Data Link Protocols(HDLC & PPP). Data Link Protocols The set of specifications used to implement the DLL. DLL Protocols Synchronous Protocols Character-oriented.
1 Pertemuan 15 Layer Data Link Matakuliah: H0174/Jaringan Komputer Tahun: 2006 Versi: 1/0.
William Stallings Data and Computer Communications 7th Edition
Data and Computer Communications Updated: 2/9/2009.
Copyright 2005 John Wiley & Sons, Inc4 - 1 Business Data Communications and Networking 8th Edition Jerry Fitzgerald and Alan Dennis John Wiley & Sons,
8-Reliability and Channel Coding Dr. John P. Abraham Professor UTPA.
Dwayne Whitten, D.B.A Mays Business School Texas A&M University
Assessment 1 Review Network Layers. Computer 1Computer 2 2.
Chapter 6 Errors, Error Detection, and Error Control.
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.
William Stallings Data and Computer Communications 7 th Edition Chapter 7 Data Link Control Protocols.
1 K. Salah Module 4.0: Data Link Layer The Logical Link Control (LLC) sublayer –Framing –Flow Control –Error Control The Media Access Control (MAC) sublayer.
Chapter 9: Data Link Control Business Data Communications, 4e.
Network Data Organizational Communications and Technologies Prithvi N. Rao Carnegie Mellon University Web:
Chapter 4 Chapter 4 Data Link Layer MIS Chapter 4 Data Link Layer Functions Media access control – when computers can transmit Detects and corrects.
Synchronous - Asynchronous Data Transmission. Asynchronous ► The sender and receiver are not Synchronised. ► The sender sends only one character at a.
Midterm Review - Network Layers. Computer 1Computer 2 2.
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 Link Layer We have now discussed the prevalent shared channel technologies  Ethernet/IEEE  Wireless LANs (802.11) We have now covered chapters.
Data Link Layer Chapter 4. Announcements and Outline Announcements Review Assignment Due next Thurs., 9/17 Assessment #1 – Tues., 9/22 MC Short Answer.
Dwayne Whitten, D.B.A Mays Business School Texas A&M University
Chi-Cheng Lin, Winona State University CS 313 Introduction to Computer Networking & Telecommunication Data Link Layer Part I – Designing Issues and Elementary.
ECS 152A 4. Communications Techniques. Asynchronous and Synchronous Transmission Timing problems require a mechanism to synchronize the transmitter and.
CSC 311 Chapter Eight FLOW CONTROL TECHNIQUES. CSC 311 Chapter Eight How do we manage the large amount of data on the network? How do we react to a damaged.
Chapt 3 Data Link Layer1 Data Link Layer Functions –Provides services to network layer Well-defined interface –Framing –Flow control – between adjacent.
Networks. Common Xmit Media Shared Media Networks are a shared communication resource Only one user can access at a time.
Chapter 5 Peer-to-Peer Protocols and Data Link Layer PART I: Peer-to-Peer Protocols ARQ Protocols and Reliable Data Transfer Flow Control.
CENG 490/510 Network Programming Russell Deaton Rm
1 Message Delineation Identify the start and end of messages by: Identify the start and end of messages by:
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 and Flow Control Networks and Protocols Prepared by: TGK First Prepared on: Last Modified on: Quality checked by: Copyright 2009 Asia Pacific.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
Data Transmission n Keep errors to an acceptable low probability n Bit-serial transmission n Parallel transmission.
Data Link Layer Flow and Error Control. Flow Control Flow Control Flow Control Specifies the amount of data can be transmitted by sender before receiving.
Data Link Layer. Link Layer The data unit to be transmited at the link layer is called a frame. Why link layer? How can it know where a frame begins and.
1 The Data Link Layer A. S. Tanenbaum Computer Networks W. Stallings Data and Computer Communications Chapter 3.
Chapter 9: Data Link Control Business Data Communications, 4e.
Recap of Layers Application, Data Link and Physical.
Chapter 4 Data Link Layer.
Dwayne Whitten, D.B.A Mays Business School Texas A&M University
24/11/1013-Datalink1 The Data Link Layer Role Services Functions –Framing –Encapsulation –Addressing –Connection Control –Ordered Delivery –Flow Control.
Chapter 5 Network and Transport Layers
Computer Communication & Networks
2.10 Flow and Error Control Before that ...
Chapter 9: Data Link Control
Data Link Layer Flow Control.
Part III. Data Link Layer
Chapter 4 Data Link Layer.
Data link layer (LLC).
Data Transmission Keep errors to an acceptable low probability
Topic 5: Data Link Layer - Chapter 9: Data Link Control
Chap. 4 Data link layer 2.
Chapter 4 Data Link Layer
Ken Gunnells, Ph.D. - Networking Paul Crigler - Programming
CIS 321 Data Communications & Networking
Chapter 4 Data Link Layer.
DIGITAL DATA COMMUNICATION TECHNIQUES
Business Data Communications
CS412 Introduction to Computer Networking & Telecommunication
Chapter 5 Peer-to-Peer Protocols and Data Link Layer
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.
Dwayne Whitten, D.B.A Mays Business School Texas A&M University
Chapter 5 Peer-to-Peer Protocols and Data Link Layer
Lecture 4 Peer-to-Peer Protocols and Data Link Layer
Chapter 9: Data Link Control
Introduction Communication Modes Transmission Modes
Presentation transcript:

Chapter 4 Data Link Layer

Announcements and Outline Review Assignment Due Weds., 2/1 (Before Class!) Assessment #1 – Mon., 2/6 MC Short Answer Outline Data Link Layer Media Access Control Error Control Data Link Protocols http://gizmodo.com/hackers-locked-every-room-in-this-hotel-until-a-bitcoin-1791769502 2

Network Layers Computer 1 Computer 2

Data Link Layer - Introduction Responsible for moving messages from one device to another Controls the way messages are sent on media Organizes physical layer bit streams into coherent messages for the network layer Major functions of a data link layer protocol Media Access Control Error Control Message Delineation Network Layer Data Link Layer Physical Layer 4

Recap – Media Access Control and Error Detection Contention Error Control Source of errors Error Detection Parity Checks CRC-16 & CRC-32 5

Recap – Media Access Control and Error Detection 6

Recap – Media Access Control and Error Detection 7

Error Correction Once detected, the error must be corrected Error correction techniques Retransmission (or, backward error correction) Forward Error Correction 8

Automatic Repeat reQuest (ARQ) Process of requesting a data transmission be resent Main ARQ protocols Stop and Wait ARQ (A half duplex technique) Continuous ARQ (A full duplex technique) 9

Stop and Wait ARQ Sender Receiver 10

Stop and Wait ARQ – Timeouts Sender Receiver 11

Continuous ARQ 12

Flow Control with ARQ Ensuring that sender is not transmitting too quickly for the receiver Stop-and-wait ARQ Continuous ARQ 13

Flow Control Example 14

Data Link Protocols Classification Differ by Asynchronous transmission Message delineation Frame length Frame field structure frame k-1 frame k frame k+1 15

Synchronous Transmission Data sent in a large block Includes addressing information Includes a series of synchronization (SYN) characters Used to help the receiver recognize incoming data Synchronous transmission protocols categories Bit-oriented protocols: SDLC, HDLC Byte-count protocols: Ethernet Byte-oriented protocols: PPP 16

Ethernet (IEEE 802.3ac & II – Ethernet 2) Most widely used LAN protocol, developed jointly by Digital, Intel, and Xerox, now an IEEE standard Uses contention based media access control Byte-count data link layer protocol No transparency problem uses a field containing the number of bytes (not flags) to delineate frames Error correction: optional 17

Ethernet II Frame 18

Transmission Efficiency An objective of the network: Move as many bits as possible with minimum errors  higher efficiency and lower cost Factors affecting network efficiency: Characteristics of circuit (error rate, speed) Speed of equipment, Error control techniques Protocol used Information bits (carrying user information) Overhead bits ( used for error checking, frame delimiting, etc.) 19

Transmission Efficiency Total number of info bits to be transmitted Total number of bits transmitted = 20

Transmission Efficiency of Protocols Ethernet II Transmission However, large packets likely to have more errors and are more likely to require retransmission  wasted capacity 21

Optimum Packet Size Trade-off between packet size and throughput Acceptable range (more costly in terms of circuit capacity to retransmit if there is an error) (less likely to contain errors) 22

Throughput A more accurate definition of efficiency Total number of information bits received per second; takes into account: Overhead bits (as in transmission efficiency) Need to retransmit packets containing errors Complex to calculate; depends on: Transmission efficiency Error rate Number of retransmission Transmission Rate of Information Bits (TRIB) Used as a measurement of throughput 23

TRIB = Number of info bits accepted Total time required to get the bits Average number of non-info characters per block Ex: K=7 bits/character M = 400 char/block R= 4.8 Kb/s C = 10 char/block P = 1% T = 25 ms Probability that a block will require retransmission Info bits per character K (M – C) (1 – P) (M / R) + T TRIB = Time between blocks (in seconds) (propagation time + turnaround time) (a.k.a., reclocking time) 7(400-10)(1-0.01) (400/600)+0.025) = 3.908 Kb/s Packet length in characters TRIB = Data xmission rate in char per second 24

Implications for Management Provide a few, widely used data link layer protocols for all networks Minimize costly customization Minimize costly translation among many protocols Less training, simpler network management Bigger pool of available experts Less expensive, off-the-shelf equipment 25

Next Week: Monday – Assessment #1 Start Chapter 5 – Network and Transport Layers 26