CSE331: Introduction to Networks and Security Lecture 2 Fall 2002.

Slides:



Advertisements
Similar presentations
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.
Advertisements

Spring 2000CS 4611 Introduction Outline Statistical Multiplexing Inter-Process Communication Network Architecture Performance Metrics.
Jaringan Informasi Pengantar Sistem Terdistribusi oleh Ir. Risanuri Hidayat, M.Sc.
Spring 2003CS 4611 Introduction, Continued COS 461.
CS 4700 / CS 5700 Network Fundamentals Lecture 5: Physical Layer (The layer for EE majors…) Revised 1/14/13.
Network Architectures Professor Jinhua Guo CIS 527 Fall 2002.
Spring 2004 EE4272 EE4272: Computer Networks Instructor: Dr. Tricia Chigan Dept.: Elec. & Comp. Eng.
CIS 527 Computer Networks Introduction Professor Jinhua Guo (updated version) Fall 2003.
Foundation Outline Requirements Network Architecture Implementing Network Software.
Networking Theory (Part 1). Introduction Overview of the basic concepts of networking Also discusses essential topics of networking theory.
OSI Model MIS 416 – Module II Spring 2002 Networking and Computer Security.
1/20 Introduction Outline Statistical Multiplexing Inter-Process Communication Network Architecture Performance Metrics Implementation Issues.
1 Link Layer & Network Layer Some slides are from lectures by Nick Mckeown, Ion Stoica, Frans Kaashoek, Hari Balakrishnan, and Sam Madden Prof. Dina Katabi.
Protocol Architecture The “Common Language”. Copyright by Jorg Liebeherr 98, 99 Need for Protocols Protocols are a set of rules and conventions. By enforcing.
Computer Communication & Networks
Fundamentals of Computer Networks ECE 478/578 Lecture #2 Instructor: Loukas Lazos Dept of Electrical and Computer Engineering University of Arizona.
Fall 2009COSC 6501 Welcome to COSC650 Towson University Yanggon Kim.
1 Introduction to Computer Networks Foundation Ilam University Mozafar Bag-Mohammadi.
Fall 2000Datacom 11 Lecture 4 Socket Interface Programming: Service Interface between Applications and TCP.
Review: – computer networks – topology: pair-wise connection, point-to-point networks and broadcast networks – switching techniques packet switching and.
Chapter 2 Network Models
Presentation on Osi & TCP/IP MODEL
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
CS 640: Introduction to Computer Networks Aditya Akella Lecture 5 - Encoding and Data Link Basics.
Protocol Architectures. Simple Protocol Architecture Not an actual architecture, but a model for how they work Similar to “pseudocode,” used for teaching.
1 An Introduction to Computer Networks University of Tehran Dept. of EE and Computer Engineering By: Dr. Nasser Yazdani Lecture 2: Foundation.
CSE331: Introduction to Networks and Security Lecture 3 Fall 2002.
Internet Addresses. Universal Identifiers Universal Communication Service - Communication system which allows any host to communicate with any other host.
1 Chapter 1 Foundation Computer Networks: A Systems Approach, 5e Larry L. Peterson and Bruce S. Davie Copyright © 2010, Elsevier Inc. All rights Reserved.
Computer Communication & Networks Lecture # 02 Nadeem Majeed Choudhary
ECE 4400:427/527 - Computer Networks Spring 2015 Dr. Nghi Tran Department of Electrical & Computer Engineering Lecture 3: Network Architectures Dr. Nghi.
Computer Communication & Networks Lecture # 05 Physical Layer: Signals & Digital Transmission Nadeem Majeed Choudhary
TCOM 509 – Internet Protocols (TCP/IP) Lecture 03_b Protocol Layering Instructor: Dr. Li-Chuan Chen Date: 09/15/2003 Based in part upon slides of Prof.
CHAPTER 2 HARDWARE BUILDING BLOCK ENCODING FRAMING ERROR DETECTION.
CSE 461: Bits and Bandwidth Next Topic  Focus: How do we send a message across a wire?  The physical / link layers: 1. Different kinds of media 2.
1 Pre-Introduction What is computer network?. 2 Pre-Introduction Suppose you want to build a computer network The question is: –What available technologies.
CS 4700 / CS 5700 Network Fundamentals
Fall 2001CS 6401 Introduction to Networking Outline Networking History Statistical Multiplexing Performance Metrics.
Spring 2002CS 4611 Introduction Outline Statistical Multiplexing Inter-Process Communication Network Architecture Performance Metrics Implementation Issues.
Requirements Connectivity Resource Sharing Support for Common Services Performance.
Network Models.
9-Jan-164/598N: Computer Networks Overview Performance metrics - Section 1.5 Direct link networks –Hardware building blocks - Section 2.1 –Encoding - Section.
1 Chapter 4. Protocols and the TCP/IP Suite Wen-Shyang Hwang KUAS EE.
Physical Layer Issues and Methods Outline Physical Layer Overview Non-Return to Zero Manchester 4B/5B.
Lecture # 02 Network Models Course Instructor: Engr. Sana Ziafat.
Protocol Layering Chapter 11.
1 Introduction Outline Statistical Multiplexing Inter-Process Communication Network Architecture Performance Metrics Implementation Issues.
Physical Layer Issues and Methods Outline Physical Layer Ethernet Technology Physical Layer Encoding Final Exam Review - ??
1 Network Architecture Section Network Architecture Challenge –Fill the gap between hardware capabilities and application expectations, and to.
1 Point-to-Point Links: Encoding Encoding: Section 2.2 (Section 2.1 read on your own)
Building A Network: Cost Effective Resource Sharing
Performance Metrics & Network Architectures Professor Jinhua Guo CIS 427 Winter 2003.
CSE 331: Introduction to Networks and Security Fall 2000 Instructor: Carl A. Gunter Slide Set 2.
Lecture # 02 Network Models Course Instructor: Engr. Sana Ziafat.
Lect-10-2: Physical Layer Computer Networks : An Introduction to Computer Networks Handout #12: Physical Layer Signaling, Coding and Clocking.
Networking Using the OSI Model.
A quick intro to networking
Network Architecture Layered system with alternative abstractions available at a given layer.
OSI Protocol Stack Given the post man exemple.
Layered Architectures
Understanding the OSI Reference Model
ECE 4400:427/527 - Computer Networks Spring 2017
Chapter 3: Open Systems Interconnection (OSI) Model
The University of Adelaide, School of Computer Science
University of Houston Datacom II Lecture 1B Review Dr Fred L Zellner
Introduction to Computer Networks
Building A Network: Cost Effective Resource Sharing
Introduction and Foundation
CSCI-1680 Physical Layer Link Layer I
Data Link Layer: Overview; Error Detection
Presentation transcript:

CSE331: Introduction to Networks and Security Lecture 2 Fall 2002

CSE331 Fall Announcements HW1 is due Friday –Homework and lectures are available only inside upenn.edu domain CSE331 newsgroup: upenn.cis.cse331

CSE331 Fall Recap General network concepts –Nodes and links Design goals –Connectivity –Resource sharing –Functionality –Performance Direct link networks –Bandwidth (bits/sec) –Latency = prop. delay + transmit + queue

CSE331 Fall Bandwidth vs. Latency Which is the better deal: –Improve your bandwidth from 1 Mbps to 100 Mbps, or –Improve your RTT from 100 ms to 1 ms? The answer depends on what you need to send.

CSE331 Fall Latency Bound Send 1 byte Perceived Latency 100 ms1 ms 1 Mbps ms1.008 ms 100 Mbps ms ms Transmit Time 1 Mbps8  s 100 Mbps.08  s 99%.008%.8%

CSE331 Fall Bandwidth Bound Send 25 MB Transmit Time 1 Mbps3.5 min 100 Mbps21 sec Perceived Latency 100 ms1 ms 1 Mbps210.1 sec sec 100 Mbps 21.1 sec sec.05%.5%90%

CSE331 Fall Tradeoffs RTT from Penn to Stanford is approx. 100ms 800 MHz workstation –80 million cycles elapsed in that time Data compression –Trades machine cycles for bandwidth (Question: Why is RTT important?)

CSE331 Fall Network Architecture Need a way to deal with the complex requirements of a network Use abstraction to separate concerns –Decompose problem –Modular changes Protocol Layers

CSE331 Fall Protocols A protocol is a specification of an interface between modules (often on different machines) Sometimes “protocol” is used to mean the implementation of the specification. Examples?

CSE331 Fall Interprocess communication Zeta Central Saul Eniac Application

CSE331 Fall Example Protocol Stack Process-to-Process Channels Host-to-Host Connectivity Hardware Application Programs Request / Reply ChannelMessage Stream Channel

CSE331 Fall Protocol Interfaces Service Interfaces –Communicate up and down the stack Peer Interfaces –Communicate to counterpart on another host Protocol High-level Object High-level Object Peer-to-peer interface Service interface Service Interface Host #1 Host #2

CSE331 Fall Example Protocol Graph File App RRP HHP Host 1Host 2 Video App MSP File App RRP HHP Video App MSP

CSE331 Fall Encapsulation File App RRP HHP Host 1Host 2 Video App MSP File App RRP HHP Video App MSP DATA RRPDATARRP HHP DATARRP DATA

CSE331 Fall Open Systems Interconnection (OSI) Application Presentation Session Transport Network Data Link Physical End Host Reference model – not actual implementation. Transmits messages (e.g. FTP or HTTP) Data format issues (e.g. big- vs. little-endian) Manages multiple streams of data Process to process protocols Routes packets among nodes in network Packages bit streams into frames Transmits raw bits over link

CSE331 Fall Open Systems Interconnection (OSI) Application Presentation Session Transport Network Data Link Physical Network Data Link Physical Network Data Link Physical Application Presentation Session Transport Network Data Link Physical Nodes in network End Host

CSE331 Fall Internet Protocol Graph FTPHTTPNVTFTP TCP UDP IP EthernetATMFDDI

CSE331 Fall Problem: Physical connection Transmitting signals Encoding & decoding bits Error detection and correction Reliable transmission

CSE331 Fall Signaling Components Network Adapter Network Adapter Host signal Signaling Components Network adapters encode streams of bits into signals. Simplification: Assume two discrete signals—high and low. Practice: Two different voltages on copper link.

CSE331 Fall Bit Encodings Bits: NRZ Non-return to zero 1 = high, 0 = low Problem: Can lead to long sequences of high or low signals.

CSE331 Fall NRZ Problem 1: baseline wander Receivers keeps average signal seen so far –Significantly higher than average = 1 –Significantly lower than average = 0 Long periods of high/low changes average –Makes it harder to detect significant changes Bits: NRZ

CSE331 Fall NRZ Problem 2: clock recovery Sender & Receiver are driven by clocks –Must keep clocks synchronized to recover bits –When signal changes, can resynchronize clocks Long periods of high/low lead to clock drift Bits: NRZ

CSE331 Fall NRZI: Non-return Transition from current signal to encode “1” Stay at current signal to encode “0” Does not help for consecutive 0’s Bits: NRZ NRZI

CSE331 Fall Manchester Encoding Exclusive-OR of clock and NRZ encoding Doubles rate at which signal transitions are made – less time for receiver to detect changes Bits: NRZ Manchester Clock

CSE331 Fall Efficiency Bit rate vs. Baud rate NRZ and NRZI: bit rate = baud rate = 100% –Suffer from baseline wander and clock drift Manchester: bit rate = ½ baud rate = 50% –Prevents baseline wander and clock drift Can you do better? (Question: can bit rate exceed baud rate?)

CSE331 Fall B/5B Encode 4 bits of data using 5 bits Choose codes to avoid long sequences of 0’s Send 5 bit sequences using NRZI 80% efficiency Encoding –No more than one leading 0 –No more than two trailing 0’s ……