CS4700/CS5700 Fundaments of Computer Networks

Similar documents
CS3600 SYSTEMS AND NETWORKS

INTRODUCTORY COMPUTER

CS4700/CS5700 Fundamentals of Computer Networks

CS4700/CS5700 Fundamentals of Computer Networks

Computer Networks

What Global (non-digital) Communication Network Do You Use Every Day?"

CS 268: Graduate Computer Networks Spring Overview

What Global (non-digital) Communication Network Do You Use Every Day?"

CS4700/CS5700 Fundamentals of Computer Networks

CS4700/CS5700 Fundaments of Computer Networks

CS4700/CS5700 Fundamentals of Computer Networks

Goals for Today s Class. EE 122: Networks & Protocols. What Global (non-digital) Communication Network Do You Use Every Day?

CS3600 SYSTEMS AND NETWORKS

CS4700/CS5700 Fundamentals of Computer Networks

CS4700/CS5700 Fundamentals of Computer Networks

CS3600 SYSTEMS AND NETWORKS

EE 122: Introduction To Communication Networks. Some Questions & Answers

CS4700/CS5700 Fundamentals of Computer Networks

Lecture 7. Network Layer. Network Layer 1-1

CS 457 Networking and the Internet. Network Overview (cont d) 8/29/16. Circuit Switching (e.g., Phone Network) Fall 2016 Indrajit Ray

EE 122: Introduction to Computer Networks Fall 2002

Lecture 2 Communication services The Trasport Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

Switching / Forwarding

UNIT- 2 Physical Layer and Overview of PL Switching

Transport Layer. Gursharan Singh Tatla. Upendra Sharma. 1

Network layer overview

Master Course Computer Networks IN2097

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 11

Chapter 10. Circuits Switching and Packet Switching 10-1

COMP/ELEC 429/556 Introduction to Computer Networks

UNIT-II OVERVIEW OF PHYSICAL LAYER SWITCHING & MULTIPLEXING

LAN Interconnection and Other Link Layer Protocols

BROADBAND AND HIGH SPEED NETWORKS

HW3 and Quiz. P14, P24, P26, P27, P28, P31, P37, P43, P46, P55, due at 3:00pm with both soft and hard copies, 11/11/2013 (Monday) TCP), 20 mins

Computer Networks. Instructor: Niklas Carlsson

Communication Networks

Chapter 4. Computer Networking: A Top Down Approach 5 th edition. Jim Kurose, Keith Ross Addison-Wesley, sl April 2009.

CSE 3214: Computer Network Protocols and Applications Network Layer

Class Overview. CSE 123b Communications Software. Some hints. Some hints (2) Administrativa. Course material. Winter 2002

BROADBAND AND HIGH SPEED NETWORKS

Chapter 4 Network Layer

Transport Layer Overview

Last time. Wireless link-layer. Introduction. Characteristics of wireless links wireless LANs networking. Cellular Internet access

Communications Software. CSE 123b. CSE 123b. Spring Lecture 1: Introduction & Review. Stefan Savage.

CMSC 332 Computer Networks Network Layer

CSC 401 Data and Computer Communications Networks

COMP/ELEC 429/556 Introduction to Computer Networks

Data Networks. Lecture 1: Introduction. September 4, 2008

Communication Fundamentals in Computer Networks

BROADBAND AND HIGH SPEED NETWORKS

This Lecture. BUS Computer Facilities Network Management. Switching Network. Simple Switching Network

CN1047 INTRODUCTION TO COMPUTER NETWORKING CHAPTER 6 OSI MODEL TRANSPORT LAYER

Key Network-Layer Functions

TSIN02 - Internetworking

Welcome to CS 340 Introduction to Computer Networking

Packe k t e S w S it w ching

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

William Stallings Data and Computer Communications. Chapter 10 Packet Switching

COMP/ELEC 429/556 Introduction to Computer Networks

Data Communication & Networks G Session 7 - Main Theme Networks: Part I Circuit Switching, Packet Switching, The Network Layer

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

Digital Communication Networks

CSE 461 Module 10. Introduction to the Transport Layer

Homework 1. Question 1 - Layering. CSCI 1680 Computer Networks Fonseca

C13a: Packet Switching

ATM. Asynchronous Transfer Mode. these slides are based on USP ATM slides from Tereza Carvalho. ATM Networks Outline

Introduction to ATM Technology

COMPUTER NETWORK Model Test Paper

Page # Course Description. CS 552 Computer Networks. Overview. Administrative

TSIN02 - Internetworking

Lecture #6 Multiplexing and Switching

More on Link Layer. Recap of Last Class. Interconnecting Nodes in LAN (Local-Area Network) Interconnecting with Hubs. Computer Networks 9/21/2009

Packet Switching Networks. Dr. Indranil Sen Gupta Packet Switching Networks Slide 1

CMPE 80N: Introduction to Networking and the Internet

Wide area networks: packet switching and congestion

Goals and topics. Verkkomedian perusteet Fundamentals of Network Media T Circuit switching networks. Topics. Packet-switching networks

A closer look at network structure:

Routing in packet-switching networks

COMP/ELEC 429/556 Introduction to Computer Networks

Overview of Networks

CSCE 463/612 Networks and Distributed Processing Spring 2018

TCOM 370 NOTES 99-1 NETWORKING AND COMMUNICATIONS

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

The Transmission Control Protocol (TCP)

CSCI Computer Networks

COMP/ELEC 429/556 Introduction to Computer Networks

Transport Layer. Chapter 3: Transport Layer

William Stallings Data and Computer Communications 7 th Edition. Chapter 10 Circuit Switching and Packet Switching

Data and Computer Communications

Internet Architecture and Protocol

Outline: Connecting Many Computers

CS 43: Computer Networks. 20: The Network Layer November 5, 2018

Subject Data Communication. Subject Code 15CS46. Module 2 (Part 2) Multiplexing and Switching

IP Packet Switching. Goals of Todayʼs Lecture. Simple Network: Nodes and a Link. Connectivity Links and nodes Circuit switching Packet switching

Module 10 Frame Relay and ATM

COMP750. Distributed Systems. Network Overview

TSIN02 - Internetworking

Chapter 23 Process-to-Process Delivery: UDP, TCP, and SCTP

Connectionless and Connection-Oriented Protocols OSI Layer 4 Common feature: Multiplexing Using. The Transmission Control Protocol (TCP)

CS 4390 Computer Networks. Transport Services and Protocols

Transcription:

CS4700/CS5700 Fundaments of Computer Networks Lecture 4: Fundamental network design issues Slides used with permissions from Edward W. Knightly, T. S. Eugene Ng, Ion Stoica, Hui Zhang Alan Mislove amislove at ccs.neu.edu Northeastern University 1

A Generic Switch incoming links Switch outgoing links Alan Mislove amislove at ccs.neu.edu Northeastern University 2

A Generic Switch incoming links Switch outgoing links How to Demultiplex? Alan Mislove amislove at ccs.neu.edu Northeastern University 2

A Generic Switch incoming links Switch outgoing links How to Demultiplex? How to Multiplex? Alan Mislove amislove at ccs.neu.edu Northeastern University 2

A Generic Switch incoming links Switch outgoing links How to Demultiplex? How to Switch? How to Multiplex? Alan Mislove amislove at ccs.neu.edu Northeastern University 2

Circuit Switching: Multiplexing/ Demultiplexing Frames Slots = 0 1 2 3 4 5 0 1 2 3 4 5 Alan Mislove amislove at ccs.neu.edu Northeastern University 3

Circuit Switching: Multiplexing/ Demultiplexing Frames Slots = 0 1 2 3 4 5 0 1 2 3 4 5 Time divided in frames and frames divided in slots Alan Mislove amislove at ccs.neu.edu Northeastern University 3

Circuit Switching: Multiplexing/ Demultiplexing Frames Slots = 0 1 2 3 4 5 0 1 2 3 4 5 Time divided in frames and frames divided in slots Relative slot position inside a frame determines which conversation the data belongs to E.g., slot 0 belongs to red conversation Needs synchronization between sender and receiver Alan Mislove amislove at ccs.neu.edu Northeastern University 3

Circuit Switching: Multiplexing/ Demultiplexing Frames Slots = 0 1 2 3 4 5 0 1 2 3 4 5 Time divided in frames and frames divided in slots Relative slot position inside a frame determines which conversation the data belongs to E.g., slot 0 belongs to red conversation Needs synchronization between sender and receiver In case of non-permanent conversations Needs to dynamic bind a slot to a conservation How to do this? Alan Mislove amislove at ccs.neu.edu Northeastern University 3

Circuit Switching: Multiplexing/ Demultiplexing Frames Slots = 0 1 2 3 4 5 0 1 2 3 4 5 Time divided in frames and frames divided in slots Relative slot position inside a frame determines which conversation the data belongs to E.g., slot 0 belongs to red conversation Needs synchronization between sender and receiver In case of non-permanent conversations Needs to dynamic bind a slot to a conservation How to do this? If a conversation does not use its circuit the capacity is lost! Alan Mislove amislove at ccs.neu.edu Northeastern University 3

Circuit Switching Three phases 1. circuit establishment 2. data transfer 3. circuit termination If circuit not available: busy Examples Telephone networks ISDN (Integrated Services Digital Networks) Alan Mislove amislove at ccs.neu.edu Northeastern University 4

Timing in Circuit Switching Host 1 Host 2 Switch 1 Switch 2 Transmission delay propagation delay between Host 1 and Switch1 propagation delay between Host 1 and Host 2 Information time Alan Mislove amislove at ccs.neu.edu Northeastern University 5

Timing in Circuit Switching Host 1 Host 2 Switch 1 Switch 2 Circuit Establishment Transmission delay propagation delay between Host 1 and Switch1 propagation delay between Host 1 and Host 2 Transmission Circuit Termination Information time Alan Mislove amislove at ccs.neu.edu Northeastern University 5

Packet Switching: Multiplexing/ Demultiplexing Alan Mislove amislove at ccs.neu.edu Northeastern University 6

Packet Switching: Multiplexing/ Demultiplexing Alan Mislove amislove at ccs.neu.edu Northeastern University 6

Packet Switching: Multiplexing/ Demultiplexing Data from any conversation can be transmitted at any given time Alan Mislove amislove at ccs.neu.edu Northeastern University 6

Packet Switching: Multiplexing/ Demultiplexing Data from any conversation can be transmitted at any given time A single conversation can use the entire link capacity if it is alone Alan Mislove amislove at ccs.neu.edu Northeastern University 6

Packet Switching: Multiplexing/ Demultiplexing Data from any conversation can be transmitted at any given time A single conversation can use the entire link capacity if it is alone How to demultiplex? Alan Mislove amislove at ccs.neu.edu Northeastern University 6

Packet Switching: Multiplexing/ Demultiplexing Data from any conversation can be transmitted at any given time A single conversation can use the entire link capacity if it is alone How to demultiplex? Use meta-data (header) to describe data Alan Mislove amislove at ccs.neu.edu Northeastern University 6

Packet Switching Data are sent as formatted bit-sequences, so-called packets. Packets have the following structure: Header Data Trailer Header and Trailer carry control information (e.g., destination address, check sum) At each node the entire packet is received, stored briefly, and then forwarded to the next node based on the header information (Store-and-Forward Networks) Allows statistical multiplexing Alan Mislove amislove at ccs.neu.edu Northeastern University 7

Packet Switch incoming links Node Memory outgoing links Alan Mislove amislove at ccs.neu.edu Northeastern University 8

Datagram Packet Switching Host C Host A Host D Node 1 Node 2 Node 3 Node 5 Host B Node 4 Node 6 Node 7 Host E Alan Mislove amislove at ccs.neu.edu Northeastern University 9

Datagram Packet Switching Host C Host A Host D Node 1 Node 2 Node 3 Node 5 Host B Node 4 Node 6 Node 7 Host E Each packet is independently switched Alan Mislove amislove at ccs.neu.edu Northeastern University 9

Datagram Packet Switching Host C Host A Host D Node 1 Node 2 Node 3 Node 5 Host B Node 4 Node 6 Node 7 Host E Each packet is independently switched Each packet header contains destination address Alan Mislove amislove at ccs.neu.edu Northeastern University 9

Timing of Datagram Packet Switching Host 1 Host 2 Switch 1 Switch 2 transmission time of Packet 1 at Host 1 Packet 1 Packet 2 Packet 3 propagation delay between Host 1 and Switch 2 Packet 1 Packet 2 Packet 3 processing delay of Packet 1 at Switch 2 Packet 1 Packet 2 Packet 3 Alan Mislove amislove at ccs.neu.edu Northeastern University 10

Virtual-Circuit Packet Switching Hybrid of circuit switching and packet switching Data is transmitted as packets All packets from one packet stream are sent along a preestablished path (=virtual circuit) Packet header only contains local virtual circuit identifier (VCI) Demultiplexing and switching based on VCI Guarantees in-sequence delivery of packets Example: ATM networks Alan Mislove amislove at ccs.neu.edu Northeastern University 11

Virtual-Circuit Packet Switching Communication with virtual circuits takes place in three phases 1. VC establishment 2. data transfer 3. VC disconnect Note: packet headers don t need to contain the full destination address of the packet Alan Mislove amislove at ccs.neu.edu Northeastern University 12

Timing of Virtual-Circuit Packet Switching Host 1 Node Node Host 2 1 2 VC establishment propagation delay between Host 1 and Node 1 Packet 1 Data transfer Packet 2 Packet 3 Packet 1 Packet 2 Packet 3 Packet 1 Packet 2 Packet 3 VC termination Alan Mislove amislove at ccs.neu.edu Northeastern University 13

Virtual Circuit Switching Host C Host A Host D Node 1 Node 2 Node 3 Node 5 Host B Node 4 Node 6 Node 7 Host E Alan Mislove amislove at ccs.neu.edu Northeastern University 14

A Taxonomy of Communication Networks Communication networks can be classified based on the way in which the nodes exchange information: Communication Network Switched Communication Network Broadcast Communication Network Circuit-Switched Communication Network Packet-Switched Communication Network Datagram Network Virtual Circuit Network Alan Mislove amislove at ccs.neu.edu Northeastern University 15

Packet-Switching vs. Circuit- Switching Alan Mislove amislove at ccs.neu.edu Northeastern University 16

Packet-Switching vs. Circuit- Switching Most important advantage of packet-switching over circuit switching: ability to exploit statistical multiplexing More efficient bandwidth usage However, packet-switching needs to buffer and deal with congestion More complex switches Harder to provide good network services (e.g., delay and bandwidth guarantees) Alan Mislove amislove at ccs.neu.edu Northeastern University 16