Network Overview. The network edge: The network edge: Internet Services Models. The network edge: A closer look at network structure:



Similar documents
Chapter 1 Computer Networks and the Internet

Internet structure: network of networks

CSCI Topics: Internet Programming Fall 2008

Introduction cont. Some Structure in the Chaos. Packet switching versus circuit switching. Access networks and physical media

Network Edge and Network Core

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?

TCIPG Reading Group. Introduction to Computer Networks. Introduction 1-1

Course book: Computer Networking. Computer Networks 3 rd edition. By Andrew ST S.Tanenbaum. Top Down approach 3 rd edition.

Delay, loss, layered architectures. packets queue in router buffers. packets queueing (delay)

Chapter 1: roadmap. Access networks and physical media

Roadmap. Cool internet appliances. Introduction to Computer Networks. What s the Internet: nuts and bolts view

Chapter 1 Introduction

Computer Networks and the Internet

Chapter 1: Introduction. Chapter 1: roadmap. What is the Internet? Introduction to Computer Networks 計 算 機 網 路 概 論

Chapter 1: Introduction. Chapter 1 Introduction. Chapter 1: roadmap. Cool internet appliances. What s the Internet: nuts and bolts view

What s the Internet. routers: forward packets (chunks of data) millions of connected computing devices: hosts = end systems

Chapter 1 Introduction

Network edge and network core. millions of connected compu?ng devices: hosts = end systems running network apps

Chapter 1 Computer Networks and the Internet. Chapter 1: Introduction. Chapter 1: roadmap. Cool internet appliances

Architecture and Performance of the Internet

Internet architecture is very scalable. Thailand Statistics

ECE/CS 372 introduction to computer networks. Lecture 2. Midterm scheduled for Tuesday, May 7 th

Chapter 1 Introduction

Course on Computer Communication and Networks. Lecture 1 & part of lecture 2 Chapter 1: Introduction

R2. The word protocol is often used to describe diplomatic relations. How does Wikipedia describe diplomatic protocol?

Chapter 1: Introduction. Chapter 1 Introduction. Chapter 1: roadmap. Cool internet appliances. What s the Internet: nuts and bolts view

Introduction. Chapter 1 Introduction. CS 3516 Computer Networks. Chapter 1: Roadmap. Chapter 1: Introduction. Cool Internet Appliances

Layered protocol (service) architecture

Computer Networks & Security 2014/2015

Introduction. Abusayeed Saifullah. CS 5600 Computer Networks. These slides are adapted from Kurose and Ross

Overview: Internet vs Data Center Networks

How To Understand The Internet Of S (Netware)

What s the Internet: a service view. Chapter 1 Introduction. What s the Internet: nuts and bolts view. What s the Internet: nuts and bolts view

1/31/2013. Data Communications & Networks. Session 1 Main Theme. 2 Introduction and Overview. Dr. Jean-Claude Franchitti

Module 2 Overview of Computer Networks

Introduction. Abusayeed Saifullah. CS 5600 Computer Networks. These slides are adapted from Kurose and Ross

Internet Routing. Review of Networking Principles

Overview of TCP/IP. TCP/IP and Internet

IT Internet Architecture and Protocols. Lecture 02 Overview of Internet Architecture

Telecommunications, Networks, and Wireless Computing

CH.1. Lecture # 2. Computer Networks and the Internet. Eng. Wafaa Audah. Islamic University of Gaza. Faculty of Engineering

Network Security. Vorlesung Kommunikation und Netze SS 10 E. Nett

Chapter 9A. Network Definition. The Uses of a Network. Network Basics

Lesson 1 - Computer Networks and Internet - Overview

: Instructor

ADSL or Asymmetric Digital Subscriber Line. Backbone. Bandwidth. Bit. Bits Per Second or bps

Review of Networking Basics. Yao Wang Polytechnic University, Brooklyn, NY11201

Computer Networks Homework 1

The Internet. Charging for Internet. What does 1000M and 200M mean? Dr. Hayden Kwok-Hay So

What is Network Latency and Why Does It Matter?

Analog vs. Digital Transmission

Introduction to computer networks and Cloud Computing

1 Introduction to mobile telecommunications

BCS THE CHARTERED INSTITUTE FOR IT BCS HIGHER EDUCATION QUALIFICATIONS. BCS Level 5 Diploma in IT SEPTEMBER Computer Networks EXAMINERS REPORT

CSIS CSIS 3230 Spring Networking, its all about the apps! Apps on the Edge. Application Architectures. Pure P2P Architecture

Network Performance: Networks must be fast. What are the essential network performance metrics: bandwidth and latency

Chapter 9. Internet. Copyright 2011 John Wiley & Sons, Inc 10-1

EECC694 - Shaaban. Transmission Channel

Computer Networking Networks

Computer Networks CS321

How To Understand The Internet From A Telephone To A Computer (For A Computer)

Computer Network Architecture

Chapter 7: Computer Networks, the Internet, and the World Wide Web. Invitation to Computer Science, C++ Version, Third Edition

Protocols. Packets. What's in an IP packet

Broadband 101: Installation and Testing

Network+ Guide to Networks 6 th Edition. Chapter 7 Wide Area Networks

1.1 History of Communication Networks

WAN Technology. Heng Sovannarith

Appendix A: Basic network architecture

Computers Are Your Future Prentice-Hall, Inc.

Chapter 11: WAN. Abdullah Konak School of Information Sciences and Technology Penn State Berks. Wide Area Networks (WAN)

Network Applications

Introduction to Computer Networking Chapter 1

Computer Networks Vs. Distributed Systems

Communication Networks. MAP-TELE 2011/12 José Ruela

TCP/IP Protocol Suite. Marshal Miller Chris Chase

Kick starting science...

Chapter 8: Computer Networking. AIMS The aim of this chapter is to give a brief introduction to computer networking.

Based on Computer Networking, 4 th Edition by Kurose and Ross

Overview of Computer Networks

ADSL part 2, Cable Internet, Cellular

an interconnected collection of autonomous computers interconnected = able to exchange information

Long Distance Connection and WAN

How To Get High Speed Internet In Australia

Chapter 4 Connecting to the Internet through an ISP

Narrowband and Broadband Access Technologies

Computer Network. Interconnected collection of autonomous computers that are able to exchange information

Objectives. Remote Connection Options. Teleworking. Connecting Teleworkers to the Corporate WAN. Providing Teleworker Services

Introduction Chapter 1. Uses of Computer Networks

Overview of Network Hardware and Software. CS158a Chris Pollett Jan 29, 2007.

EE4367 Telecom. Switching & Transmission. Prof. Murat Torlak

Chapter 2 - The TCP/IP and OSI Networking Models

What is CSG150 about? Fundamentals of Computer Networking. Course Outline. Lecture 1 Outline. Guevara Noubir noubir@ccs.neu.

Topics. Computer Networks. Let s Get Started! Computer Networks: Our Definition. How are Networks Used by Computers? Computer Network Components

Cable Modems. Definition. Overview. Topics. 1. How Cable Modems Work

Think! Think! Data communications. Long-Distance. Modems: to analog and back. Transmission Media. The last mile is the hardest for digital information

Residential Broadband: Technologies for High-Speed Access To Homes

CTS2134 Introduction to Networking. Module 07: Wide Area Networks

Computer Networks and the Internet

Transcription:

A closer look at network structure: Network Overview network edge: applications and hosts network core: routers network of networks access networks, media: communication s Introduction 1-1 Introduction 1-2 The network edge: The network edge: end systems (hosts): run application programs e.g. Web, email at edge of network client/server model client host requests, receives service from alwayson server e.g. Web browser/server; email client/server why such a popular model? Introduction 1-3 Introduction 1-4 The network edge: Internet Services odels Connection-oriented service peer-peer model: minimal (or no) use of dedicated servers e.g. Gnutella, KaZaA SETI@home? Connectionless service Applications FTP, Internet Phone, Web, Internet radio, email Introduction 1-5 Introduction 1-6 1

Connection-oriented service Connectionless service Goal: data transfer between end systems handshaking: setup (prepare for) data transfer ahead of time TCP - Transmission Control Protocol Internet s connection-oriented service reliable, in-order byte-stream data transfer loss: acknowledgements and retransmissions flow control: sender won t overwhelm receiver congestion control: senders slow down sending rate when network congested Goal: data transfer between end systems same as before! UDP - User Datagram Protocol [RFC 768]: connectionless unreliable data transfer no flow control no congestion control Introduction 1-7 What s it good for? Introduction 1-8 A Comparison The Network Core App s using TCP: HTTP (Web), FTP (file transfer), Telnet (remote login), STP (email) App s using UDP: streaming media, teleconferencing, DNS, Internet telephony Introduction 1-9 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 Introduction 1-10 Network Core: Circuit Switching End-end resources reserved for call bandwidth, switch capacity dedicated resources: no sharing circuit-like (guaranteed) performance call setup required Circuit Switching: FD and TD Example: FD 4 users frequency time TD frequency must divide bw into pieces... Introduction 1-11 time Introduction 1-12 2

Network Core: Packet Switching each end-end data stream divided into packets user A, B packets share network resources each packet uses full bandwidth resources used as needed resource contention: aggregate resource demand can exceed amount available what happens if bandwidth is not available? congestion: packets queue, wait for use store and forward: packets move one hop at a time Node receives complete packet before forwarding Packet Switching: Statistical ultiplexing A B 10 b/s Ethernet queue of packets waiting for output statistical multiplexing 1.5 b/s D Sequence of A & B packets does not have fixed pattern statistical multiplexing. E C Introduction 1-13 Introduction 1-14 Packet switching versus circuit switching Packet switching allows more users to use network! Packet switching versus circuit switching Is packet switching a slam dunk winner? 1 b/s each user: 100 kb/s when active active 10% of time circuit-switching: 10 users packet switching: with 35 users, probability > 10 active less than.0004 N users 1 bps Introduction 1-15 Great for bursty data resource sharing simpler, no call setup Excessive congestion: packet delay and loss protocols needed for reliable data transfer, congestion control Circuit Switching = Guaranteed behavior good for which apps? Introduction 1-16 Packet-switching: store-and-forward Packet-switched networks: forwarding Takes L/R seconds to transmit (push out) packet of L bits on to or R bps Entire packet must arrive at router before it can be transmitted on next : store and forward delay = 3L/R L R R R Example: L = 7.5 bits R = 1.5 bps delay = 15 sec Introduction 1-17 Goal: move packets through routers from source to destination we ll study several path selection (i.e. routing) algorithms (chapter 4) datagram network: destination address in packet determines next hop routes may change during session analogy: driving, asking directions virtual circuit network: each packet carries tag (virtual circuit ID), tag determines next hop fixed path determined at call setup time, remains fixed thru call routers maintain per-call state Introduction 1-18 3

Network Taxonomy Access networks and media FD Circuit-switched networks Telecommunication networks TD Networks with VCs Packet-switched networks Datagram Networks Datagram network is not either connection-oriented or connectionless. Internet provides both connection-oriented (TCP) and connectionless services (UDP) to apps. Introduction 1-19 Q: How to connect end systems to edge router? residential access nets institutional access networks (school, company) mobile access networks Keep in mind: bandwidth (bits per second) of access network? shared or dedicated? Introduction 1-20 Residential access: point to point access Residential access: cable modems Dialup via modem up to 56Kbps direct access to router (often less) Can t surf and phone at same time: can t be always on ADSL: asymmetric digital subscriber line up to 1 bps upstream (today typically < 256 kbps) up to 8 bps downstream (today typically < 1 bps) HFC: hybrid fiber coax asymmetric: up to 30bps downstream, 2 bps upstream network of cable and fiber attaches homes to router homes share access to router deployment: available via cable TV companies FD: 50 khz - 1 Hz for downstream 4 khz - 50 khz for upstream 0 khz - 4 khz for ordinary telephone Introduction 1-21 Introduction 1-22 Cable Network Architecture: Overview Cable Network Architecture: Overview Typically 500 to 5,000 homes cable headend cable headend cable distribution network (simplified) home cable distribution network (simplified) home Introduction 1-23 Introduction 1-24 4

Company access: area networks Wireless access networks company/univ area network (LAN) connects end system to edge router Ethernet: shared or dedicated connects end system and router 10 bs, 100bps, Gigabit Ethernet LANs: chapter 5 Introduction 1-25 shared wireless access network connects end system to router via base station aka access point wireless LANs: 802.11b (WiFi): 11 bps wider-area wireless access provided by telco operator 3G ~ 384 kbps Will it happen?? WAP/GPRS in Europe router base station mobile hosts Introduction 1-26 Home networks Physical edia Typical home network components: ADSL or cable modem router/firewall/nat Ethernet wireless access point to/from cable headend cable modem router/ firewall Ethernet wireless access point wireless laptops Introduction 1-27 Bit: propagates between transmitter/rcvr pairs : 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 bps Ethernet Category 5: 100bps Ethernet Introduction 1-28 Physical edia: coax, fiber Coaxial cable: two concentric copper conductors bidirectional baseband: single channel on cable legacy Ethernet broadband: multiple channel 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., 5 Gps) low error rate: repeaters spaced far apart ; immune to electromagnetic noise Introduction 1-29 Physical media: radio signal carried in electromagnetic spectrum no wire bidirectional propagation environment effects: reflection obstruction by objects interference Radio types: terrestrial microwave e.g. up to 45 bps channels LAN (e.g., Wifi) 2bps, 11bps wide-area (e.g., cellular) e.g. 3G: hundreds of kbps satellite up to 50bps channel (or multiple smaller channels) 270 msec end-end delay geosynchronous versus low altitude Introduction 1-30 5

Internet structure: network of networks roughly hierarchical at center: tier-1 s (e.g., UUNet, BBN/Genuity, Sprint, AT&T), national/international coverage treat each other as equals Tier-1 providers interconnect (peer) privately Tier 1 Tier 1 NAP Tier 1 Tier-1 providers also interconnect at public network access points (NAPs) Tier-1 : e.g., Sprint Sprint US backbone network Introduction 1-31 Introduction 1-32 Internet structure: network of networks Tier-2 s: smaller (often regional) s Connect to one or more tier-1 s, possibly other tier-2 s Internet structure: network of networks Tier-3 s and s last hop ( access ) network (closest to end systems) Tier-2 pays tier-1 for connectivity to rest of Internet tier-2 is customer of tier-1 provider Tier-2 Tier 1 Tier-2 Tier 1 Tier-2 NAP Tier 1 Tier-2 Tier-2 s also peer privately with each other, interconnect at NAP Tier-2 Introduction 1-33 Local and tier- 3 s are customers of higher tier s connecting them to rest of Internet Tier 3 Tier-2 Tier 1 Tier-2 Tier-2 Tier 1 NAP Tier 1 Tier-2 Tier-2 Introduction 1-34 Internet structure: network of networks a packet passes through many networks! Tier 3 Tier-2 Tier-2 Tier 1 NAP How do loss and delay occur? packets queue in router buffers packet arrival rate to exceeds output capacity packets queue, wait for turn packet being transmitted (delay) A Tier 1 Tier-2 Tier 1 Tier-2 Tier-2 Introduction 1-35 B packets queueing (delay) free (available) buffers: arriving packets dropped (loss) if no free buffers Introduction 1-36 6

Four sources of packet delay 1. nodal processing: A check bit errors determine output B transmission nodal processing propagation queueing 2. queueing time waiting at output for transmission depends on congestion level of router Introduction 1-37 Delay in packet-switched networks 3. Transmission delay: R= bandwidth (bps) L=packet length (bits) time to send bits into = L/R A B transmission nodal processing 4. Propagation delay: d = length of s = propagation speed in medium (~2x10 8 m/sec) propagation delay = d/s propagation queueing Note: s and R are very different quantities! Introduction 1-38 Nodal delay d = d + d + d + d nodal proc queue d proc = processing delay typically a few microsecs or less d queue = queuing delay depends on congestion d trans = transmission delay = L/R, significant for low-speed s d prop = propagation delay trans prop a few microsecs to hundreds of msecs Introduction 1-39 Real Internet delays and routes What do real Internet delay & loss look like? Traceroute program: provides delay measurement from source to router along endend Internet path towards destination. For all i: sends three packets that will reach router i on path towards destination router i will return packets to sender sender times interval between transmission and reply. 3 probes 3 probes 3 probes Introduction 1-40 Real Internet delays and routes traceroute: gaia.cs.umass.edu to www.eurecom.fr Three delay measements from gaia.cs.umass.edu to cs-gw.cs.umass.edu 1 cs-gw (128.119.240.254) 1 ms 1 ms 2 ms 2 border1-rt-fa5-1-0.gw.umass.edu (128.119.3.145) 1 ms 1 ms 2 ms 3 cht-vbns.gw.umass.edu (128.119.3.130) 6 ms 5 ms 5 ms 4 jn1-at1-0-0-19.wor.vbns.net (204.147.132.129) 16 ms 11 ms 13 ms 5 jn1-so7-0-0-0.wae.vbns.net (204.147.136.136) 21 ms 18 ms 18 ms 6 abilene-vbns.abilene.ucaid.edu (198.32.11.9) 22 ms 18 ms 22 ms 7 nycm-wash.abilene.ucaid.edu (198.32.8.46) 22 ms 22 ms 22 ms 8 62.40.103.253 (62.40.103.253) 104 ms 109 ms 106 ms 9 de2-1.de1.de.geant.net (62.40.96.129) 109 ms 102 ms 104 ms 10 de.fr1.fr.geant.net (62.40.96.50) 113 ms 121 ms 114 ms 11 renater-gw.fr1.fr.geant.net (62.40.103.54) 112 ms 114 ms 112 ms 12 nio-n2.cssi.renater.fr (193.51.206.13) 111 ms 114 ms 116 ms 13 nice.cssi.renater.fr (195.220.98.102) 123 ms 125 ms 124 ms 14 r3t2-nice.cssi.renater.fr (195.220.98.110) 126 ms 126 ms 124 ms 15 eurecom-valbonne.r3t2.ft.net (193.48.50.54) 135 ms 128 ms 133 ms 16 194.214.211.25 (194.214.211.25) 126 ms 128 ms 126 ms 17 * * * 18 * * * 19 fantasia.eurecom.fr (193.55.113.142) 132 ms 128 ms 136 ms trans-oceanic * means no reponse (probe lost, router not replying) Introduction 1-41 Packet loss queue (aka buffer) preceding in buffer has finite capacity when packet arrives to full queue, packet is dropped (aka lost) lost packet may be retransmitted by previous node, by source end system, or not retransmitted at all Introduction 1-42 7

Protocol Layers Organization of air travel Networks are complex! many pieces : hosts routers s of various media applications protocols hardware, software Question: Is there any hope of organizing structure of network? Or at least our discussion of networks? Introduction 1-43 ticket (purchase) baggage (check) gates (load) runway takeoff airplane routing a series of steps ticket (complain) baggage (claim) gates (unload) runway landing airplane routingairplane routing Introduction 1-44 Layering of airline functionality ticket (purchase) ticket (complain) ticket baggage (check) baggage (claim baggage gates (load) gates (unload) gate runway (takeoff) runway (land) takeoff/landing airplane routing airplane routing airplane routing airplane routing airplane routing departure intermediate air-traffic arrival airport control centers airport Layers: each layer implements a service via its own internal-layer actions relying on services provided by layer below Introduction 1-45 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 layering considered harmful? Introduction 1-46 Internet protocol stack application: supporting network applications FTP, STP, STTP transport: host-host data transfer TCP, UDP network: routing of datagrams from source to destination IP, routing protocols : data transfer between neighboring network elements PPP, Ethernet : bits on the wire application transport network message segment H t datagram H n H t frame H t H t H n H t H n H l H t H n H l destination application transport network source application transport network H l H n H t H l H n H t H t H n H t H n H l Encapsulation network H t H n H t H n H l switch router Introduction 1-47 Introduction 1-48 8