Read Chapter 1 of Kurose-Ross

Similar documents
end systems, access networks, links 1.3 network core

Chapter 1: Introduction

Chapter 1 Introduction

What s a protocol? What s a protocol? A closer look at network structure: What s the Internet? Hardware view: What s the Internet?

Chapter 1: introduction

Computer Networking Introduction

What s a protocol? What s a protocol? A closer look at network structure: What s the Internet? What s the Internet? What s the Internet?

Since enrollment is very small this semester, we have flexibilty. Traditional lecture Assigned reading, and then student(s) present during class time

Announcements. TAs office hours: Mohamed Grissa: Mohamed Alkalbani:

CSE3213 Computer Network I

end systems, access networks, links circuit switching, packet switching, network structure

Part I: Introduction. 1: Introduction 1

Overview on the Internet the current and future telecommunication network

Module 2 Overview of Computer Networks

Module 2 Overview of. Computer Networks

Announcements. CS 5565 Network Architecture and Protocols. Outline for today. The Internet: nuts and bolts view. The Internet: nuts and bolts view

A Whirlwind Introduction to the Internet. A Whirlwind Introduction to the Internet Overview

CSEN 503 Introduction to Communication Networks

end systems, access networks, links circuit switching, packet switching, network structure

Computer Networks. Lecture 1: Introduction. Computer Networking: A Top Down Approach. Dr. Yaoqing Liu

Internet Architecture & Performance. What s the Internet: nuts and bolts view

Web Protocols and Practice

Network Protocols and Architectures

Part 1: Introduction. Goal: Review of how the Internet works Overview

Networks Overview. Dr. Yingwu Zhu

Fundamentals of Information Systems

Introduction to Computer Networking II. Abdusy Syarif Informatics Department Faculty of Computer Science Universitas Mercu Buana

Welcome to CS 340 Introduction to Computer Networking

EEC-484/584 Computer Networks

COMP 431 Internet Services & Protocols. A Whirlwind Introduction to the Internet ( Networking Nouns and Verbs ) Jasleen Kaur

end systems, access networks, links circuit switching, packet switching, network structure

What is a Distributed System? Module 1: Introduction to Networking & Internetworking

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

Overview of Networks

A Whirlwind Introduction to the Internet Overview

RSC Part I: Introduction

CS 332: Computer Networks Introduction

Telecommunication Networks Introduction

Telecommunication Networks Introduction

Lecture 2: Internet Structure

Introduction to computer networking

Computer Networks and the internet. Daniel Graham Ph.D

CSC 401 Data and Computer Communications Networks

A Whirlwind Introduction to the Internet. A Whirlwind Introduction to the Internet Overview

A closer look at network structure:

Switching Networks (Fall 2010) EE 586 Communication and. August 27, Lecture 2. (modified by Cheung for EE586; based on K&R original) 1-1

Course on Computer Communication and Networks. Lecture 1 Chapter 1: Introduction Part A: Internet, Protocol Layering and Data

CSE 4213: Computer Networks II

Computer Networks and the Internet. CMPS 4750/6750: Computer Networks

CS 3516: Computer Networks

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

Objectives. Learn how computers are connected. Become familiar with different types of transmission media

Basics of datacommunication

Computer Communication Networks

Foundations of Telematics

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

Reti di Calcolatori I

Computer Networks. Andrew S. Tanenbaum

Chapter 1. Computer Networks and the Internet

CS 471G Friday, 11 January Introduction 2-1

ECPE / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

Module 1 Introduction CS655! 1-1!

CSC 4900 Computer Networks: Introduction

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

CS 204: Advanced Computer Networks

Introduction. Computer Networks Term B10

L1: Introduction. Hui Chen, Ph.D. Dept. of Engineering & Computer Science Virginia State University Petersburg, VA 23806

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

Computer Networks and Internet

CHAPTER -1. Introduction to Computer Networks

Introduction to Computer Networks. Roadmap

Internet Routing. Review of Networking Principles. What s the Internet: nuts and bolts view. Communication links

Internet Routing. Review of Networking Principles

Communication Networks

Networking Applications

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

Computer Networks 2012/2013. Introduction part 1 (01) Dr. Tanir Ozcelebi. Thanks to A. Leon-Garcia & I. Widjaja, & I. Radovanovic & A. S.

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

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

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

Chapter 1. Uses of Computer Networks Network Hardware Network Software Reference Models Example Networks Network Standardization. Revised: August 2011

Suprakash Datta. Office: LAS 3043 Phone: ext Course page:

ECE 650 Systems Programming & Engineering. Spring 2018

COMP 562: Advanced Topics in Networking

JAMES F. KUROSE AND KEITH W. ROSS

Chapter 9 Introduction to Networks

2. A collection of interconnected networks is called an internetwork. 3. Each machine is connected to a central hub with a point-to-point connection.

Lecture Computer Networks WS 2016/2017

Outline: Connecting Many Computers

CS 428/528 Computer Networks Lecture 01. Yan Wang

PSD2A Computer Networks. Unit : I-V

Networks 15.2 Multiplexing Technologies Access Networks 15.5 Common Peripheral Interfaces

CMPE 344 Computer Networks Spring Foundations. Reading: Peterson and Davie,

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

Chapter 2 Communicating Over the Network

COMPONENTS OF DATA COMMUNICATION

Introduction to Data Communication

CSC 401 Data and Computer Communications Networks

Introduction to Networking

Wireless Networks. Communication Networks

Transcription:

CSE 422 Notes, Set 1 These slides contain materials provided with the text: Computer Networking: A Top Down Approach,5 th edition, by Jim Kurose and Keith Ross, Addison-Wesley, April 2009. Additional figures are repeated, with permission, from Computer Networks, 2 nd through 4 th Editions, by A. S. Tanenbaum, Prentice Hall. The remainder of the materials were developed by Philip McKinley at Michigan State University Assignment: Read Chapter 1 of Kurose-Ross 1

Goals of this section Introduce major concepts and terminology Describe how and why the Internet came to be Overview the operation of the current Internet Introduce network performance Outline Major Internet components Network architecture and protocols Switching strategies Internet protocol stack, history to network performance 2

A nuts and bolts view of the Internet Millions of connected computing devices: hosts = end systems running network applications Communication links fiber, copper wires radio, satellite channels transmission bit rate is proportional to bandwidth Mobile network Global ISP Home network Regional ISP Institutional network Switching elements: forward packets (chunks of data) Example Hosts Cell phones IP picture frame Traditional desktop E-puck microrobot Sensor nodes Computers on Aircraft Carrier 3

Types of Communication Links Point-to-point Two endpoints (nodes) May be unidirectional or bidirectional Switches or routers (or hosts) connect point-topoint links Broadcast channel Single channel shared by more than two nodes One, some or all nodes may listen Only one node at a time may transmit Access control is a key issue Examples: Legacy Ethernet, wireless LAN, satellite up link A note about bit rate and memory size Computer memory is measured in powers of 2 1 kilobyte = 2 10 = 1024 bytes 1 megabyte = 2 20 = 1024x1024 = 1,048,576 bytes 1 gigabyte = 2 30 = 1,073,741,824 bytes 1 terabyte = 2 40 = 1,099,511,627,776 bytes Kbyte, Mbyte, Gbyte, Tbyte, and so on Similarly for bits of memory Kbit, Mbit, Gbit, Tbit Why powers of 2, and not powers of 10? 4

On the other hand Communication rate units are powers of 10 1 kilobit/second (kbps) = 10 3 = 1000 bits/second 1 megabit/second (mbps) = 10 6 = 1,000,000 bps 1 gigabit/second (kbps) = 10 9 = 1,000,000,000 bps And so on Why? Note: Also (somewhat surprisingly) disk manufacturers typically measure disk capacity in powers of 10 Physical Media Bit: propagates between transmitter/rcvr pairs physical link: what lies between transmitter & receiver guided media: signals propagate in solid media: copper, fiber, coax unguided media: signals propagate freely, e.g., radio Twisted Pair (TP) two insulated copper wires Category 3: traditional phone wires, 10 Mbps Ethernet Category 5: 100Mbps Ethernet 5

Physical Media: coax, fiber Coaxial cable: two concentric copper conductors bidirectional baseband: single channel on cable legacy Ethernet broadband: multiple channels on cable HFC Fiber optic cable: glass fiber carrying light pulses, each pulse a bit high-speed operation: high-speed point-to-point transmission (e.g., 10 s- 100 s Gps) low error rate: repeaters spaced far apart ; immune to electromagnetic noise Wireless media: signal carried in electromagnetic spectrum no physical wire bidirectional propagation environment effects: reflection obstruction by objects interference Example Radio links: terrestrial microwave e.g. up to 45 Mbps channels WLAN (e.g., Wi-Fi) 11Mbps, 54 Mbps wide-area (e.g., cellular) 4G: up to 1 Gbps, all IP-based satellite Kbps to 45Mbps channel (or multiple smaller channels) 270 msec end-end delay (!) geosynchronous versus low altitude 6

Switching Elements Transfer data from one link to another Buffers some or all of the data in a chunk Examples: Hubs: forward data on multiple links Switches: switch data from one link to another based on hardware/software settings Router: look up path in routing table, then forward data Primary functionality may not be for data E.g., telecommunication switch NOTE: Logical vs. Physical View Logically, hosts lie outside the network Physically, hosts might participate in providing network services, such as routing Router Host 7

Internet: A Network of Networks Organization loosely hierarchical public Internet versus private intranet Protocols control sending, receiving of msgs e.g., TCP, IP, HTTP Internet standards Enable interoperation of networks RFC: Request for comments IETF: Internet Engineering Task Force Mobile network Home network Global ISP Regional ISP Institutional network Types of Networks Local Area Networks (LANs) within a building or campus usually based on broadcast channels often connected via router to wide area network major commercial success: Ethernet (1976) Other examples: ARCNET, FDDI ring, ATM LANs, Fast Ethernet, Gigabit Ethernet, Bit rates: 10 Mbps to 10 Gbps 8

LAN Topologies Ring (e.g. FDDI) Star (hub or switch) Wireless LANs Has become pervasive in past 15 years. Fundamentally different than wired LANs How? AP Internet hub, switch or router AP 9

Types of Networks Metropolitan Area Networks (MANs) Covers area of a city Usually based on LAN technologies Concept first realized in 1990s Examples: Data services on cable television networks City-wide wireless infrastructure Early adopters: Austin, TX, Alexandria, VA, Types of Networks Wide Area Networks (WANs) Also known as Long-Haul Networks may cover continent or (this) planet most communication links are point-to-point switching elements are generically referred to as routers Typically provides connections between multiple LANs and MANs 10

An Internetwork An internetwork, or internet, is a unified, cooperative interconnection of networks that supports a universal communication service. Software hides the low-level network differences from the user and application program the interconnected networks appear as a single large network component networks may be LANs, MANs, or WANs gateway nodes(routers) are used to interconnect different networks A router has at least two addresses, one on each network The canonical example of an internet connects most major research institutions derived from the ARPANET and is usually called, simply, the Internet. The Internet employs the TCP/IP Protocol Suite, developed in the late 1970s by BBN and UC Berkeley with support from DARPA. Protocols human protocols: International Diplomacy Simple conversation specific msgs sent specific actions taken when msgs received, or other events network protocols: Executed by machines rather than humans All communication activity in Internet is governed by protocols protocols define format, order of msgs sent and received among network entities, and actions taken on msg transmission, receipt 11

Example protocols a human protocol and a computer network protocol: Hi Hi Got the time? 2:00 time TCP connection request TCP connection response Get http://www.awl.com/kurose-ross <file> Outline Major Internet components Network architecture and protocols Switching strategies Internet protocol stack, history to network performance 12

Network Architecture A set of layers and protocols Layer interaction each layer offers primitive operations and services to higher layers the interface between each pair of adjacent defines these primitives and services interfaces should be clean and well-defined Peer processes the entities making up the corresponding layers on different machines Protocol a set of rules governing the format and meaning of the information that is exchanged by the peer processes within the same layer Layered Network Architecture NO MAGIC! 13

Layering Layers on the sending side may add headers, add trailers, or partition messages as they proceed down the stack. Layers on receiving sending side remove headers and trailers, and may combine segments as they proceed up the stack. Layering Example information in headers? Example information in trailers? Why do some layers partition messages? Every layer requires a mechanism for connection establishment and termination, the former entailing some form of addressing 14

Why layering? Dealing with complex systems: explicit structure allows identification, relationship of complex system s pieces layered reference model for discussion modularization eases maintenance, updating of system change of implementation of layer s service transparent to rest of system e.g., change in gate procedure doesn t affect rest of system Disadvantages of layering? Layer Design Issues Addressing and routing Rules for data transfer simplex communication - data only in one direction half duplex communication - data in one direction at a time full-duplex communication - data concurrently in both directions Error detection and correction Ordered delivery (sequencing) Fragmentation and reassembly Flow control, congestion control Multiplexing and demultiplexing Connection-oriented or connectionless service 15

Connection-oriented service Operation establish connection, use it, disconnect Real world example: phone call In the Internet: reliable connection-oriented service examples: tcp connection, file transfer unreliable connection-oriented service example? why unreliable? Connectionless Service Operation each message routed independently through system real world example: postal letter Internet example? Flavors datagram service - no acknowledgement acknowledged datagram service Request-reply service - ack contains answer 16

Connections or Not Connection-oriented vs. connectionless service depends on the layer of the protocol stack under consideration. These services may be mixed and matched along the protocol stack. Example: Non-persistent HTTP over TCP, over IP, over Ethernet Outline Major Internet components Network architecture and protocols Switching strategies Internet protocol stack, history to network performance 17

Switching Strategies Refers to how data is taken off one link and put on another Historically, the telephone network was based on circuit switching Originally a copper connection between phones Replaced by electro-mechanical switches (1930s) Then replaced by electronic switches (1960 s) The TCP/IP Internet is based on a fundamentally different paradigm: packet switching Circuit Switching Reserves capacity from source to destination for the call call setup/teardown required link bandwidth, switch capacity reserved along the path Those resources dedicated to the call, not shared circuit-like (guaranteed) performance, as in a physical copper connection 18

Circuit Switching How is capacity be reserved across single physical wire (or fiber, or wireless channel)? Capacity of the link (e.g., bandwidth, timeslot) divided into pieces Different pieces allocated to different calls Resource piece idle (wasted) if not used by the call for which it is allocated Circuit Switching: FDM and TDM Frequency Division Multiplexing Example: 4 users frequency Time Division Multiplexing time frequency time 19

Frequency Division Multiplexing Multiplexer combines inputs from n inputs and transmits them on the single link. Demultiplexer separates the data according to channel Different signals are carried simultaneously by modulating each onto a different carrier frequency. The carrier frequencies are sufficiently separated that the bandwidths do not overlap. Examples? TDM Example Each channel is divided into frames. Frames are divided into timeslots. Each slot is dedicated to a particular conversation. Sample voice 8000 times per second, 8 bits/sample Data switched from one link to the next based on information stored at the switch T1 Link 20

Time and Switching Using static allocation with TDM implies circuit switching What if we divide resources in time, but allocate capacity (slots) dynamically? This is packet switching Each packet contains data and some control information, such as addressing How is this different from the data samples in CS? Packet Switching Each end-end data stream divided into packets user A, B packets share network resources each packet uses full link bandwidth resources used as needed Bandwidth division into pieces Dedicated allocation Resource reservation Resource contention: aggregate resource demand can exceed amount available congestion: packets queue, wait for link use store and forward: packets move one hop at a time Node receives complete packet before forwarding 21

Packet Switching & Statistical Multiplexing A 100 Mb/s Ethernet statistical multiplexing C B queue of packets waiting for output link 1.5 Mb/s Sequence of A & B packets does not have fixed pattern, bandwidth shared on demand statistical multiplexing. As opposed to TDM, where each host gets same slot in revolving TDM frame. D E Packet switching versus circuit switching Packet switching allows more users to use network! 1 Mb/s link each user: 100 kb/s when active active 10% of time circuit-switching: 10 users packet switching: with 35 users, probability > 10 active at same time is less than.0004 N users 1 Mbps link 22

Packet switching versus circuit switching Packet switching dominates the Internet, for now Great for bursty data Maximize resource sharing simpler, no call setup no call blocking, just longer delay However, congestion can lead to packet delay and loss protocols needed for reliable data transfer, congestion control Question: How to provide circuit-like behavior? bandwidth guarantees needed for audio/video apps Stored video, live video, interactive video 23