NETWORKING CONCEPTS. DATA LINK LAYER Data Link Control main functions of the data link layer are Data link control media access control. Data link control.

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

11-1 FRAMING The data link layer needs to pack bits into frames, so that each frame is distinguishable from another. Our postal system practices a type.
The Data Link Layer Chapter 3. Data Link Layer Design Issues Services Provided to the Network Layer Framing Error Control Flow Control.
Data Link Control We want to minimize the amount of error correcting and detecting we need to do.
Chapter 11 Data Link Control
Chapter 11 Data Link Control (DLC) Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
The two main functions of the data link layer are data link control and media access control. Data link control deals with the design and procedures for.
Chapter 7 – Data Link Control Protocols
EEC-484/584 Computer Networks Lecture 12 Wenbing Zhao Cleveland State University
The Data Link Layer Chapter 3. Position of the data-link layer.
Circuit Switching (a) Circuit switching. (b) Packet switching.
11.1 Chapter 11 Data Link Control Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 2 Network Models.
NETWORKING CONCEPTS. OSI MODEL Established in 1947, the International Standards Organization (ISO) is a multinational body dedicated to worldwide agreement.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 2 Network Models.
Unit IV Data Link Control: Data link layer is the second layer in ISO OSI model. The two main functions of DLL are Data link control which deals with the.
CS 640: Introduction to Computer Networks Aditya Akella Lecture 5 - Encoding and Data Link Basics.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 2 Network Models.
Kashif Bashir Chapter 2 Network Models.
11.1 Chapter 11 Data Link Control Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
11.1 Chapter 11 Data Link Control Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1 Kyung Hee University Chapter 11 Data Link Control.
Internet Model. Interfaces Between Layers The passing of the data and network information down through the layers of the sending device and back up.
COMPUTER NETWORKS Ms. Mrinmoyee Mukherjee Assistant Professor
ECOM 4314 Data Communications Fall September, 2010.
1 Data Link Layer Lecture 20 Imran Ahmed University of Management & Technology.
CIT 307 Online Data Communications Error Detection Module 11 Kevin Siminski, Instructor.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Data Link Control and Protocols.
جلسه هشتم شبکه های کامپیوتری به نــــــــــــام خدا.
Review:. Chapter 3: The Data Link Layer –achieve reliable, efficient communication between two physically connected machines. –Example problems to be.
Data Link Layer : Services, Framing, Error Detection and Correction2.
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 13.
Computer Networks Module 3: Data Link Layer (Framing) Dr. Vikram Shete St. Francis Institute of Technology.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Data Link Layer PART III.
Chapter 11 Data Link Control
Eighth Edition by William Stallings Chapter 7 – Data Link Control Protocols Data Link Control Protocols need layer of logic above Physical to manage exchange.
Prepared by Engr.Jawad Ali BSc(Hons)Computer Systems Engineering University of Engineering and Technology Peshawar.
DATA LINK CONTROL PROTOCOLS. 2 Introduction Data link control layer – often abbreviated simply to data link layer – is concerned with the transfer of.
CHAPTER 3: DATA LINK CONTROL Flow control, Error detection – two dimensional parity checks, Internet checksum, CRC, Error control, Transmission efficiency.
Lecture Focus: Data Communications and Networking  Data Link Layer  MAC Frame Format Lecture 25 CSCS 311.
COMPUTER NETWORKS. Unit -2 Continue... Physical Layer Connection –Oriented Networks : X.25 Relay Frames Types of cables Co-axial Fiber optics Twisted.
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.
TCP/IP Protocol Suite Suresh Kr Sharma 1 The OSI Model and the TCP/IP Protocol Suite Established in 1947, the International Standards Organization (ISO)
11.1 Chapter 11 Data Link Control Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Data Link Layer.
Data Communications Data Link Layer.
Network Models. 2.1 what is the Protocol? A protocol defines the rules that both the sender and receiver and all intermediate devices need to follow,
Data Link Control. The two main functions of the data link layer are data link control and media access control. The first, data link control, deals with.
The Data Link Layer RIS 251 Dr. ir. S.S. Msanjila.
High level Data Link Layer Protocol - HDLC
Net 221D : Computer Networks Fundamentals
Data Link Control CHAPTER 11 التحكم بربط البيانات
Data Link Layer.
B. R. Chandavarkar CSE Dept., NITK Surathkal
Data link layer (LLC).
Chapter 3 The Data Link Layer
Subject Name: Computer Communication Networks Subject Code: 10EC71
Chapter 2 Network Models.
Data Link Layer: Data Link Control
Net 221D : Computer Networks Fundamentals
Net 221D : Computer Networks Fundamentals
Chapter 11 Data Link Control (DLC)
Chapter 3 The Data Link Layer.
Chapter 2 Network Models.
Chapter 2 Network Models.
Chapter 11 Data Link Control
Chapter 2 Network Models.
Data Link Control (DLC) Services
Data Link Layer. Position of the data-link layer.
Presentation transcript:

NETWORKING CONCEPTS

DATA LINK LAYER Data Link Control main functions of the data link layer are Data link control media access control. Data link control deals with the design and procedures for communication between two adjacent nodes: node-to-node communication Data link control functions include framing, flow and error control, and software implemented protocols that provide smooth and reliable transmission of frames between nodes.

DATA LINK LAYER Framing Data transmission in the physical layer means moving bits in the form of a signal from the source to the destination. The physical layer provides bit synchronization to ensure that the sender and receiver use the same bit durations and timing. The data link layer, on the other hand, needs to pack bits into frames, so that each frame is distinguishable from another

DATA LINK LAYER Eg. Our postal system practices a type of framing. The simple act of inserting a letter into an envelope separates one piece of information from another; the envelope serves as the delimiter. In addition, each envelope defines the sender and receiver addresses since the postal system is a many-to-many carrier facility.

DATA LINK LAYER Framing Framing in the data link layer separates a message from one source to a destination, or from other messages to other destinations, by adding a sender address and a destination address The destination address defines where the packet is to go The sender address helps the recipient acknowledge the receipt. Normally whole message could not packed in one frame because, flow and error control are inefficient

DATA LINK LAYER Framing When a message is carried in one very large frame, even a single-bit error would require the retransmission of the whole message. When a message is divided into smaller frames, a single-bit error affects only that small frame. Fixed-Size Framing there is no need for defining the boundaries of the frames; the size itself can be used as a delimiter. An example ATM

DATA LINK LAYER Variable-Size Framing we need a way to define the end of the frame and the beginning of the next. two approaches were used for this purpose: a character-oriented approach a bit-oriented approach. Character-Oriented Protocols data to be carried are 8-bit characters from a coding system such as ASCII The header, which normally carries the source and destination addresses, and the trailer, which carries error detection or error correction bits, are also multiples of 8 bits.

DATA LINK LAYER To separate one frame from the next, an 8-bit (I- byte) flag is added at the beginning and the end of a frame. Character-oriented framing was popular when only text was exchanged by the data link layers. The flag could be selected to be any character not used for text communication. Any pattern used for the flag could also be part of the information the receiver, when it encounters this pattern in the middle of the data, thinks it has reached the end of the frame

A frame in a character-oriented protocol ………….Data from upper layer…………..

DATA LINK LAYER To fix this problem, a byte-stuffing strategy is used Also known as character stuffing a special byte is added to the data section of the frame when there is a character with the same pattern as the flag. The data section is stuffed with an extra byte. This byte is usually called the escape character (ESC), which has a predefined bit pattern Whenever the receiver encounters the ESC character, it removes it from the data section and treats the next character as data, not a delimiting flag.

DATA LINK LAYER Bit oriented protocols the data section of a frame is a sequence of bits a special 8-bit pattern flag as the delimiter to define the beginning and the end of the frame A frame in a bit-oriented protocol

DATA LINK LAYER if the flag pattern appears in the data, we need to somehow inform the receiver that this is not the end of the frame. We do this by stuffing 1 single bit (instead of I byte) to prevent the pattern from looking like a flag. The strategy is called bit stuffing. In bit stuffing, if a 0 and five consecutive I bits are encountered, an extra 0 is added This extra stuffed bit is eventually removed from the data by the receiver the extra bit is added after one 0 followed by five 1s regardless of the value of the next bit.

DATA LINK LAYER This guarantees that the flag field sequence does not inadvertently appear in the frame. Bit stuffing is the process of adding one extra 0 whenever five consecutive 1’s follow a 0 in the data, so that the receiver does not mistake the pattern for a flag.

DATA LINK LAYER

This means that if the flag like pattern appears in the data, it will change to (stuffed) and is not mistaken as a flag by the receiver. The real flag is not stuffed by the sender and is recognized by the receiver.