TOBB ETÜ ELE46/ELE563 Communications Networks Lecture 01 May 6, 2014 Fall 2011 Tuesday 10:30 – 12:20 (310) Thursday 15:30 – 17:20 (372) İsrafil Bahçeci.

Slides:



Advertisements
Similar presentations
Chapter 3 The Data Link Layer.
Advertisements

The Data Link Layer Chapter 3. Data Link Layer Design Issues Services Provided to the Network Layer Framing Error Control Flow Control.
5-1 Data Link Layer l Objective: to achieve reliable and efficient communication between 2 adjacent machines l Data link layer design issues n services.
CIS 725 Data Link Layer. Physical Layer Figure 3-1 B. Forouzan, TCP/IP Protocol Suite.
The Data Link Layer Chapter 3. Data Link Layer Design Issues Services Provided to the Network Layer Framing Error Control Flow Control.
I N THE N AME OF G OD C OMPUTER N ETWORKS C HAPTER 3: T HE D ATA L INK L AYER Dr. Shahriar Bijani Shahed University March 2014.
1 Wireless Sensor Networks Akyildiz/Vuran Administration Issues  Take home Mid-term Exam  Assign April 2, Due April 7  Individual work is required 
8-Reliability and Channel Coding Dr. John P. Abraham Professor UTPA.
EEC-484/584 Computer Networks Lecture 6 Wenbing Zhao
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 10 Introduction to Computer Networks.
EEC-484/584 Computer Networks Lecture 12 Wenbing Zhao Cleveland State University
CSC 3352 Computer Communications Chapter 3&41 The Link Layer Has 2 main Components The Data Link Layer Medium Access Control (MAC) Examples:SLIP, PPP,
The Data Link Layer Chapter 3. Position of the data-link layer.
The OSI Reference Model
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 11 Introduction to Computer Networks.
CMPE 150 – Winter 2009 Lecture 6 January 22, 2009 P.E. Mantey.
CSC 450/550 Part 2: The Data Link Layer. CSC 450/550 Summary Part A Functions (1)Functions of the data link layer (2)Framing (3)Error control (3.1) Error.
EEC-484/584 Computer Networks Lecture 7 Wenbing Zhao (Part of the slides are based on materials supplied by Dr. Louise Moser at UCSB and.
The Data Link Layer Chapter 3. Data Link Layer Design Issues Services Provided to the Network Layer Framing Error Control Flow Control.
20101 The Data Link Layer Chapter Design Issues Controls communication between 2 machines directly connected by “wire”-like link Services Provided.
Adapted from Tanenbaum's Slides for Computer Networking, 4e The Data Link Layer Chapter 3.
Error Detection and Reliable Transmission EECS 122: Lecture 24 Department of Electrical Engineering and Computer Sciences University of California Berkeley.
Data and Computer Communications. The Data Link Layer.
Data Link Layer - 1 Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS School of Computing, UNF.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Data Link Layer PART III.
Chi-Cheng Lin, Winona State University CS 313 Introduction to Computer Networking & Telecommunication Data Link Layer Part I – Designing Issues and Elementary.
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 14.
Cyclic Code. Linear Block Code Hamming Code is a Linear Block Code. Linear Block Code means that the codeword is generated by multiplying the message.
جلسه هشتم شبکه های کامپیوتری به نــــــــــــام خدا.
Chapt 3 Data Link Layer1 Data Link Layer Functions –Provides services to network layer Well-defined interface –Framing –Flow control – between adjacent.
Review:. Chapter 3: The Data Link Layer –achieve reliable, efficient communication between two physically connected machines. –Example problems to be.
Data Link Layer. Data Link Layer Design Issues Services Provided to the Network Layer Framing Error Control Flow Control.
Data Link Layer : Services, Framing, Error Detection and Correction2.
The Data Link Layer Goal –As reliable as possible, efficient communication Point-to-Point –single connection –bits arrive in order sent Not necessarily.
The data link layer. Data Link Layer Design Issues Services Provided to the Network Layer Framing Error Control Flow Control.
The Data Link Layer. Functions of the Data Link Layer Provide service interface to the network layer Dealing with transmission errors Error detection.
The Data Link Layer. Functions of the Data Link Layer Provide service interface to the network layer Frame delineation Dealing with transmission errors.
Chapter 3 The Data Link Layer (60 % practical part)
The Data Link Layer Chapter 3 10/28/2015www.noteshit.com1.
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 13.
ECE453 – Introduction to Computer Networks Lecture 4 – Data Link Layer (I)
10/27/ Data Link Layer - Lin 1 CPET/ECET Data Link Layer Data Communications and Networking Fall 2004 Professor Paul I-Hai Lin Electrical.
COMPUTER NETWORKS Ms. Mrinmoyee Mukherjee Assistant Professor St. Francis Institute of Technology, Mount Poinsur, S.V.P Road, Borivli (west), Mumbai
Wireless and Mobile Networks (ELEC6219) Session 3: Theories of Data Communications. Data Link Layer. Adriana Wilde and Jeff Reeve 22 January 2015.
The Data Link Layer Chapter 3 CN5E by Tanenbaum & Wetherall, © Pearson Education-Prentice Hall and D. Wetherall, 2011 Data Link Layer Design Issues Error.
The Data Link Layer Chapter 3 1/21/2016www.ishuchita.com1.
COMPUTER NETWORKS. Unit -2 Continue... Physical Layer Connection –Oriented Networks : X.25 Relay Frames Types of cables Co-axial Fiber optics Twisted.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The Data Link Layer Chapter 3.
Network Layer4-1 Chapter 5: The Data Link Layer Our goals: r understand principles behind data link layer services: m error detection, correction m sharing.
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.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The Data Link Layer Chapter 3.
1 The Data Link Layer A. S. Tanenbaum Computer Networks W. Stallings Data and Computer Communications Chapter 3.
Powerpoint Templates Data Communication Muhammad Waseem Iqbal Lec # 15.
The Data Link Layer RIS 251 Dr. ir. S.S. Msanjila.
1 Wireless Networks Lecture 5 Error Detecting and Correcting Techniques (Part II) Dr. Ghalib A. Shah.
Chapter 3 The Data Link Layer.
Data Link Layer Objective: to achieve reliable and efficient communication between 2 adjacent machines Data link layer design issues services provided.
Data Link Layer.
Data Link Layer What does it do?
Chapter 3 – Part 1 The Data Link Layer.
Overview Jaringan Komputer (2)
Chapter 3 The Data Link Layer.
CS412 Introduction to Computer Networking & Telecommunication
The Data Link Layer Chapter
Data Link Layer Objective: to achieve reliable and efficient communication between 2 adjacent machines Data link layer design issues services provided.
Data Link Layer Objective: to achieve reliable and efficient communication between 2 adjacent machines Data link layer design issues services provided.
UNIT-II The Data Link Layer.
Data Link Layer. Position of the data-link layer.
Presentation transcript:

TOBB ETÜ ELE46/ELE563 Communications Networks Lecture 01 May 6, 2014 Fall 2011 Tuesday 10:30 – 12:20 (310) Thursday 15:30 – 17:20 (372) İsrafil Bahçeci Office: 168

Data Link Layer

Functions of DLL Frame transmission Reliable: Error free Efficient: Transmission Rate vs. Channel condition What to do? Error correction/detection Channel impairements

DLL Design Issues Service interface to network layer Dealing with transmission errors Flow control Frame management: Network packets encapsulated

Data Path 1.Unacknowledged connectionless service -> Reliable channel ->Ethernet 2.Acknowledged connectionless service -> Unreliable channel -> Wi-Fi 3.Acknowledged connection-oriented service

ACK/NACK issue DLL ACK/NACK is an optimization, not requirements Higher layers may take care of errors PHY medium determines this optimization Fiber, ethernet Wireless Connection-oriented service: reliable streaming Appropriate for unreliable, long channels (satellite, long- distance telephone circuit, etc..) Establish a connection before data exchange Numbered frames Each frames received exactly once, all in order 3 phases Connection establishment, initialize counters Frame transmission Connection release

Framing Bit stream from PHY layer may contain errors DLL splits bit streams in to discrete frames Checksum: CRC = cyclic redundancy check bits Receiver calculates the checksum bits and compares it with the one contained in the frame Bad frames detection

Frame generation Must alleviate the frame reception (e.g., sync) at the receiver side Byte-count Number of bytes in the header Errors in this info is catastrpohic Flag bytes with byte stuffing Frame start at certain slots indicate by a known flag byte (start and end with FLAGs) If FLAG exists in paylod, insert ESC charcater; ESC is removed before forwarding to network layer PPP: point-to-point protocol Flag bits with bit stuffing Physical layer coding violation

Byte FLAGing

Bit FLAGing Bit level flagging Bit stuffing Ex. HDLC – high level data link control Frame begins with 0x7E : Bit sutffing: a consecutive 5 1s stuffed with 0

Frame Length Data based frame length ~12.5% with bit stuffing Ethernet Preamble: all frames start with a known bit pattern 72-bits for

Error Control ACK/NACK ACK: correct reception NACK: error!, retransmit Complete ACK/frame loss Timers: Time to wait for ACK/NACK Timer cancellation if ACK arrives before Multiple transmission of frames: Frame numbering Overall goal: Each frame is only passed only once to the network layer

Flow Control How to control frame rate so that receiver can accept transmissions Sender: fast processors, receiver: slow processor HD Video to a smartphone with small computing power! Feedback-based flow control Rx to Tx: send more/less data Rate-based flow control Tx-built in flow control without feedback Usually feed-back based in DLL: Rx side determines the transmission of additional data until it processes the previously received ones

Error Detection/Correction Fiber, cable: small error Wireless links: larger errors Add redundancy for correction FER: forward error correction Enough redundancy for detection Depends on channel reliability Fiber: error detection Wireless: error correction + detection Error types Single-bit errors, few-bit errors Burst errors Erasure channel: easier to correct than flip-errors FEC/ED can be used in PHY,DLL and network layers as well

FEC: error correction codes Hamming Binary convolutional Reed-Solomon Low-density parity check codes

FEC Frame length: m bits Redundancy: r bits Linear block code: r bits from m information bits via linear combination (e.g., in mod-2 for binary codes) of information block Systematic code: m bits are sent directly Code rate = m/(m+r)

Hamming distance Distance between two sequences Binary: seq_d = seq1 XOR seq2 Number of 1s in seq_d Hamming distance of d -> d single bit errors

Hamming Code Linear block code Error syndrome

Convolutional Code

Decoding Soft-decision Hard-decision

Cyclic codes A subset of linear block codes Non-binary cyclic codes BCH codes Reed-Solomon codes

Error Detection Codes Linear systematic block codes Parity Checksums Cyclic redundancy checks (CRCs)