CSE 331: Introduction to Networks and Security Fall 2000 Instructor: Carl A. Gunter Slide Set 2.

Slides:



Advertisements
Similar presentations
Spring 2000CS 4611 Introduction Outline Statistical Multiplexing Inter-Process Communication Network Architecture Performance Metrics.
Advertisements

Data Communications System By Ajarn Preecha Pangsuban.
Spring 2003CS 4611 Introduction, Continued COS 461.
 Readings: Peterson & Davie, Chapter 1.  “We reject kings, presidents, and voting. We believe in rough consensus and running code.”
Lecture 2 Protocol Layers CPE 401 / 601 Computer Network Systems slides are modified from Dave Hollinger.
Spring 2004 EE4272 EE4272: Computer Networks Instructor: Dr. Tricia Chigan Dept.: Elec. & Comp. Eng.
Department of Computer Engineering University of California at Santa Cruz Networking Systems (1) Hai Tao.
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.
The OSI Model and the TCP/IP Protocol Suite
CPSC156a: The Internet Co-Evolution of Technology and Society Lecture 3: September 11, 2003 Internet Basics, continued Acknowledgments: R. Wang and J.
Spring 2003CS 4611 Welcome to COS 461 Vivek Pai. Spring 2003CS 4612 Mechanics First time teaching 461 –But have been doing some level of networking for.
CSE331: Introduction to Networks and Security Lecture 7 Fall 2002.
1/20 Introduction Outline Statistical Multiplexing Inter-Process Communication Network Architecture Performance Metrics Implementation Issues.
EE 4272Spring, 2003 Protocols & Architecture A Protocol Architecture is the layered structure of hardware & software that supports the exchange of data.
Data Communications Architecture Models. What is a Protocol? For two entities to communicate successfully, they must “speak the same language”. What is.
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.
Review on Networking Technologies Linda Wu (CMPT )
TCP/IP Reference Model Host To Network Layer Transport Layer Application Layer Internet Layer.
1 Review of Important Networking Concepts Introductory material. This slide uses the example from the previous module to review important networking concepts:
Fundamentals of Computer Networks ECE 478/578 Lecture #2 Instructor: Loukas Lazos Dept of Electrical and Computer Engineering University of Arizona.
Lecture 1, 1Spring 2003, COM1337/3501Computer Communication Networks Rajmohan Rajaraman COM1337/3501 Textbook: Computer Networks: A Systems Approach, L.
Protocols and the TCP/IP Suite Chapter 4. Multilayer communication. A series of layers, each built upon the one below it. The purpose of each layer is.
CS 6401 Introduction to Networking Aditya Akella Outline Administrivia Networking History Statistical Multiplexing Performance Metrics.
Fall 2009COSC 6501 Welcome to COSC650 Towson University Yanggon Kim.
1 Introduction to Computer Networks Foundation Ilam University Mozafar Bag-Mohammadi.
Review: – computer networks – topology: pair-wise connection, point-to-point networks and broadcast networks – switching techniques packet switching and.
Protocol Layering Chapter 10. Looked at: Architectural foundations of internetworking Architectural foundations of internetworking Forwarding of datagrams.
1 An Introduction to Computer Networks University of Tehran Dept. of EE and Computer Engineering By: Dr. Nasser Yazdani Lecture 2: Foundation.
1 Chapter 1 Foundation Computer Networks: A Systems Approach, 5e Larry L. Peterson and Bruce S. Davie Copyright © 2010, Elsevier Inc. All rights Reserved.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Introduction Slide 1 A Communications Model Source: generates.
Fall 2005Computer Networks20-1 Chapter 20. Network Layer Protocols: ARP, IPv4, ICMPv4, IPv6, and ICMPv ARP 20.2 IP 20.3 ICMP 20.4 IPv6.
Computer Networking. 2 Outline 3 Objectives Understand the state-of-the-art in network protocols, architectures and applications Understand how networking.
Lecture 3 Overview. Protocol An agreed upon convention for communication both endpoints need to understand the protocol. Protocols must be formally defined.
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.
UNDERSTANDING THE HOST-TO-HOST COMMUNICATIONS MODEL - OSI LAYER & TCP/IP MODEL 1.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
Chapter 2 Protocols and the TCP/IP Suite 1 Chapter 2 Protocols and the TCP/IP Suite.
Networking Fundamentals. Basics Network – collection of nodes and links that cooperate for communication Nodes – computer systems –Internal (routers,
William Stallings Data and Computer Communications
1 Pre-Introduction What is computer network?. 2 Pre-Introduction Suppose you want to build a computer network The question is: –What available technologies.
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.
1 Networking. 2 Network “... communication system for connecting end-systems” End-systems a.k.a. “hosts” PCs, workstations dedicated computers network.
Lecture # 02 Network Models Course Instructor: Engr. Sana Ziafat.
1 Introduction Outline Statistical Multiplexing Inter-Process Communication Network Architecture Performance Metrics Implementation Issues.
Spring 2002CS 3321 Introduction Outline Statistical Multiplexing Network Architecture Performance Metrics (just a little)
Sem1 - Module 10 Routing Fundamentals and Subnets
Introduction Computer networks: – definition – computer networks from the perspectives of users and designers – Evaluation criteria – Some concepts: –
1 Chapter 1: Foundation Dr. Rocky K. C. Chang 30 January 2004.
J. Liebeher (modified by M. Veeraraghavan) 1 Introduction Complexity of networking: An example Layered communications The TCP/IP protocol suite.
Building A Network: Cost Effective Resource Sharing
Performance Metrics & Network Architectures Professor Jinhua Guo CIS 427 Winter 2003.
CSE331: Introduction to Networks and Security Lecture 2 Fall 2002.
Lecture # 02 Network Models Course Instructor: Engr. Sana Ziafat.
Network Processing Systems Design
Lecture (2).
IP - The Internet Protocol
Scaling the Network: The Internet Protocol
OSI Protocol Stack Given the post man exemple.
IP - The Internet Protocol
The University of Adelaide, School of Computer Science
University of Houston Datacom II Lecture 1B Review Dr Fred L Zellner
Scaling the Network: The Internet Protocol
Introduction and Foundation
Network Basics and Architectures Neil Tang 09/05/2008
Presentation transcript:

CSE 331: Introduction to Networks and Security Fall 2000 Instructor: Carl A. Gunter Slide Set 2

Issues l Information movement implies:  An information source  An information destination  A path from source to destination l Addresses are used to locate source and destination l Path can be static or dynamic

Paths are made of links l Links are interconnected by zero or more network elements, e.g., switches, routers, hubs, bridges, etc. l Links have delay and throughput l Path delay is sum of link delays plus switching delays l Path throughput = bottleneck link t’put

Some link types: l Multiple-access (e.g., Ethernet LAN)  10, 100 Mbps, 1km, 100m diameters l SONET Fiber (up to 9.6 Gbps) l CATV (usually 1-6 Mbps, asymmetric) l ISDN (64 Kbps*n with bonding) l POTS (56 Kbps w/luck & clever coding)

Making a network l Rules for interconnecting links l Rules for interpreting addresses l Link properties versus end-to-end properties  e.g., ATM guarantees in-order arrival  e.g., TCP makes reliable stream from datagrams

Together, rules make a protocol l Protocols are logically layered l Peer-to-peer, corresponding layers l Higher layers constructed using lower layer protocols l Examples: OSI and IP

Requirements l Connectivity l Cost-effective resource sharing l Functionality l Performance

Direct Links Point to Point Multiple Access

Switched Networks Network “Cloud” Hosts Network Elements Links

Internetworks Router (Gateway)

Further Distinctions l Addressing  Unicast  Broadcast  Multicast  Anycast l Size  Local  Wide  Metropolitan  Desk

Desk Area Network

Sharing Resources l How can hosts share the network if they want to use it at the same time?  How can they share links?  How can they share switches?

Multiplexing strategies l Two approaches  Synchronous Time-Division Multiplexing (STDM).  Statistical Multiplexing. l Tradeoffs  STDM can ensure service for a complete communication, but may waste resources.  Statistical multiplexing ensures less, but can make better use of resources.

Packets and Congestion

Functionality The aim of the network is to support the communication needs of applications. Reliable unicast channel Unreliable multicast channel with in-order delivery A B C F E D

Dealing with failure l Congestion l Bit or burst errors l Link or node outages

Performance l Bandwidth (throughput)  The number of bits that can be transmitted over the network in a certain period of time. l Latency (delay)  How long it takes a single bit to propagate from one end of the network to the other.  Round Trip Time (RTT): how long it takes for a bit to get from one end of the network to the other and back.

Key equations (Perceived) Latency = Propagation + Transmit + Queue Propagation = Distance / SpeedOfLight Transmit = Size / Bandwidth

Some Units l Mbps = 10**6 bits/sec l byte = 8 bits l KB = 2**10 bytes (= 8,192 bits) l MB = 2**20 bytes (= 8,388,608 bits) l ms = 10**-3 seconds l  s = 10**-6 seconds

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

Latency Bound l Send a 1 byte message 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%

Bandwidth Bound l Send a 25 MB message 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%

Perceived latency

Other measures l Bit width (seconds): 1 bit / bandwidth. l Delay x Bandwidth (bits). l Instructions per mile: number of instructions a machine can execute in the time it takes to send a bit for a mile.

Cycles per mile example l RTT from Penn to Stanford: 120ms l Best in principle is 48ms l On 400 MHz workstation, 48 million cycles elapse in that time. l 6000 mile round trip means 8000 cycles per mile.

Bit width

Architecture l Many requirements introduce complexity. l Complexity can be controlled by abstraction. l Fundamental idea is to create a separation of concerns, so that each module can focus primarily on its own objectives.

Protocol “Stack” idea l Realization of layered model l Optimizations designed to improve performance  e.g., reducing copying  e.g., removing functional redundancy l Applications at top, cable at bottom

Applications on hosts Madison Chicago Saul Eniac Application

Basic stack Process-to-Process Channels Host-to-Host Connectivity Hardware Application Programs Request / Reply ChannelMessage Stream Channel

Protocol Stacks illustrated: l Service and peer interfaces Protocol High-level Object High-level Object Peer-to-peer interface Service interfaceService Interface Host #1 Host #2

Protocol graph

Encapsulation

Example: TCP/IP over Ethernet ETH Src ETH Dst IP Header TCP Packet (Sequence #, Checksum & Data)

Encapsulation Challenges l Copying Data between layers l Size differences  ATM: 53 bytes, 48 payload  Ethernet: 1536 bytes, 1500 payload  IP: variable to 65,536  Solved with fragmentation and reassembly

OSI network stack

Internet protocol graph FTPHTTPNVTFTP TCP UDF IP EthernetATMFDDI