L3: Building Direct Link Networks I. Hui Chen, Ph.D. Dept. of Engineering & Computer Science Virginia State University Petersburg, VA 23806

Similar documents
Direct Link Networks. Lecture - Encoding & Framing 1. Areas for Discussion. Problems

ECE 4450:427/527 - Computer Networks Spring 2017

Overview. Performance metrics - Section 1.5 Direct link networks Hardware building blocks - Section 2.1 Encoding - Section 2.2 Framing - Section 2.

L5: Building Direct Link Networks III. Hui Chen, Ph.D. Dept. of Engineering & Computer Science Virginia State University Petersburg, VA 23806

Data Link Networks. Hardware Building Blocks. Nodes & Links. CS565 Data Link Networks 1

CSCI-1680 Physical Layer Link Layer I Rodrigo Fonseca

L2: Bandwidth and Latency. Hui Chen, Ph.D. Dept. of Engineering & Computer Science Virginia State University Petersburg, VA 23806

CISC 7332X T6. C12a: LAN Switching. Hui Chen Department of Computer & Information Science CUNY Brooklyn College. 11/13/2018 CUNY Brooklyn College

L1: Introduction. Hui Chen, Ph.D. Dept. of Engineering & Computer Science Virginia State University Petersburg, VA 23806

Direct Link Networks. Framing. Lecture - Encoding & Framing 1. Problems. Areas for Discussion

Housekeeping. Fall /5 CptS/EE 555 1

Data Link Layer Overview

Introduction to Computer Networks. 03 Data Link Layer Introduction

Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM 4021: Networks Discussion. Chapter 2.

Data Link Layer Overview

Direct Link Networks. Nodes. Links. Outline Building Blocks Encoding

Data Link Layer Overview

Computer Network. Direct Link Networks Reliable Transmission. rev /2/2004 1

Data Link Layer Overview

CompSci 356: Computer Network Architectures. Lecture 4: Link layer: Encoding, Framing, and Error Detection Ref. Chap 2.2, 2.3,2.4

L8: Packet Switching. Hui Chen, Ph.D. Dept. of Engineering & Computer Science Virginia State University Petersburg, VA 23806

Point-to-Point Links. Outline Encoding Framing Error Detection Sliding Window Algorithm. Fall 2004 CS 691 1

COMP/ELEC 429/556 Introduction to Computer Networks

Direct Link Networks: Building Blocks (2.1), Encoding (2.2), Framing (2.3)

Links. CS125 - mylinks 1 1/22/14

CSMC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala Set 4. September 09 CMSC417 Set 4 1

C13a: Packet Switching

Programming Internet with Socket API. Hui Chen, Ph.D. Dept. of Engineering & Computer Science Virginia State University Petersburg, VA 23806

L9: Bridges and LAN Switches. Hui Chen, Ph.D. Dept. of Engineering & Computer Science Virginia State University Petersburg, VA 23806

End-to-End Protocols: UDP and TCP. Hui Chen, Ph.D. Dept. of Engineering & Computer Science Virginia State University Petersburg, VA 23806

C14b: Classless Intradomain Routing

Problem Statement. Physical and Data Link Layer Overview. Five Tasks Encoding. Make two computers talk to each other

L10: Simple Internetworking. Hui Chen, Ph.D. Department of Engineering & Computer Science Virginia State University Petersburg, VA 23806

CS455: Introduction to Distributed Systems [Spring 2018] Dept. Of Computer Science, Colorado State University

Internetworking: Global Internet and MPLS. Hui Chen, Ph.D. Dept. of Engineering & Computer Science Virginia State University Petersburg, VA 23806

Chapter 8 OSI Physical Layer

Data Link Layer. Indian Institute of Technology Madras

Chapter 2: Getting Connected

IT4405 Computer Networks (Compulsory)

Lecture 3: Modulation & Layering"

CSCI 466 Midterm Networks Fall 2011

COMPUTER NETWORKS UNIT I. 1. What are the three criteria necessary for an effective and efficient networks?

Data Communications & Networks. Session 3 Main Theme Data Encoding and Transmission. Dr. Jean-Claude Franchitti

Framing and Stuffing. Advanced Computer Networks

CSCI-1680 Link Layer I Rodrigo Fonseca

CS 640 Lecture 4: 09/11/2014

Message, Segment, Packet, and Frame Link-layer services Encoding, framing, error detection, transmission control Error correction and flow control

TIME SCHEDULE. 2 Physical Layer 15. Course General Outcomes: Sl. G.O On completion of this course the student will be able :

Medium Access Control

Goals of Today s Lecture. Adaptors Communicating

Transition to IPv6. Hui Chen, Ph.D. Dept. of Engineering & Computer Science Virginia State University Petersburg, VA 23806

C13b: Routing Problem and Algorithms

Computer Networks. General Course Information. Addressing and Routing. Computer Networks 9/8/2009. Basic Building Blocks for Computer Networks

15-441: Computer Networks Homework 1

ELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

Programming Ethernet with Socket API. Hui Chen, Ph.D. Dept. of Engineering & Computer Science Virginia State University Petersburg, VA 23806

Computer Networking Background

5th Slide Set Computer Networks

CSE 123A Computer Networks

Review For Exam 2. Internetworking. Summary Questions. School of Business Eastern Illinois University. School of Business Eastern Illinois University

Computer and Network Security

Some portions courtesy Robin Kravets and Steve Lumetta

From Signals to Packets Computer Networking. Link Layer: Implementation. Datalink Functions. Lecture 5 - Coding and Error Control

Configuration of Synchronous Protocols

Medium Access Control

Data Communications & Networks. Session 3 Main Theme Data Encoding and Transmission. Dr. Jean-Claude Franchitti

Programming Ethernet with Socket API. Hui Chen, Ph.D. Dept. of Engineering & Computer Science Virginia State University Petersburg, VA 23806

From Signals to Packets Computer Networking. Link Layer: Implementation. Network Delay. 06-datalink.ppt, , Fall

CS 4453 Computer Networks Winter

Transmission SIGNALs

CS 457 Networking and the Internet. Link Layer Protocols. Problems 8/31/16. Fall 2016 Indrajit Ray

CIS 551 / TCOM 401 Computer and Network Security. Spring 2007 Lecture 7

CNT 4004: Computer Networks I. Tentative Syllabus

Frequency: it refers to the number of periods in 1 s. It is formally expressed in Hertz (Hz)

LESSON PLAN LP-CS 1302

Physical Layer V What does the physical layer provide?

DCN Questions CHAPTER 1:- NETWORKING FUNDAMENTALS

CIS 777 Telecommunications Networks

Data and Computer Communications

Lecture 05 Chapter 16 High Speed LANs

Links Reading: Chapter 2. Goals of Todayʼs Lecture. Message, Segment, Packet, and Frame

Data Communications & Computer Networks

Computer Networking. Lecture 4 - Coding and Error Control

Distributed Systems: Networking

Topics Today. Lecture 8: Physical and Link Layers. Protocol Layering. Physical layer: chips versus bits. Physical Layer (Layer 1) Protocol Layering

COMPUTER NETWORKS CS CS 55201

Solution of Exercise Sheet 2. (Layers of Reference Models)

Lecture 4. Data Transmission Modes and Switching. Data Transmission & Switching 1-1

Polytechnic University of Puerto Rico Department of Electrical & Computer Engineering and Computer Science (ECECS) Master in Electrical Engineering

COMPUTER NETWORKS CS CS 55201

Module 1. Introduction. Version 2, CSE IIT, Kharagpur

UNIVERSITY OF NEBRASKA AT OMAHA Computer Science 3550 Communication Networks

Review For Exam 2. Fundamentals of Data & Signals. Summary Questions. School of Business Eastern Illinois University

Data Link Layer: Overview, operations

CSMC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala. Nov 1,

UNIT I FUNDAMENTALS & LINK LAYER

Monash University SAMPLE EXAM. Faculty Of Information Technology. Computer Facilities and Network Management

LAN Interconnection and Other Link Layer Protocols

Token Ring and. Fiber Distributed Data Interface (FDDI) Networks: Token Ring and FDDI 1

Module 5. Broadcast Communication Networks. Version 2 CSE IIT, Kharagpur

Transcription:

L3: Building Direct Link Networks I Hui Chen, Ph.D. Dept. of Engineering & Computer Science Virginia State University Petersburg, VA 23806 8/22/2016 CSCI 445 Fall 2016 1

Acknowledgements Some pictures used in this presentation were obtained from the Internet The instructor used the following references Larry L. Peterson and Bruce S. Davie, Computer Networks: A Systems Approach, 5th Edition, Elsevier, 2011 Andrew S. Tanenbaum, Computer Networks, 5th Edition, Prentice- Hall, 2010 James F. Kurose and Keith W. Ross, Computer Networking: A Top- Down Approach, 5th Ed., Addison Wesley, 2009 Larry L. Peterson s (http://www.cs.princeton.edu/~llp/) Computer Networks class web site 2

Direct Link Networks Types of Networks Point-to-point Multiple access What problems do we need to solve to build even a direct link network? 3

Direct Link Networks Types of Networks Point-to-point Multiple access Encoding Encoding bits onto transmission medium Framing Delineating sequence of bits into messages Error detection Detecting errors and acting on them Reliable delivery Making links appear reliable despite errors Media access control (specific to multiple access networks) Mediating access to shared link 4

Physical Medium Guided media: transmission in bounded media (wires) Examples: Twisted pair, coaxial cable, optical fiber Unguided media: transmission in open space (wireless) Examples: Radio, Sonar Some wave oscillation propagates in the medium and carries signal Frequency of carrier waves (or carrier signals) Problem: convert digital data to physical signal that is transmitted in a physical medium 5

Modulation Modulation Varying frequency, amplitude, or phase of carrier signal with a modulating signal that carries information 6

Encoding Encoding Encode bits (binary data) into the signals Modulation is not our focus Assume working with two discrete signals: high and low Nonreturn-to-zero (NRZ) Nonreturn-to-zero-inverted (NRZI) Manchester 4B/5B 7

Non-Return-to-Zero (NRZ) Low 0 High 1 Long strings of 1s or 0s Baseline wander Difficult to recover clock 8

Non-Return-to-Zero-Inverted (NRZI) Signal transition 1 No transition 0 Solve the problem caused by consecutive 1 s The problem caused by consecutive 0 s remains 9

Manchester 0 low-to-high transition That is, NRZ signal Clock signal 1 high-to-low transition Solve the problems caused by both consecutive 1 s and 0 s New problem 50% efficient: Two samples per clock cycle to detect a transition, bit rate is 50% of baud rate (rate of signal changes) 10

Exercise L3-1 Encode bit sequence 01101 using NRZ, NRZI, Manchester encoding by indicating bits and by drawing clock, NRZ, NRZI, and Manchester signals as in page 80 of the textbook 11

4B/5B Motivations To cope with baseline wander To ease clock recovery To increase encoding efficiency (bit rate/baud rate) 12

4B/5B Break long strings of repeated 0 s and 1 s before transmission: 4 bits 5 bits Every 4 bits of actual data are encoded in a 5-bit code 4 bits data symbols: 2 4 = 16 5 bits codes: 2 5 = 32 No more than 1 leading 0 s in codes and no more than 2 trailing 0 s No pair of 5-bit codes results in more than 3 consecutive 0 s 11111:line is idle 01101: control symbols Transmit codes using NRZI: 80% efficiency 13

4B/5B Encoding 14

Exercise L3-2 Encode bit sequence 01011000 using 4B/5B encoding by showing the conversion between 4-bit sequences of data and their 5-bit sequences of codes and drawing clock and 4B/5B signals 15

Direct Link Networks Types of Networks Point-to-point Multiple access Encoding Encoding bits onto transmission medium Framing Delineating sequence of bits into messages Error detection Detecting errors and acting on them Reliable delivery Making links appear reliable despite errors Media access control Mediating access to shared link 16

Framing Packet-switched networks block of data are exchanged between nodes Breaking bits into frames Key issue: identity where a frame begins and the ends To discuss in the context of point-to-point links Byte-oriented framing: frame as a collection of bytes Bit-oriented framing: frame as a collection of bits Clock-based framing (vs. sentinel-based approaches) Framing is a fundamental problem that must be addressed in multiple-access networks as well. 17

Byte-Oriented Framing Example: Binary Synchronous Communication (BISYNC) A frame is illustrated as a sequence of labeled fields 18

BISYNC Uses special characters known as sentinel characters to indicate whether frames begins and ends The beginning of a frame: SYN The data portion of the frame is contained between STX and ETX The start of header: SOH 19

BISYNC Problem: ETX may appear in the data Solution: escaping ETX DLE ETX DLE DLE DLE 20

Exercise L3-3 DATA = 1A E2 02 2A 16 10 20. Use the sentinels in ASCII table, what would be the bytes in the bodyof the frame using BISYNC? In the bodyof a frame using BISYNC, is it possible to see the following byte sequence and why? 4A 10 51 6B 21

Bit-Oriented Framing View a frame as a collection of bits Example: High-level Data Link Control (HDLC) 22

HDLC Beginning and ending sequence: 01111110 01111110 may appear in the body of the frame bit stuffing 11111 111110 no 6 1 s in a row in the body 23

Clock-based Framing Versus sentinel-based approaches Example: SONET Popular in network backbone Has a close tie with telephony systems Specification takes entire book Frame is of fixed length 125 µs for STS-1 (51.84 Mbps) Q: How big is a Mega (sidebar in page 45) 125 µs =? Bytes Detect the frame header at each interval of frame size 24

Summary Bits signal Encoding Bits frames Framing Q: What if the link is not error free? In other words, what if a frame is corrupted? Error detection Reliable transmission 25