Master Kurs Rechnernetze Computer Networks IN2097

Similar documents
Mohammad Hossein Manshaei 1393

Multimedia networking: outline

Real-Time Control Protocol (RTCP)

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

Multimedia networking: outline

Multimedia Applications. Classification of Applications. Transport and Network Layer

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

CSEN 503 Introduction to Communication Networks

Video Streaming and Media Session Protocols

CSE3213 Computer Network I

ITTC Communication Networks The University of Kansas EECS 780 Multimedia and Session Control

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

Lecture 9: Media over IP

Master Course Computer Networks IN2097

Web Protocols and Practice

Module 2 Overview of Computer Networks

Module 2 Overview of. Computer Networks

Network Protocols and Architectures

Part I: Introduction. 1: Introduction 1

Chapter 9. Multimedia Networking. Computer Networking: A Top Down Approach

Chapter 1. Computer Networks and the Internet

Master Course Computer Networks IN2097

Multimedia

Common network/protocol functions

Chapter 1: Introduction

CSC 4900 Computer Networks: Multimedia Applications

COMP 562: Advanced Topics in Networking

Overview on the Internet the current and future telecommunication network

Master Course Computer Networks IN2097

CS 332: Computer Networks Introduction

RSC Part I: Introduction

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

Master Course Computer Networks IN2097

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

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?

CSC 401 Data and Computer Communications 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

Chapter 4 Network Layer

Lecture 2: Internet Structure

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

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

55:054 Communication Networks 12/11/2008

Multimedia Networking. Protocols for Real-Time Interactive Applications

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

Master Course Computer Networks IN2097

end systems, access networks, links 1.3 network core

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

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

Computer Networks. Instructor: Niklas Carlsson

CSC 4900 Computer Networks: Introduction

Computer Networks. Wenzhong Li. Nanjing University

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

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

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

Internet Routing. Review of Networking Principles

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

CS 3516: Computer Networks

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

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

CMSC 332 Computer Networks Network Layer

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

Lecture 7. Network Layer. Network Layer 1-1

Key Network-Layer Functions

Computer Communication Networks

CSE 3214: Computer Network Protocols and Applications Network Layer

Welcome to CS 340 Introduction to Computer Networking

A closer look at network structure:

Protocols supporting VoIP

Networks Overview. Dr. Yingwu Zhu

Chapter 7 Multimedia Networking

Fundamentals of Information Systems

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

CS 204: Advanced Computer Networks

Introduction to computer networking

Network layer overview

Chapter 1 Introduction

CNT 4007 Computer Networks - Chapter 1 : Overview

Quality of Service. Qos Mechanisms. EECS 122: Lecture 15

Kommunikationssysteme [KS]

Today. March 7, 2006 EECS122 Lecture 15 (AKP) 4. D(t) Scheduling Discipline. March 7, 2006 EECS122 Lecture 15 (AKP) 5

Multimedia Systems Multimedia Networking Part II Mahdi Amiri December 2015 Sharif University of Technology

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

Telematics 2 & Performance Evaluation

Communication Networks ( ) / Fall 2013 The Blavatnik School of Computer Science, Tel-Aviv University. Allon Wagner

Multimedia networking: outline

TSIN02 - Internetworking

Computer Networking. Introduction. Quintin jean-noël Grenoble university

Data Communications & Networks. Session 10 Main Theme Multimedia Networking. Dr. Jean-Claude Franchitti

Foundations of Telematics

Common network/protocol functions. Common but already covered

Chapter 7 Multimedia Networking

Summary of last time " " "

Master Course Computer Networks IN2097

Chapter 7 Multimedia Networking

Voice over IP (VoIP)

Master Course Computer Networks IN2097

Introduction to the Internet

CSCE 463/612 Networks and Distributed Processing Spring 2018

Chapter 1 Computer Networks and the Internet

CSCE 463/612 Networks and Distributed Processing Spring 2018

Transcription:

Chair for Network Architectures and Services Institute for Informatics TU München Prof. Carle, Dr. Fuhrmann Master Kurs Rechnernetze Computer Networks IN2097 Prof. Dr.-Ing. Georg Carle Dr. Thomas Fuhrmann Institut für Informatik Technische Universität München http://www.net.in.tum.de

Course Outline Part 1: Internet protocols Link Layer protocols Network Layer protocols Transport Layer protocols Application Layer protocols Part 2: Advanced Computer Networks Principles review: packet-, circuit-switching primer common themes: signaling, indirection, virtualization, multiplexing, randomization, scalability implementation principles: techniques network architecture: the big picture, synthesis network algorithmics: self stabilization (routing examples), broadcast/controlled flooding (link state broadcast, ad hoc routing), routing and congestion control: an optimization viewpoint network simulation (time permitting) IN2097, WS 2008/09 2

Chair for Network Architectures and Services Institute for Informatics TU München Prof. Carle, Dr. Fuhrmann Part 2 Advanced Computer Networks Acknowledgements: Jim Kurose, University of Massachusetts, Amherst

Additional relevant books J. F. Kurose & K. W. Ross, Computer Networking: A Top-Down Approach Featuring the Internet, 2007, 4th edition, Addison Wesley Innovation: Presentation of Protocols Top-Down Statements of key persons in networking research S. Keshav: An Engineering Approach to Computer Networking, 1999, Addison-Wesley Very good architectural and quantitative treatment of computer networks Motivation of many design decisions IN2097, WS 2008/09 4

Part 2 Educational Goals Advanced, fundamental networking principles foundational material: long half life mix of theory and practice explain design tradeoffs and design decisions IN2097, WS 2008/09 5

Course Part 2 - Topics review: packet-, circuit-switching primer common themes: signaling, indirection, virtualization, multiplexing, randomization, scalability implementation principles: techniques network architecture: the big picture, synthesis network algorithmics: self stabilization (routing examples), broadcast/controlled flooding (link state broadcast, ad hoc routing), routing and congestion control: an optimization viewpoint network simulation (time permitting) IN2097, WS 2008/09 6

Networking Review Overview: overview error control flow control congestion control routing LANs addressing synthesis: control timescales Goals: review key topics independent of specific protocols IN2097, WS 2008/09 7

What s the Internet: nuts and bolts view PC server wireless laptop cellular handheld access points wired links millions of connected computing devices: hosts = end systems running network apps communication links fiber, copper, radio, satellite transmission rate = bandwidth Mobile network Global ISP Home network Regional ISP Institutional network router routers: forward packets (chunks of data) IN2097, WS 2008/09 8

What s the Internet: nuts and bolts view protocols control sending, receiving of msgs e.g., TCP, IP, HTTP, Skype, Ethernet Internet: network of networks loosely hierarchical public Internet versus private intranet Internet standards RFC: Request for comments IETF: Internet Engineering Task Force Mobile network Global ISP Home network Regional ISP Institutional network IN2097, WS 2008/09 9

A closer look at network structure: network edge: applications and hosts access networks, physical media: wired, wireless communication links network core: interconnected routers network of networks IN2097, WS 2008/09 10

The network edge: end systems (hosts): run application programs e.g. Web, email at edge of network peer-peer client/server model client host requests, receives service from always-on server e.g. Web browser/server; email client/server peer-peer model: minimal (or no) use of dedicated servers e.g. Skype, BitTorrent client/server IN2097, WS 2008/09 11

The Network Core mesh of interconnected routers the fundamental question: how is data transferred through net? circuit switching: dedicated circuit per call: telephone net packet-switching: data sent thru net in discrete chunks IN2097, WS 2008/09 12

Network Core: Circuit Switching End-end resources reserved for call link bandwidth, switch capacity dedicated resources: no sharing circuit-like (guaranteed) performance call setup required IN2097, WS 2008/09 13

Network Core: Circuit Switching network resources (e.g., bandwidth) divided into pieces pieces allocated to calls resource piece idle if not used by owning call (no sharing) Question: how is bandwidth divided into pieces? Bandwidth of a link is divided, using schedulers Access to these pieces of bandwith is controlled (policers) IN2097, WS 2008/09 14

Network Core: 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 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 No bandwidth division into pieces No dedicated allocation No resource reservation IN2097, WS 2008/09 15

Packet Switching: Statistical Multiplexing A 100 Mb/s Ethernet statistical multiplexing C B queue of packets waiting for output link 1.5 Mb/s D E Question: why packet switching? Sequence of A & B packets does not have fixed pattern, bandwidth shared on demand statistical multiplexing. Circuit switching typically would lead to lower pieces of bandwith (and higher delay) compared to packet switching. IN2097, WS 2008/09 16

Packet switching versus circuit switching Question: Is packet switching an obvious winner? Great for bursty data resource sharing no call setup Possibly excessive congestion: packet delay and loss protocols needed for reliable data transfer, congestion control Q: How to provide circuit-like behavior? bandwidth guarantees needed for audio/video applications - still an unsolved problem! (more later) IN2097, WS 2008/09 17

Delay in packet-switched networks Packets experience delay on end-to-end path Four sources of delay at each hop A transmission propagation 1) Nodal processing delay: process protocol check for bit errors determine output link 2) Queuing delay time waiting at output link for transmission depends on congestion of link B nodal processing queuing IN2097, WS 2008/09 18

Delay in packet-switched networks 3) Transmission delay: R=link bandwidth (bps) L=packet length (bits) time to send bits into link = L/R 4) Propagation delay: s = propagation speed in medium (~2/3 * 3x10 8 m/sec) d = length of physical link propagation delay = d/s Note: s and R are very different quantities! A transmission propagation B nodal processing queuing IN2097, WS 2008/09 19

Queuing delay (revisited) R=link bandwidth (bps) L=packet length (bits) a=average packet arrival rate (1/s) traffic intensity = La/R La/R ~ 0: average queuing delay small La/R -> 1: delays become large La/R > 1: more work arriving than can be serviced, average delay infinite! IN2097, WS 2008/09 20

Delay Distributions density mean delay max delay delay propagation delay delay jitter IN2097, WS 2008/09 21

Datagram or VC network: why? Internet data exchange among computers elastic service, no strict timing requirements smart end systems (computers) can adapt, perform control, error recovery simple inside network, complexity at edge many link types different characteristics uniform service difficult ATM evolved from telephony human conversation: strict timing, reliability requirements need for guaranteed service dumb end systems telephones complexity inside network IN2097, WS 2008/09 22

Virtual circuits source-to-destination path behaves much like telephone circuit performance-wise network actions along source-to-destination path call setup, teardown for each call before data can flow each packet carries VC identifier (not destination host ID) every router on source-dest path maintains state for each passing connection transport-layer connection only involved two end systems link, router resources (bandwidth, buffers) may be allocated to VC to get circuit-like performance IN2097, WS 2008/09 23

Virtual Circuits and Label Swapping Virtual Circuit Switching Multiplexing of Variable vs. Fixed Size Packets ATM Cell Virtual Path Identifiers and Virtual Channel Identifiers ATM Virtual Connections IN2097, WS 2008/09 24

Virtual Circuit Switching IN2097, WS 2008/09 25

Multiplexing of Variable vs. Fixed Size Packets Multiplexing of variable size packets ATM Multiplexing IN2097, WS 2008/09 26

ATM Identifiers ATM Cell Virtual Path Identifiers and Virtual Channel Identifiers IN2097, WS 2008/09 27

ATM Virtual Connections IN2097, WS 2008/09 28

Common network/protocol functions Goals: Identify and study common architectural components, protocol mechanisms synthesis: big picture depth: important topics not covered in an introductory course Overview: signaling: telephone networks, Internet, ATM networks state management (signaling) randomization indirection multiplexing virtualization design for scale IN2097, WS 2008/09 29

1. Signaling signaling: exchange of messages among network entities to enable (provide service) to connection/call before, during, after connection/call call setup and teardown (state) call maintenance (state) measurement, billing (state) between: end-user <-> network end-user <-> end-user network element <-> network element IN2097, WS 2008/09 30

Virtual circuits: signaling protocols used to set up, maintain teardown VC used in (G)MPLS, ATM, frame-relay, X.25 not used in today s Internet at L3 (network layer) application transport network data link physical 5. Data flow begins 6. Receive data 4. Call connected 3. Accept call 1. Initiate call 2. incoming call application transport network data link physical IN2097, WS 2008/09 31

Examples Q.921, SS7 (Signaling System no. 7): telephone network Q.2931: ATM RSVP (Resource Reservation Protocol) SIP (Session Initiation Protocol): Internet Signalling between which entities? end-user <-> network end-user <-> end-user network element <-> network element IN2097, WS 2008/09 32

SIP: Session Initiation Protocol [RFC 3261] SIP long-term vision: all telephone calls, video conference calls take place over Internet people are identified by names or e-mail addresses, rather than by phone numbers you can reach callee, no matter where callee roams, no matter what IP device callee is currently using SIP key person: Henning Schulzrinne, Columbia University - M. Handley, H. Schulzrinne, and E. Schooler, SIP: session initiation protocol, Internet Draft, Internet Engineering Task Force, Mar. 1997. Work in progress. - H. Schulzrinne, A comprehensive multimedia control architecture for the Internet, 1997 IN2097, WS 2008/09 33

SIP Services Setting up a call, SIP provides mechanisms.. determine current IP address of callee: for caller to let callee know she wants to establish a call so caller, callee can agree on media type, encoding to end call maps mnemonic identifier to current IP address call management: add new media streams during call change encoding during call invite others transfer, hold calls IN2097, WS 2008/09 34

Setting up a call to known IP address Alice 167.180.112.24 INVITE bob@193.64.210.89 c=in IP4 167.180.112.24 m=audio 38060 RTP/AVP 0 port 5060 193.64.210.89 Bob Alice s SIP invite message indicates her port number, IP address, encoding she prefers to receive (AVP 0: PCM ulaw) port 5060 200 OK c=in IP4 193.64.210.89 m=audio 48753 RTP/AVP 3 Bob's terminal rings Bob s 200 OK message indicates his port number, IP address, preferred encoding (AVP 3: GSM) time port 38060 ACK port 5060 μ Law audio GSM port 48753 time SIP is an out-of-band signalling protocol SIP messages can be sent over TCP or UDP. (All messages are ack ed) default SIP port number is 5060. IN2097, WS 2008/09 35

Setting up a call (more) codec negotiation: rejecting a call suppose Bob doesn t have PCM ulaw encoder. Bob will instead reply with 606 Not Acceptable Reply, listing his encoders Alice can then send new INVITE message, advertising different encoder Bob can reject with replies busy, gone, payment required, forbidden media can be sent over RTP or some other protocol IN2097, WS 2008/09 36

Example of SIP message INVITE sip:bob@domain.com SIP/2.0 Via: SIP/2.0/UDP 167.180.112.24 From: sip:alice@hereway.com To: sip:bob@domain.com Call-ID: a2e3a@pigeon.hereway.com Content-Type: application/sdp Content-Length: 885 c=in IP4 167.180.112.24 m=audio 38060 RTP/AVP 0 Notes: HTTP message syntax sdp = session description protocol Call-ID is unique for every call. Here we don t know Bob s IP address. Intermediate SIP servers needed. Alice sends, receives SIP messages using SIP default port 5060 Alice specifies in Via: header that SIP client sends, receives SIP messages over UDP IN2097, WS 2008/09 37

Name translation and user location caller wants to call callee, but only has callee s name or e-mail address. need to get IP address of callee s current host: user moves around DHCP protocol user has different IP devices (PC, PDA, car device) result can be based on: time of day (work, home) caller (don t want boss to call you at home) status of callee (calls sent to voicemail when callee is already talking to someone) Service provided by SIP servers: SIP registrar server SIP proxy server IN2097, WS 2008/09 38

SIP Registrar when Bob starts SIP client, client sends SIP REGISTER message to Bob s registrar server (similar function needed by Instant Messaging) registrar analogous to authoritative DNS server Register Message: REGISTER sip:domain.com SIP/2.0 Via: SIP/2.0/UDP 193.64.210.89 From: sip:bob@domain.com To: sip:bob@domain.com Expires: 3600 IN2097, WS 2008/09 39

SIP Proxy Alice sends invite message to her proxy server contains address sip:bob@domain.com proxy responsible for routing SIP messages to callee possibly through multiple proxies. callee sends response back through the same set of proxies. proxy returns SIP response message to Alice contains Bob s IP address proxy analogous to local DNS server IN2097, WS 2008/09 40

Example Caller jim@umass.edu places a call to keith@upenn.edu (1) Jim sends INVITE message to umass SIP proxy. (2) Proxy forwards request to upenn registrar server. (3) upenn server returns redirect response, indicating that it should try keith@eurecom.fr SIP proxy umass.edu 1 8 SIP client 217.123.56.89 SIP registrar upenn.edu SIP registrar eurecom.fr SIP client 197.87.54.21 (4) umass proxy sends INVITE to eurecom registrar. (5) eurecom registrar forwards INVITE to 197.87.54.21, which is running keith s SIP client. (6-8) SIP response sent back (9) media sent directly between clients. Note: SIP ack messages not shown. IN2097, WS 2008/09 41 2 3 4 7 9 6 5

Comparison with H.323 H.323 is another signaling protocol for real-time, interactive services H.323 comes from the ITU (telephony). H.323 is a complete, vertically integrated suite of protocols for multimedia conferencing: signaling, registration, admission control, transport, codecs SIP is a single component. Works with RTP, but does not mandate it. Can be combined with other protocols, services SIP comes from IETF: Borrows much of its concepts from HTTP SIP has Web flavor, whereas H.323 has telephony flavor. SIP was based on the KISS principle: Keep it simple stupid. (Remark: after all SIP extensions, this is not any more the case.) IN2097, WS 2008/09 42