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

Similar documents
Network Protocols and Architectures

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

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

Internet Routing. Review of Networking Principles

Part I: Introduction. 1: Introduction 1

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

Chapter 1: Introduction

Web Protocols and Practice

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

CSEN 503 Introduction to Communication Networks

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

CSE3213 Computer Network I

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? Hardware view: What s the Internet?

CS 332: Computer Networks Introduction

Module 2 Overview of Computer Networks

Module 2 Overview of. Computer Networks

RSC Part I: 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?

Introduction to computer networking

Networks Overview. Dr. Yingwu Zhu

Packet-switching: store-and-forward

Chapter 1 Computer Networks and the Internet

COMP 562: Advanced Topics in Networking

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

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

Chapter 1. Computer Networks and the Internet

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

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

CS 204: Advanced Computer Networks

Foundations of Telematics

Welcome to CS 340 Introduction to Computer Networking

end systems, access networks, links 1.3 network core

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

Part I: Introduction. Cool internet appliances. What s a protocol? What s the Internet: nuts and bolts view. What s the Internet: nuts and bolts view

CSCE 463/612 Networks and Distributed Processing Spring 2018

Introduction to Computer Networks. Roadmap

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

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

Lecture 2: Internet Structure

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

CSC 4900 Computer Networks: Introduction

CSE 4213: Computer Networks II

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

CNT 4007 Computer Networks - Chapter 1 : Overview

A Whirlwind Introduction to the Internet Overview

Defining the Internet

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

Overview on the Internet the current and future telecommunication network

Chapter I: Introduction

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

Goal Give an overview of the topic Approach Descriptive Use Internet as example. Content. What is the Internet?

CSC 401 Data and Computer Communications Networks

Internet and Intranet Protocols and Applications

CS 3516: Computer Networks

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

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

Introduction to Data Communication

CSCE 463/612 Networks and Distributed Processing Spring 2018

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

Chapter 1 Introduction

Chapter 1: introduction

Network and Mobile Compu4ng in the 20 th Century and Beyond. COMP 1400 Memorial University Winter 2015

CS197U: A Hands on Introduction to Unix

Introduction to the Internet

Router Router Microprocessor controlled traffic direction home router DSL modem Computer Enterprise routers Core routers

Network and Security: Introduction

Computer Networks. Instructor: Niklas Carlsson Office: B:476 Office Hours: TBA

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

Internet and Intranet Protocols and Applications

A closer look at network structure:

JAMES F. KUROSE AND KEITH W. ROSS

Computer Networks Principles

Fundamentals of Information Systems

Networking Applications

The Diffie-Hellman Key Exchange

Computer Communication Networks

COMP 361 Networks I Spring 2005 last revised 14/02/05

Chapter 1 Computer Networks and the Internet

Master Kurs Rechnernetze Computer Networks IN2097

Computer Networking Introduction

Computer Networking Introduction

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

TDTS06: Computer Networks

Protocol Layers & Wireshark TDTS11:COMPUTER NETWORKS AND INTERNET PROTOCOLS

A Whirlwind Introduction to the Internet Overview

Chapter 1 Introduction

CS 471G Friday, 11 January Introduction 2-1

Internetworking Technology -

Review for Internet Introduction

OSI Transport Layer. Network Fundamentals Chapter 4. Version Cisco Systems, Inc. All rights reserved. Cisco Public 1

Computer Networks & Security 2016/2017

Networking and TCP/IP. John Kalbach November 8, 2004

Department of Computer and IT Engineering University of Kurdistan. Network Layer. By: Dr. Alireza Abdollahpouri

Internet 최양희서울대학교컴퓨터공학부. MMlab 1

Chapter 16 Networking

Data & Computer Communication

Internet Services & Protocols. An Introduction to the Internet

Chapter 1 Introduction

TCP/IP THE TCP/IP ARCHITECTURE

Transcription:

Part 1: Introduction Goal: Review of how the Internet works Overview Get context Get overview, feel of the Internet Application layer protocols and addressing Network layer / Routing Link layer / Example 1

What s the Internet: Nuts and bolts view Millions of connected computing devices: hosts, end-systems PC s workstations, servers PDA s, phones, toasters running network apps Communication links Fiber, copper, radio, satellite Routers: forward packets (chunks) of data through network local ISP company / access network router server workstation mobile regional ISP 2

Example access net: Home network Typical home network components: ADSL or cable modem router/firewall Ethernet Wireless access points to/from cable headend cable modem router/ firewall Ethernet (switched) wireless access point wireless laptops 3

What s the Internet: Nuts and bolts view Protocols: control sending, receiving of messages E.g., TCP, IP, HTTP, FTP, PPP Internet: network of networks Loosely hierarchical Public Internet versus private intranet Internet standards RFC: Request for comments IETF: Internet Engineering Task Force router local ISP company network server workstation mobile regional ISP 4

What s the Internet: A service view Communication infrastructure enables distributed applications: WWW, email, games, e- commerce, database, voting, More? Communication services provided: Connectionless Connection-oriented Cyberspace [Gibson]: a consensual hallucination experienced daily by billions of operators, in every nation,..." 5

Principles of the Internet Edge vs. core (end-systems vs. routers) Dumb network Intelligence at the end-systems Different communication paradigms Connection oriented vs. connection less Packet vs. circuit switching Layered system Network of collaborating networks 6

A closer look at network structure Network edge: applications and hosts Network core: Routers Network of networks Access networks, physical media: Communication links 7

The network edge End systems (hosts): Run application programs E.g., WWW, email At edge of network Client/server model Client host requests, receives service from server E.g., WWW client (browser)/ server; email client/server Peer-2-peer model: Host interaction symmetric E.g.: File sharing 8

Network edge: Connection-oriented service Goal: data transfer between end systems Handshake: setup (prepare for) data transfer ahead of time Hello, hello back human protocol Set up state in two communicating hosts TCP Transmission Control Protocol Internet s connectionoriented service TCP service [RFC 793] Reliable, in-order bytestream data transfer Loss: acknowledgements and retransmissions Flow control: Sender won t overwhelm receiver Congestion control: Senders slow down sending rate when network congested 9

Network edge: Connectionless service Goal: Data transfer between end systems Same as before! UDP User Datagram Protocol [RFC 768]: Internet s connectionless service Unreliable data transfer No flow control No congestion control 10

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 through net in discrete chunks 11

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 12

Network core: Packet switching Each end-end data stream divided into packets Users A, B packets share network resources Each packet uses full link bandwidth Resources used as needed 13

Network core: Packet switching A 1 Gbs Ethernet statistical multiplexing C B queue of packets waiting for output link 100 Mbs D 45 Mbs E Packet-switching versus circuit switching: Human restaurant analogy 14

Network core: Packet switching 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 Transmit over link Wait turn at next link 15

Delay in packet-switched networks Packets experience delay on end-to-end path Four sources of delay at each hop A transmission Nodal processing Check bit errors Determine output link Queueing Time waiting at output link for transmission Depends on congestion level at router propagation B nodal processing queueing 16

Delay in packet-switched networks Transmission delay: R=link bandwidth (bps) L=packet length (bits) Time to send bits into link = L/R Propagation delay: d = length of physical link s = propagation speed in medium (~2x10 8 m/sec) Propagation delay = d/s A transmission Note: s and R are very different quantities! propagation B nodal processing queueing 17

Queueing delay R=link bandwidth (bps) L=packet length (bits) a=average packet arrival rate Traffic intensity = La/R La/R ~ 0: average queueing delay small La/R -> 1: delays become large La/R > 1: more work arriving than can be serviced => average delay infinite! 18

Packet switching vs. circuit switching Is packet switching a slam dunk winner? Great for bursty data Resource sharing No call setup Excessive congestion: Packet delay and loss Protocols needed for reliable data transfer, congestion control Key question: How to provide circuit-like behavior? Bandwidth guarantees needed for audio/video apps 19

Packet-switched networks: Routing Goal: Move packets among routers from source to destination Datagram network: Destination address determines next hop Routes may change during session Analogy: Drive towards dst. and ask for directions Virtual circuit network: Fixed path determined at call setup time, remains fixed through call Each packet carries tag (virtual circuit ID); Tag determines next hop Routers maintain per-call state Analogy: Fixed driving instructions 20

What s a protocol? Human protocols: what s the time? I have a question introductions specific msgs sent specific actions taken when msgs received, or other events Network protocols: machines rather than humans all communication activity in Internet governed by protocols Protocols define format, order of msgs sent and received among network entities, and actions taken on msg transmission, receipt 21

Protocol layers Networks are complex! Many pieces : Hosts Routers Links of various media Applications Protocols Hardware, software Question: Is there any hope of organizing structure of network? Or at least in our discussion of networks? 22

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 does not affect rest of system Layering considered harmful? 23

Protocol Layers Networks are complex! many pieces : hosts routers links of various media applications protocols hardware, software Question: Is there any hope of organizing structure of network? Or at least our discussion of networks? 24

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 Can layering be considered harmful? 25

Internet protocol stack Application: Supporting network applications Transport: Host-host data transfer Network: Uniform format of packets, routing of datagrams from source to destination Link: Data transfer between neighboring network elements Physical: Bits on the wire application transport network link physical 26

Layering: Logical communication Each layer: Distributed Entities implement layer functions at each node Entities perform actions, exchange messages with peers application transport network link physical application transport network link physical application transport network link physical network link physical application transport network link physical 27

Layering: Logical communication E.g., transport Take data from application Add addressing, reliability check info to form datagram Send datagram to peer Wait for peer to ack receipt Analogy: post office data application transport network link physical transport application transport network link physical data ack application transport network link physical network link physical data application transport network link physical 28

Layering: Physical communication data application transport network link physical application transport network link physical application transport network link physical network link physical data application transport network link physical 29

Protocol layering and data Each layer takes data from above Adds header information to create new data unit Passes new data unit to layer below source destination H l H t H n H t H n H t M M M M application transport network link physical application transport network link physical H l H t H n H t H n H t M M M M message segment datagram frame 30

TCP/IP protokol structure Application (Prozesse) Telnet FTP HTTP SMTP DNS Transport (Hosts) Netzwerk TCP IP UDP Link FDDI Tokenring ATM Ethernet 31

What makes the Internet so sexy Applications can be deployed by anybody that is connected to the Internet (Fundamentally different to the Telephone world) Multi-service network: Everything over the Internet Every application protocol over IP IP over any network technology 32

Internet structure: Network of networks Roughly hierarchical At center: tier-1 ISPs (e.g., UUNet, BBN/Genuity, Sprint, AT&T), national/international coverage Treat each other as equals Tier-1 providers interconnect (peer) privately Tier 1 ISP NAP Tier 1 ISP Tier 1 ISP Tier-1 providers also interconnect at public network access points (NAPs) 33

Internet structure: Network of networks Tier-2 ISPs: smaller (often regional) ISPs Connect to one or more tier-1 ISPs, possibly other tier-2 ISPs Tier-2 ISP pays tier-1 ISP for connectivity to rest of Internet tier-2 ISP is customer of tier-1 provider Tier-2 ISP Tier-2 ISP Tier 1 ISP NAP Tier 1 ISP Tier 1 ISP Tier-2 ISPs also peer privately with each other, interconnect at NAP Tier-2 ISP Tier-2 ISP Tier-2 ISP 34

Internet structure: Network of networks Tier-3 ISPs and local ISPs Last hop ( access ) network (closest to end systems) Local and tier- 3 ISPs are customers of higher tier ISPs connecting them to rest of Internet local ISP local ISP Tier 3 ISP Tier 1 ISP Tier-2 ISP Tier-2 ISP local ISP local ISP Tier 1 ISP local ISP Tier-2 ISP IXPs Tier 1 ISP Tier-2 ISP local ISP local ISP Tier-2 ISP local ISP 35

Example Tier-1 ISP: Sprint 36

Internet structure: Network of networks A packet passes through many networks! Try traceroute! local ISP Tier 3 ISP Tier-2 ISP local ISP Tier 1 ISP local ISP Tier-2 ISP IXP local ISP local ISP Tier 1 ISP Tier-2 ISP local ISP Tier 1 ISP Tier-2 ISP local ISP Tier-2 ISP local ISP 37

Internet philosophy Interconnect networks Accross multiple different technologies Requirements on these networks Minimal assumption about network capabilities => some data should be transmitted from time to time Best Effort paradigma High survivability Mesh Intermediate nodes do not maintain per host state => End-to-end paradigma Layering with simple application interface Sockets 38

Internet design philosophy In order of importance: Connect existing networks Survivability Support multiple types of service Must accommodate a variety of networks Allow distributed management Allow host attachment with a low level of effort Be cost effective Allow resource accountability 39

Internet terminology internet Collection of packet switched networks interconnected by routers running the IP/TCP protocols The Internet Public Internet (in contrast to Intranets) End system == host attached to network Router = gateway = intermediate system Routes packets between its attached networks Firewall (device placed at network boundaries) Restricts packet flows to improve security 40

Internet terminology (2.) Name Identifies an object (e.g., an end system) Address Identifies where an object is located (here IP address) Name to address translation (and vice versa) Links names and addresses mail.zrz.tu-berlin.de 130.149.4.15 Interface Network attachment ( 1 interfaces = multihomed) Route How to get to an objects location Network prefix Set of addresses 41

Principles of the Internet Edge vs. core (end-systems vs. routers) Dumb network Intelligence at the end-systems Different communication paradigms Connection oriented vs. connection less Packet vs. circuit switching Layered system Network of collaborating networks 42