The University of Adelaide, School of Computer Science

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

Synchronous Links/Networks Modems are asynchronous - penalized by start bits and stop bits on each character (and dead time) Synchronous Networks recover.
Lecture 3, 1Spring 2003, COM1337/3501CCN: Direct Link Networks Direct Link Networks Textbook: Computer Networks: A Systems Approach, L. Peterson, B. Davie,
The Data Link Layer Chapter 3. Data Link Layer Design Issues Services Provided to the Network Layer Framing Error Control Flow Control.
Chapter 11 Data Link Control (DLC) Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Framing and Stuffing Advanced Computer Networks. Framing & Stuffing Outline  Synchronous vs Asynchronous Transmissions  Asynchronous Character Transmissions.
Fundamentals of Computer Networks ECE 478/578 Lecture #3: Encoding and Framing Instructor: Loukas Lazos Dept of Electrical and Computer Engineering University.
The Data Link Layer Chapter 3. Position of the data-link layer.
The OSI Reference Model
Bit and Byte Stuffing1. 2 Synchronous versus Asynchronous Transmissions There exists a hierarchy of synchronization tasks: –Bit level : recognizing the.
VLANs Port-based VLAN: switch ports grouped (by switch management software) so that single physical switch …… Switch(es) supporting VLAN capabilities can.
Circuit Switching (a) Circuit switching. (b) Packet switching.
CS 164: Slide Set 3: Chapter 2 Direct Link Networks.
Networks: Bit and Byte Stuffing
Computer Networks: Bit and Byte Stuffing 1 Bit and Byte Stuffing.
Chapter 10 Data Link Control Protocols. Agenda Definition Functions Attributes Concepts Types Conversion.
THE DATA LINK LAYER Out of order with the book Dr. John P. Abraham University of Texas, Panam.
CS 640: Introduction to Computer Networks Aditya Akella Lecture 5 - Encoding and Data Link Basics.
EE 122: Encoding And Framing Ion Stoica September 9, 2002.
ECE 4450:427/527 - Computer Networks Spring 2015
CSE331: Introduction to Networks and Security Lecture 3 Fall 2002.
Transmission Control Protocol
CHAPTER 2 HARDWARE BUILDING BLOCK ENCODING FRAMING ERROR DETECTION.
Lecture 6: Framing and Error Detection-Data Link Layer Functions
27-Oct-15Computer Networks1 Outline Chapter 2: Direct Link Networks Encoding Framing Error Detection Sliding Window Algorithm Point-to-Point Links.
Review:. Chapter 3: The Data Link Layer –achieve reliable, efficient communication between two physically connected machines. –Example problems to be.
1 Packets, Frames, and Error Detection. 2 The Problem Cannot afford individual network connection per pair of computers Reasons –Installing wires consumes.
Data Link Layer : Services, Framing, Error Detection and Correction2.
UNIT-II Computer Network Data Link Layer. Data Link Layer Prepared by - ROHIT KOSHTA Data Link Layer is second layer of OSI reference model and is placed.
Computer Networks Module 3: Data Link Layer (Framing) Dr. Vikram Shete St. Francis Institute of Technology.
Layer Two Data Link Layer Collects bits from layer 1 and organizes into frames Passes bits that make up frames to layer 1 for transmission Concerned with.
Chapter 11 Data Link Control
1 CHAPTER 2 HARDWARE BUILDING BLOCK ENCODING FRAMING ERROR DETECTION.
1 Chapter 7 Switching, Packets, Frames, Parity, Checksums, and CRCs.
9-Jan-164/598N: Computer Networks Overview Performance metrics - Section 1.5 Direct link networks –Hardware building blocks - Section 2.1 –Encoding - Section.
Point-to-Point Links: Framing
Error Correction and Flow Control Martin Weiss. Slide 2 Objectives of this Meeting u Describe different flow control techniques u Describe the major error.
Framing and Stuffing Advanced Computer Networks. Framing & Stuffing Outline  Synchronous vs Asynchronous Transmissions  Asynchronous Character Transmissions.
T. S. Eugene Ngeugeneng at cs.rice.edu Rice University1 COMP/ELEC 429 Introduction to Computer Networks Lecture 6: Datalink layer problems Slides used.
Point-to-Point Protocol
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.
CS 457 – Lecture 3 Link Layer Protocols Fall 2011.
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,
The Data Link Layer RIS 251 Dr. ir. S.S. Msanjila.
24/11/1013-Datalink1 The Data Link Layer Role Services Functions –Framing –Encapsulation –Addressing –Connection Control –Ordered Delivery –Flow Control.
CS4470 Computer Networking Protocols
Chapter 9: Data Link Control
Getting Connected (Chapter 2 Part 1)
Data Link Networks Hardware Building Blocks Nodes & Links CS380
Data Link Layer.
CIS 321 Data Communications & Networking
Chapter 7 Packets, Frames, and Error Detection
Chapter 3 The Data Link Layer
ECE453 – Introduction to Computer Networks
Net 221D : Computer Networks Fundamentals
Ion Stoica September 6, 2001 EE 122: Lecture 4 Ion Stoica September 6, 2001.
The Data Link Layer Chapter
Packets, Frames, Parity, Checksums, and CRCs
Fundamentals of Computer Networks
Packets, Frames, Parity, Checksums, and CRCs
Hardware Building Blocks
Switching, Packets, Frames, Parity, Checksums, and CRCs
Dr. Mozafar Bag-Mohammadi Ilam University
Home work project #1 Develop and fully debug your program on the Cushing 208 lab. Machines - planet lab machines may not have good development environment.
Data Link Control (DLC) Services
Networks: Bit and Byte Stuffing
Chapter 9: Data Link Control
EECS 122: EE122: Error Detection and Reliable Transmission
Data Link Layer. Position of the data-link layer.
13-LAN, packets, frames and topologies
Presentation transcript:

The University of Adelaide, School of Computer Science 1 May 2018 Framing We are focusing on packet-switched networks, which means that blocks of data (called frames at this level), not bit streams, are exchanged between nodes. It is the network adaptor that enables the nodes to exchange frames. Bits flow between adaptors, frames between hosts 5/1/2018 EC309-COMPUTER NETWORKS Chapter 2 — Instructions: Language of the Computer

The University of Adelaide, School of Computer Science 1 May 2018 Framing When node A wishes to transmit a frame to node B, it tells its adaptor to transmit a frame from the node’s memory. This results in a sequence of bits being sent over the link. The adaptor on node B then collects together the sequence of bits arriving on the link and deposits the corresponding frame in B’s memory. Recognizing exactly what set of bits constitute a frame—that is, determining where the frame begins and ends—is the central challenge faced by the adaptor 5/1/2018 EC309-COMPUTER NETWORKS Chapter 2 — Instructions: Language of the Computer

The University of Adelaide, School of Computer Science 1 May 2018 Framing Byte-oriented Protocols To view each frame as a collection of bytes (characters) rather than bits BISYNC (Binary Synchronous Communication) Protocol Developed by IBM (late 1960) DDCMP (Digital Data Communication Protocol) Used in DECNet 5/1/2018 EC309-COMPUTER NETWORKS Chapter 2 — Instructions: Language of the Computer

The University of Adelaide, School of Computer Science 1 May 2018 Framing BISYNC – sentinel approach Frames transmitted beginning with leftmost field Beginning of a frame is denoted by sending a special SYN (synchronize) character Data portion of the frame is contained between special sentinel character STX (start of text) and ETX (end of text) SOH : Start of Header DLE : Data Link Escape CRC: Cyclic Redundancy Check 5/1/2018 EC309-COMPUTER NETWORKS Chapter 2 — Instructions: Language of the Computer

Framing BISYNC Frame Format

The University of Adelaide, School of Computer Science 1 May 2018 Framing Recent PPP which is commonly run over Internet links uses sentinel approach Special start of text character denoted as Flag 0 1 1 1 1 1 1 0 Address, control : default numbers Protocol for demux : IP / IPX Payload : negotiated (1500 bytes) Checksum : for error detection 5/1/2018 EC309-COMPUTER NETWORKS Chapter 2 — Instructions: Language of the Computer

Framing PPP Frame Format

The University of Adelaide, School of Computer Science 1 May 2018 Framing Byte-counting approach DDCMP count : how many bytes are contained in the frame body If count is corrupted Framing error 5/1/2018 EC309-COMPUTER NETWORKS Chapter 2 — Instructions: Language of the Computer

Framing DDCMP Frame Format

The University of Adelaide, School of Computer Science 1 May 2018 Framing Bit-oriented Protocol SDLC-IBM, later ISO developed HDLC HDLC : High Level Data Link Control Beginning and Ending Sequences 0 1 1 1 1 1 1 0 HDLC Frame Format 5/1/2018 EC309-COMPUTER NETWORKS Chapter 2 — Instructions: Language of the Computer

The University of Adelaide, School of Computer Science 1 May 2018 Framing HDLC Protocol On the sending side, any time five consecutive 1’s have been transmitted from the body of the message (i.e. excluding when the sender is trying to send the distinguished 01111110 sequence) The sender inserts 0 before transmitting the next bit 5/1/2018 EC309-COMPUTER NETWORKS Chapter 2 — Instructions: Language of the Computer

The University of Adelaide, School of Computer Science 1 May 2018 Framing HDLC Protocol On the receiving side 5 consecutive 1’s Next bit 0 : Stuffed, so discard it 1 : Either End of the frame marker Or Error has been introduced in the bitstream Look at the next bit If 0 ( 01111110 )  End of the frame marker If 1 ( 01111111 )  Error, discard the whole frame The receiver needs to wait for next 01111110 before it can start receiving again 5/1/2018 EC309-COMPUTER NETWORKS Chapter 2 — Instructions: Language of the Computer