Computer Networks

Similar documents
EE 122: Introduction to Computer Networks Fall 2002

CS4700/CS5700 Fundaments of Computer Networks

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

Lecture 3 Protocol Stacks and Layering

CS 552 Computer Networks. Fall 2008 Rich Martin

INTRODUCTORY COMPUTER

CS 268: Graduate Computer Networks Spring Overview

CS589: Advanced Computer Networks

CS3600 SYSTEMS AND NETWORKS

CS3600 SYSTEMS AND NETWORKS

Course goals and overview

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

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

Introduction to Network Technologies & Layered Architecture BUPT/QMUL

CE Computer Networks

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

Chapter 2 Communicating Over the Network

CHAPTER -1. Introduction to Computer Networks

Digital Communication Networks

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

TCOM 370 NOTES 99-1 NETWORKING AND COMMUNICATIONS

Communication Networks - 3 general areas: data communications, networking, protocols

Overview of Networks

WAN Technologies CCNA 4

Reminder: Datalink Functions Computer Networking. Datalink Architectures

EEC-484/584 Computer Networks

Ch. 4 - WAN, Wide Area Networks

ITP 140 Mobile Applications Technologies. Networks

1/29/2008. From Signals to Packets. Lecture 6 Datalink Framing, Switching. Datalink Functions. Datalink Lectures. Character and Bit Stuffing.

Switched Multimegabit Data Service

EECS 122 Communications Networks

Network Connectivity and Mobility

ITP 140 Mobile Applications Technologies. Networks

# DEFINITIONS TERMS. 5) A set of devices interconnected by media links. Network

Introductions. Computer Networking Lecture 01. January 16, HKU SPACE Community College. HKU SPACE CC CN Lecture 01 1/36

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

ECS 15; Lectures 17 and 18. The Internet. What is the internet, and how does it work? TA feedback

Switched Multimegabit Data Service (SMDS)

BROADBAND AND HIGH SPEED NETWORKS

Communication Networks

06/02/2006. Local & Metropolitan Area Networks 1. INTRODUCTION. Why Study Local and Metropolitan Area Networks? ACOE322. Lecture 1 Introduction

1 Introduction to Networking

Communicating over the Network

Fundamental Issues. System Models and Networking Chapter 2,3. System Models. Architectural Model. Middleware. Bina Ramamurthy

Outline: Connecting Many Computers

Revision of Previous Lectures

CE Computer Networks

Lecture #25: Networks and Communications. Communication and Networks. What will we learn?

INTRODUCTION DATA COMMUNICATION TELECOMMUNICATIONS SYSTEM COMPONENTS 1/28/2015. Satish Chandra satish0402.weebly.com

Data Communication. Introduction of Communication. Data Communication. Elements of Data Communication (Communication Model)

Introduction to Information Technology Turban, Rainer and Potter John Wiley & Sons, Inc. Copyright 2005

ECE 333: Introduction to Communication Networks Fall Lecture 1: Introduction

TELECOMMUNICATIONS NETWORKS. University Pierre and Marie Curie (Paris 6) Master Informatique Spécialité Réseaux

BROADBAND AND HIGH SPEED NETWORKS

Local Area Network(LAN)

INTRODUCTION TO ICT.

M242 COMPUTER NETWORS AND SECURITY

Chapter 3. Underlying Technology. TCP/IP Protocol Suite 1 Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

Lecture 8 Winter 2006 Enterprise and Personal Communications Networks

Computer Communications and Network Basics p. 1 Overview of Computer Communications and Networking p. 2 What Does Computer Communications and

Lecture 1 Overview - Data Communications, Data Networks, and the Internet

Introduction to Wireless Networking ECE 401WN Spring 2008

Introduction to Networks

Class X Subject : IT (Vocational) Chapter -1 Ouestion / Answer

Master Course Computer Networks IN2097

Computer Networks and the internet. Daniel Graham Ph.D

Department of Computer and IT Engineering University of Kurdistan Computer Networks I Introduction By: Dr. Alireza Abdollahpouri

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

Study Guide. Module Three

VoIP Dictionary, Glossary and Terminology

Basics of datacommunication

Data & Computer Communication

Networks 15.2 Multiplexing Technologies Access Networks 15.5 Common Peripheral Interfaces

Internet A Brief Tutorial. Jean Walrand EECS U.C. Berkeley

Lecture 6 Datalink Framing, Switching. From Signals to Packets

and Networks Data Communications Second Edition Tata McGraw Hill Education Private Limited Managing Director SoftExcel Services Limited, Mumbai

Computer Networks. Computer Networks. Telecommunication Links. CMPUT101 Introduction to Computing - Spring Chapter 12: Computer Networks 1

Lecture 2: Internet Structure

Network.... communication system for connecting end- systems. End-systems a.k.a. hosts PCs, workstations dedicated computers network components

Typical Network Uses

Integrating Information Systems: Technology, Strategy, and Organizational Factors

SRM ARTS AND SCIENCE COLLEGE SRM NAGAR, KATTANKULATHUR

Introduction and Layered Network Architecture. EEE 538 Dr. Nail Akar Bilkent University Electrical and Electronics Engineering Department

Layer 2 functionality bridging and switching

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

Data Communication and Network. Introducing Networks

Chapter 1 Communication

Welcome to CS 340 Introduction to Computer Networking

CS321: Computer Networks Introduction to Computer Networks and Internet

Networking Applications

Internet Architecture and Protocol

ABSTRACT. that it avoids the tolls charged by ordinary telephone service

UNIT-II OVERVIEW OF PHYSICAL LAYER SWITCHING & MULTIPLEXING

Chapter 2. Communicating Over The Network. CCNA1-1 Chapter 2

Local Area Networks (LANs): Packets, Frames and Technologies Gail Hopkins. Part 3: Packet Switching and. Network Technologies.

Module 2 Overview of Computer Networks

Module 2 Overview of. Computer Networks

Chapter 9 Introduction to Networks

Chapter 3. Wired and Wireless Communication. What You Will Learn... Computers Are Your Future. What You Will Learn...

LECTURE #1. Course Outline. Data Communication (CS601)

Transcription:

15-441 Computer s Lecture 3 Professor Hui Zhang Wean Hall 7126 hzhang@cs.cmu.edu 1

Review of Lecture 1 How long does it take to move 1GB data from campus to your home? 56Kbps modem 2Mbps DSL Other possibilities? 2

Time Travel: Let s Build a 1870 Alexander Bell 1970 Dave Boggs, Bob Metcalfe 1970 Larry Roberts, Bob Kahn, Vint Cerf 1995 architect of UUNET Director of Campus Computing, CMU 2004 architecture of Reliance architecture of General Motor 3

Early over Long Distance Between human beings Letter and messenger Information carried by physical objects Speed limited by transportation means: horse, bird, train, car Bandwidth? distance? security? Fire Early optical communication Speed of light Bandwidth? distance? security? 4

Telegraph: Using Electrons Between human beings Major milestones: 1827: Ohm s Law 1837: workable telegraph invented by Samuel Morse 1838: demonstration over 10 miles at 10 w.p.m 1844: Capitol Hill to Baltimore 1851: Western Union founded 1868: transatlantic cable laid 1985: last telegraph circuit closed down Other important dates 1869: transcontinental railway 1876: Alexander Bell invented telephone 5

Telegraph Engineering Technical issues How to encode information? How to feed/input information to the system? How to output information? How to improve the distance? How to improve the speed? Common issues faced by all telecommunication systems 6

Telephony Interactive telecommunication between people Analog voice vs. digital information Transmitter/receiver continuously contact with electronic circuit Electric current varies with acoustic pressure Analog/Continuous Signal Digital/Discrete Signal 7

Telephony Milestones 1876: Alaxendar Bell invented telephone 1878: Public switches installed at New Haven and San Francisco, public switched telephone network is born People can talk without being on the same wire! Without Switch With Switch 8

Telephony Milestones 1878: First telephone directory; white house line 1881: Insulated, balanced twisted pair as local loop 1885: AT&T formed 1892: First automatic commercial telephone switch 1903: 3 million telephones in U.S. 1915: First transcontinental telephone line 1927: First commercial transatlantic commercial service 9

Telephony Milestones 1937: Multiplexing introduced for inter-city calls Without Multiplexing With Multiplexing 10

Telephony Milestones 1939: Pulse Code Modulation (PCM) invented 1948: Transistor invented by Bell scientists 1951: Direct dialing for long-distance demonstrated 1963: Digital transmission introduced 1965 1ESS central office switch introduced Stored Program Control (computerized) 1976 4ESS: first digital electronic switch 1982 Bell System split into ATT and 7 RBOCs 1983 First fiber-optic cable in ATT long distance network 1989 SONET standard published by CCITT 1999 Last 4ESS switch installed in ATT network 11

Summary long before computer Evolutions of modern communication and computer intertwined Important concepts Switching Multiplexing Analog vs. Digital Bandwidth Latency 12

Data or Computer s s designed for computers to computers or devices vs. communication between human beings Digital information vs. analog voice 13

What is a? (from end-system point of view) offers a service: move information Bird, fire, messenger, truck, telegraph, telephone, Internet Another example, transportation service: move objects Horse, train, truck, airplane... What distinguish different types of networks? The services they provide What distinguish the services? Latency Bandwidth Loss rate Number of end systems Service interface Other details Reliability, unicast vs. multicast, real-time, message vs. byte... 14

What is a? Infrastructure Centric View Electrons and photons as communication medium Links: fiber, copper, satellite, Switches: electronic/optic, crossbar/banyan Protocols: TCP/IP, ATM, MPLS, SONET, Ethernet, X.25, FrameRelay, AppleTalk, IPX, SNA Functionalities: routing, error control, flow control, congestion control, Quality of Service (QoS) Applications: telephony, FTP, WEB, X windows,... 15

Types of s Geographical distance Local Area s (LAN): Ethernet, Token ring, FDDI Metropolitan Area s (MAN): DQDB, SMDS Wide Area s (WAN): X.25, ATM, frame relay Information type Data networks vs. telecommunication networks Application type Special purpose networks: airline reservation network, banking network, credit card network, telephony General purpose network: Internet 16

Types of s Right to use Private: enterprise networks Public: telephony network, Internet Ownership of protocols Proprietary: SNA Open: IP Technologies Terrestrial vs. satellite Wired vs. wireless Protocols IP, AppleTalk, SNA 17

A Taxonomy of s networks can be classified based on the way in which the nodes exchange information: Switched Broadcast Circuit-Switched Packet-Switched Datagram Virtual Circuit 18

Broadcast vs. Switched s Broadcast communication networks Information transmitted by any node is received by every other node in the network Examples: usually in LANs (Ethernet, Wavelan) Problem: coordinate the access of all nodes to the shared communication medium (Multiple Access Problem) Switched communication networks Information is transmitted to a sub-set of designated nodes Examples: WANs (Telephony, Internet) Problem: how to forward information to intended node(s) This is done by special nodes (e.g., routers, switches) running routing protocols 19

A Taxonomy of s networks can be classified based on the way in which the nodes exchange information: Switched Broadcast Circuit-Switched Packet-Switched Datagram Virtual Circuit 20

Circuit Switching Three phases 1. circuit establishment 2. data transfer 3. circuit termination If circuit not available: Busy signal Examples Telephone networks ISDN (Integrated Services Digital s) 21

Timing in Circuit Switching Host 1 Host 2 Node 1 Node 2 Circuit Establishment ata Transmission processing delay at Node 1 DATA propagation delay between Host 1 and Node 1 propagation delay between Host 2 and Node 1 Circuit Termination 22

Circuit Switching A node (switch) in a circuit switching network incoming links Node outgoing links 23

Circuit Switching: Multiplexing/Demultiplexing Frames Slots = 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 green 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? 0 1 2 3 4 5 0 1 2 3 4 5 24 If a conversation does not use its circuit the capacity is lost!

A Taxonomy of s networks can be classified based on the way in which the nodes exchange information: Switched Broadcast Circuit-Switched Packet-Switched Datagram Virtual Circuit 25

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 (Store-and-Forward s) Statistical sharing of the link capacity 26

Packet Switching A node in a packet switching network incoming links Node Memory outgoing links 27

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 tell them apart? Use meta-data (header) to describe data 28

A Taxonomy of s networks can be classified based on the way in which the nodes exchange information: Switched Broadcast Circuit-Switched Packet-Switched Datagram Virtual Circuit 29

Datagram Packet Switching Each packet is independently switched Each packet header contains destination address No resources are pre-allocated (reserved) in advance Example: IP networks 30

Timing of Datagram Packet Switching Host 1 Host 2 Node 1 Node 2 transmission time of Packet 1 at Host 1 Packet 1 Packet 2 Packet 3 propagation delay between Host 1 and Node 2 Packet 1 Packet 2 Packet 3 processing delay of Packet 1 at Node 2 Packet 1 Packet 2 Packet 3 31

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 32

A Taxonomy of s networks can be classified based on the way in which the nodes exchange information: Switched Broadcast Circuit-Switched Packet-Switched Datagram Virtual Circuit 33

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) Guarantees in-sequence delivery of packets However, packets from different virtual circuits may be interleaved Example: ATM networks 34

Virtual-Circuit Packet Switching 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 35

Timing of Virtual-Circuit Packet Switching Host 1 Node 1 Node 2 Host 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 36

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 37

Packet-Switching vs. Circuit-Switching Most important advantage of packet-switching over circuit switching: ability to exploit statistical multiplexing: Efficient bandwidth usage for bursty traffic However, packet-switching needs to deal with congestion: More complex routers Harder to provide good network services (e.g., delay and bandwidth guarantees) 38

What Does Router Look Like? 39