1 Point-to-Point Links: Encoding Encoding: Section 2.2 (Section 2.1 read on your own)

Slides:



Advertisements
Similar presentations
CSCI-1680 Physical Layer Link Layer I Based partly on lecture notes by David Mazières, Phil Levis, John Jannotti Rodrigo Fonseca.
Advertisements

1 Chapter 2 Agenda Announcements / updates Gayle Laakman McDowell, 10/11, 4:30pm, UW2-005 GUIs / IDEs for remotely accessing uw1-320-lab Other references.
1 Links Reading: Chapter 2 COS 461: Computer Networks Spring 2006 (MW 1:30-2:50 in Friend 109) Jennifer Rexford Teaching Assistant: Mike Wawrzoniak
Chapter 2 Fundamentals of Data and Signals
CS 4700 / CS 5700 Network Fundamentals Lecture 5: Physical Layer (The layer for EE majors…) Revised 1/14/13.
CSCD 218 : DATA COMMUNICATIONS AND NETWORKING 1
5-1 Link Layer: Introduction Some terminology: r hosts and routers are nodes r communication channels that connect adjacent nodes along communication path.
Spring 2002CS 4611 Outline Encoding Framing Error Detection Sliding Window Algorithm Point-to-Point Links.
Fundamentals of Computer Networks ECE 478/578 Lecture #3: Encoding and Framing Instructor: Loukas Lazos Dept of Electrical and Computer Engineering University.
5: DataLink Layer5-1 Chapter 5 Link Layer and LANs Computer Networking: A Top Down Approach Featuring the Internet, 3 rd edition. Jim Kurose, Keith Ross.
1 Physical Layer: Data Encoding & Transmission. 2 Network Interface Card (NIC) LL in part, PL in total are implemented in NIC –Ethernet card, card,
1 Outline Encoding Framing Error Detection Sliding Window Algorithm Point-to-Point Links.
Links COS 461: Computer Networks Spring 2011 Mike Freedman
Chapter 5 Link Layer slides are modified from J. Kurose & K. Ross CPE 400 / 600 Computer Communication Networks Lecture 20.
Spring 2004 EE4272 Direct Link Networks (I) Hardware Building Blocks (nodes & links) 5 Issues before Exchanging Packets  Encoding  Framing  Error Detection.
5-1 Data Link Layer r Today, we will study the data link layer… r This is the last layer in the network protocol stack we will study in this class…
Spring 2003CS 4611 Outline Encoding Framing Error Detection Sliding Window Algorithm Point-to-Point Links.
Base-Band Digital Data Transmission Prepared By: Amit Degada. Electronics Engineering Department, Sardar Vallabhbhai National Institute of Technology,
3-1 Last time □ Finished introduction and overview: ♦ Network access and physical media ♦ Internet structure and ISPs ♦ Delay & loss in packet-switched.
Introduction 1 Lecture 23 Link Layer (Error Detection/Correction) slides are modified from J. Kurose & K. Ross University of Nevada – Reno Computer Science.
5: DataLink Layer5-1 Chapter 5 Link Layer and LANs Part 1: Overview of the Data Link layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose,
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.
CSCI-1680 Physical Layer Based partly on lecture notes by David Mazières, Phil Levis, John Jannotti Rodrigo Fonseca.
Computer Communication & Networks Lecture # 05 Physical Layer: Signals & Digital Transmission Nadeem Majeed Choudhary
CHAPTER 2 HARDWARE BUILDING BLOCK ENCODING FRAMING ERROR DETECTION.
27-Oct-15Computer Networks1 Outline Chapter 2: Direct Link Networks Encoding Framing Error Detection Sliding Window Algorithm Point-to-Point Links.
5: DataLink Layer5-1 Chapter 5 Link Layer and LANs Computer Networking: A Top Down Approach Featuring the Internet, 3 rd edition. Jim Kurose, Keith Ross.
Chapter 5 Link Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 Link Layer introduction,
5: DataLink Layer5-1 Link Layer r 5.1 Introduction and services r 5.2 Error detection and correction r 5.3Multiple access protocols r 5.4 Link-Layer Addressing.
CS 4700 / CS 5700 Network Fundamentals
1 CHAPTER 2 HARDWARE BUILDING BLOCK ENCODING FRAMING ERROR DETECTION.
Link Layer Dr. Mozafar Bag-Mohammadi Ilam University.
CSCI-1680 Physical Layer Based partly on lecture notes by David Mazières, Phil Levis, John Jannotti Rodrigo Fonseca.
9-Jan-164/598N: Computer Networks Overview Performance metrics - Section 1.5 Direct link networks –Hardware building blocks - Section 2.1 –Encoding - Section.
Physical Layer Issues and Methods Outline Physical Layer Overview Non-Return to Zero Manchester 4B/5B.
T. S. Eugene Ngeugeneng at cs.rice.edu Rice University1 COMP/ELEC 429 Introduction to Computer Networks Lecture 6: Datalink layer problems Slides used.
Shashank Srivastava Motilal Nehru national Institute Of Information Technology, Allahabad Data Link Layer.
Physical Layer Issues and Methods Outline Physical Layer Ethernet Technology Physical Layer Encoding Final Exam Review - ??
1 Chapter 2: Direct Link Networks (Part One) Dr. Rocky K. C. Chang 30 January 2004.
5: DataLink Layer5-1 Chapter 5: The Data Link Layer Our goals: r understand principles behind data link layer services: m error detection, correction m.
Building A Network: Cost Effective Resource Sharing
Data Link Layer Part I: Encoding. Network Architecture application transport network link physical message segment packet frame signal.
5: DataLink Layer5-1 Chapter 5 Link Layer and LANs Computer Networking: A Top Down Approach Featuring the Internet, 3 rd edition. Jim Kurose, Keith Ross.
The OSI Model An overview of the media layer (Physical, Data Link, Network) By Luke Shiffner.
CSE331: Introduction to Networks and Security Lecture 2 Fall 2002.
CPSC 441: Link Layer1 Link Layer Addressing Slides originally from Carey Williamson Notes derived from “ Computer Networking: A Top Down Approach”, by.
CS 457 – Lecture 3 Link Layer Protocols Fall 2011.
CSE 320 Data Communications
Networking CS 3470, Section 1 Sarah Diesburg
Data Encoding Data Encoding refers the various techniques of impressing data (0,1) or information on an electrical, electromagnetic or optical signal that.
Getting Connected (Chapter 2 Part 1)
Networking CS 3470, Section 1 Sarah Diesburg
CS 3700 Networks and Distributed Systems
CSCI-1680 Physical Layer Link Layer I
Data Link Issues Relates to Lab 2.
CS 3700 Networks and Distributed Systems
Link Layer and LANs Its not about how hard you hit... It's about how hard you can get hit and keep moving forward 5: DataLink Layer.
NET301 Lecture 5 10/18/2015 Lect5 NET301.
NET301 Lecture 5 10/18/2015 Lect5 NET301.
Ion Stoica September 6, 2001 EE 122: Lecture 4 Ion Stoica September 6, 2001.
CS 4700 / CS 5700 Network Fundamentals
Building A Network: Cost Effective Resource Sharing
Fundamentals of Computer Networks
Networking CS 3470, Section 1 Sarah Diesburg
CSCI-1680 Physical Layer Link Layer I
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 Layer: Overview; Error Detection
EECS 122: EE122: Error Detection and Reliable Transmission
Presentation transcript:

1 Point-to-Point Links: Encoding Encoding: Section 2.2 (Section 2.1 read on your own)

2 Message, Segment, Packet, and Frame HTTP TCP IP Ethernet interface HTTP TCP IP Ethernet interface IP Ethernet interface Ethernet interface SONET interface SONET interface host router HTTP message TCP segment IP packet Ethernet frame SONET frame

3 Link Layer Protocol for Each Hop IP packet transferred over multiple hops –Each hop has a link layer protocol –May be different on different hops Analogy: trip from Amman to Salzburg (Austria) –Car: Home to Airport (QAIA) –Plane: QAIA to Vienna –Train: Vienna to Salzburg

4 Adaptors Communicating Link layer implemented in adaptor (network interface card) –Ethernet card, card, PCMCIA cardPCMCIA card Sending side: –Encapsulates packet in a frame  Adds error checking bits, flow control, etc. –Encodes bits into signals Receiving side –Decodes signals into bits –Looks for errors, flow control, etc. –Extracts packet and passes to receiving node sending node frame receiving node packet frame adapter link layer protocol

5 Link-Layer Services Encoding Framing –Using Media Access Control (MAC) addresses, rather than IP addresses Error detection –Errors caused by signal attenuation, noise. –Receiver detecting presence of errors Error correction –Receiver correcting errors without retransmission Flow control –Pacing between adjacent sending and receiving nodes

6 Encoding Goal: –Connect nodes in such a way that bits can be transmitted in signals from one node to another Idea: The physical medium is used to propagate signals –Source node encodes the bits into a signal  Modulate electromagnetic/light waves Vary voltage, frequency, power –Receiving node decodes the signal back into bits

7 Signals and bits Signals travel between signaling components; bits flow between adaptors.

8 Voltage Encoding Common binary voltage encodings –Non-return to zero (NRZ) –NRZ inverted (NRZI) –Manchester (used by IEEE 802.3—10 Mbps Ethernet) –4B/5B

9 Non-return to zero (NRZ) Encoding Simplify some electrical engineering details –Assume two discrete signals, high and low –E.g., could correspond to two different voltages Simple approach –High for a 1, low for a

10 Problem With Simple Approach Long strings of 0s or 1s introduce problems –No transitions from low-to-high, or high-to-low Baseline Wander problem –Receiver keeps average of signal it has received –Uses the average to distinguish between high and low –Long flat strings make receiver sensitive to small change Clock Drift problem –Transitions necessary for clock synchronization (recovery) at receiver –Receiver uses transitions to drive its own clock –Long flat strings do not produce any transitions to synchronize sender/receiver clocks

11 Non-Return to Zero Inverted (NRZI) Signal to Data –Transition  1 –Maintain  0 Bits NRZ NRZI Comments –Strings of 0’s still a problem

12 Manchester Encoding Signal to Data –XOR NRZ data with clock –High to low transition  1 –Low to high transition  0 Comments –Solves clock recovery problem –Only 50% efficient (bit rate = 1/2 baud rate * ) Bits NRZ Clock Manchester *baud rate= rate at which the signal changes

13 4B/5B Signal to Data –Encode every 4 consecutive bits as a 5 bit symbol Symbols –At most 1 leading 0 –At most 2 trailing 0s –Never more than 3 consecutive 0s –Transmit with NRZI Comments –80% efficient

14 Table 2.4 4B/5B encoding 4-Bit Data Symbol 5-Bit Code