A Whirlwind Introduction to the Internet Overview

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

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

Computer Networking Introduction

Chapter 1: introduction

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

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

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?

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?

Chapter 1 Introduction

Fundamentals of Information Systems

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

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

CS 204: Advanced Computer Networks

CSC 401 Data and Computer Communications Networks

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

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

CSEN 503 Introduction to Communication Networks

Part I: Introduction. 1: Introduction 1

Computer Networks and the internet. Daniel Graham Ph.D

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

Overview on the Internet the current and future telecommunication network

CS 471G Friday, 11 January Introduction 2-1

CSC 4900 Computer Networks: Introduction

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

CSE3213 Computer Network I

CS 3516: Computer Networks

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

CSC 401 Data and Computer Communications Networks

Lecture 2: Internet Structure

Chapter 1 Introduction

Computer Networking Introduction

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

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

CS 3516: Advanced Computer Networks

Chapter 1 Introduction

Network Programming I Computer Network Design

Introduction to computer networking

RSC Part I: Introduction

Chapter 1. Computer Networks and the Internet

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

Chapter I: Introduction

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

Networks Overview. Dr. Yingwu Zhu

CSE 434 Spring 2013 Computer Networks

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

Chapter 1 Introduction

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

Internet: A Brief Overview. Introduction 2-1

Telecommunication Networks Introduction

Network Protocols and Architectures

Introduction to Computer Networks. Roadmap

Lecture Computer Networks WS 2016/2017

Web Protocols and Practice

Defining the Internet

Network core and metrics

CS 332: Computer Networks Introduction

Telecommunication Networks Introduction

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

Introduction to Computer Networks. Chapter 1: introduction

Informática y Comunicaciones. Chapter 1 Introduction to Communications

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

Internet Routing. Review of Networking Principles

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

LECTURE 1 - INTRODUCTION. Jacob Aae Mikkelsen

CNT 4007 Computer Networks - Chapter 1 : Overview

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

Read Chapter 1 of Kurose-Ross

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

Computer Communication Networks

Foundations of Telematics

Internet: A Brief Overview. Chapter 1

Module 2 Overview of Computer Networks

Module 2 Overview of. Computer Networks

Course on Computer Communication and Networks. Lecture 2 Chapter 1: Introduction: Part B: Network structure, performance, security prelude

CS348: Computer Networks Introduction to Computer Networks and Internet

A closer look at network structure:

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

Chapter 1 Computer Networks and the Internet

Packet-switching: store-and-forward

Welcome to CS 340 Introduction to Computer Networking

Chapter 1 Introduction

Introduction. overview: our goal: get feel and terminology more depth, detail later in course approach: use Internet as example

Module 1 Introduction CS655! 1-1!

CS4491/02 Fog Computing. Network Basics

Computer Networking: A Top Down Approach

COMP 562: Advanced Topics in Networking

Course Introduction. Off script lecturing on whiteboard Just as important towards exams, etc.

Chapter 1: introduction

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

Internetworking Technology -

CS197U: A Hands on Introduction to Unix

Δίκτυα Μετάδοσης Δεδομένων Data Networks. Introduction 1-1

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

Chapter 1 Introduction

Chapter 1 Introduction

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

EC441 Fall 2018 Introduction to Computer Networking Chapter 1: Introduction

Lecture 1 - Introduction

Lecture 2 Physical Layer - Multiplexing

Transcription:

CS 455/555 / Spring 2013 Intro to Networks and Communications Whirlwind Introduction to the Inter (part 1) Dr. Michele C. Weigle http://www.cs.odu.edu/~mweigle/cs455-s13/ A Whirlwind Introduction to the Inter Overview! What's the Inter (KR 1.1)! Network Edge (KR 1.2)! Network Core (KR 1.3)! Performance: Loss and Delay (KR 1.4)! Protocol Layering (KR 1.5)! Networks Under Attack (KR 1.6)! History (KR 1.7) local ISP company work regional ISP 2

Just What is the Inter? The "nuts and bolts" view! Millions of connected computing devices! hosts = end-systems! running work apps! Communication links (KR 1.2)! Different media (fiber, copper wire, radio, satellite)! Different transmission rates bits per second (bps)! 10 3 (Kbps) to 10 6 (Mbps) to 10 9 (Gbps)! Routers (KR 1.3)! forward packets of data though the work local ISP company work router server regional ISP workstation mobile 3 Growth of the Inter 4

"Cool" Inter Appliances Web-enabled toaster + weather forecaster IP picture frame http://www.ceiva.com/ Tweet-a-watt: monitor energy use 5 Inter refrigerator Slingbox: watch, control cable TV remotely Inter phones Aside Typical Networking Units! Speed! bits per second (bps)! Kilo (K) = 10 3 = 1,000! Mega (M) = 10 6 = 1,000,000! Giga (G) = 10 9 = 1,000,000,000! Time! seconds (s)! milli (m) = 10-3 = 0.001! micro (µ) = 10-6 = 0.000001! Capacity / Size! bytes (B)! Kilo (K) = 2 10 = 1,024! Mega (M) = 2 20 = 1,048,576! Giga (G) = 2 30 = 1,073,741,824 Remember: 8 bits to 1 byte (8b = 1B) 6

Just What is the Inter? The "nuts and bolts" view! Protocols: control sending, receiving of messages! E.g., TCP, IP, HTTP, SMTP,.! Inter: "work of works"! Loosely hierarchical! Public Inter versus private intra! Inter standards! RFC: Request for comments! IETF: Inter Engineering Task Force local ISP company work router server regional ISP workstation mobile 7 Just What is the Inter? The "services" view! A communication infrastructure enabling distributed applications:! web, email, VoIP, games, e-commerce, file-sharing, voting,... local ISP regional ISP! Communication services provided to apps:! reliable data delivery from source to destination! "best effort" (unreliable) data delivery company work 8

The Nuts & Bolts View What is a protocol? Main Entry: pro-to-col 1: An original draft, minute, or record of a document or transaction 2a: A preliminary memorandum often formulated and signed by diplomatic negotiators as a basis for a final convention or treaty b: The records or minutes of a diplomatic conference or congress that show officially the agreements arrived at by the negotiators 3a: A code prescribing strict adherence to correct etiquette and precedence (as in diplomatic exchange and in the military services) b: A set of conventions governing the treatment and especially the formatting of data in an electronic communications system 4: A detailed plan of a scientific or medical experiment, treatment, or procedure 9 The Nuts & Bolts View What is a protocol?! Human protocols:! "Do you have the time?"! "I have a question"! Introductions! Both:! Specific messages sent! Specific actions taken when messages (or other events) received! Network protocols:! Machines rather than humans! All communication activity in Inter governed by protocols Protocols define format, order of messages sent and received among work entities, and actions taken on message transmission, receipt 10

What is a protocol? A specification for a set of message exchanges Human protocols: Get the time from a stranger Hi" Hi" Do you have the time?" Computer protocols: Get the class time from a web server TCP connection" request" TCP connection" reply" Get http://www.cs.odu.edu/~mweigle/cs455-s13/" Yes! It's 11:00" Time" <web page>" 11 A Whirlwind Introduction to the Inter Overview! What's the Inter (KR 1.1)! Network Edge (KR 1.2)! Network Core (KR 1.3)! Performance: Loss and Delay (KR 1.4)! Protocol Layering (KR 1.5)! Networks Under Attack (KR 1.6)! History (KR 1.7) local ISP company work regional ISP 12

The Structure of the Inter Network Edge and Access! Network edge:! applications running on hosts! "host" = "end system"! Access works, physical media:! wired, wireless communication links! Network Core:! interconnected routers! work of works 13 Network Structure Access Networks! How to connect endsystems to edge router?! Home! Enterprise! Wireless! Issues:! Transmission speed (bits per second) of work! Shared or dedicated? 14

Access Networks Digital Subscriber Line (DSL) central office telephone work DSL modem splitter voice, data transmitted at different frequencies over dedicated line to central office DSLAM DSL multiplexer ISP! Use existing telephone line to central office DSLAM! data over DSL phone line goes to Inter! voice over DSL phone line goes to telephone! < 2.5 Mbps upstream transmission rate (typically < 1 Mbps)! < 24 Mbps downstream transmission rate (typically < 10 Mbps) 15 Access Networks Cable cable headend cable modem splitter data, TV transmitted at different frequencies over shared cable distribution work CMTS cable modem termination system ISP! HFC: hybrid fiber coax! asymmetric: up to 30Mbps downstream transmission rate, 2 Mbps upstream transmission rate! work of cable, fiber attaches homes to ISP router! homes share work to cable headend! unlike DSL, which has dedicated to central office 16

Access Networks Cable cable headend cable modem splitter V I D E O V I D E O V I D E O V I D E O V I D E O Channels V I D E O D A T A D A T A C O N T R O L 1 2 3 4 5 6 7 8 9 frequency division multiplexing: different channels transmitted in different frequency bands 17 Access Networks Fiber to the Home! Optical links from central office to the home! Two competing optical technologies! Active Optical Network (AON)! Passive Optical Network (PON) - Verizon FIOS! Much higher Inter rates! down - 10-20 Mbps! up - 2-10 Mpbs! Fiber also carries television and phone services http://www.iptvinformation./content/binary/08.22.2005-pon-network.gif 18

Access Networks Enterprise works (Ether) institutional link to ISP (Inter) institutional router Ether switch institutional mail, web servers! Typically used in companies, universities, etc! 10 Mbps, 100Mbps, 1Gbps, 10Gbps transmission rates! today, end systems typically connect into Ether switch 19 Access Networks Comparison Access Technology Upstream Downstream Shared/ Dedicated to Router DSL 1-2.5 Mbps 10-24 Mbps dedicated cable 2 Mbps <30 Mbps shared fiber 2-10 Mbps 10-20 Mbps shared Ether 10 Mbps - 10 Gbps 10 Mbps - 10 Gbps dedicated 20

Access Networks Wireless works! Shared wireless work connects end-system to router! Wireless LANs! radio spectrum replaces wire! transmit to base station (aka point), which is connected via wire! 100 feet! 802.11b/g (WiFi): 11 or 54 Mbps! Wide-area wireless! via cellular work! 10s of kms! 1-10 Mbps! 3G, 4G: LTE to Inter to Inter 21 Wireless Access Networks Home Networks wireless devices often combined in single box to/from headend or central office cable or DSL modem wireless point (54 Mbps) router, firewall, NAT wired Ether (100 Mbps) 22

Wireless Networks Other Types! Ad-Hoc Networks! no base station! nodes communicate directly with each other! Mobile Ad-Hoc Networks (MANET)! ad-hoc work where the nodes can move! Vehicular Ad-Hoc Networks (VANET)! MANET where the nodes are vehicles 23 Host: sends packets of data Host sending function:! takes application message! breaks into smaller chunks, known as packets, of length L bits! transmits packet into work at transmission rate R! link transmission rate, aka link capacity, aka link bandwidth 2 host 1 two packets, L bits each R: link transmission rate packet transmission delay time needed to transmit L-bit packet into link = = L (bits) R (bits/sec) 24

Physical Media! bit: propagates between transmitter/receiver 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 5: 100 Mbps, 1 Gbps Ether! Category 6: 10 Gbps 25 Physical Media Coaxial and fiber optic cable! Coaxial cable! Wire (signal carrier) within a wire (shield)! Bi-directional transmission! Broadband! multiple channels on cable! HFC (cable)! Fiber optic cable! Glass fiber carrying light pulses! High-speed operation:! high-speed point-to-point transmission (e.g., 10s-100s Gbps)! Low signal attenuation long distances! Low error rate! repeaters spaced far apart! immune to electomagic noise! Prevalent in the Inter backbone 26

Physical Media Radio! Signal carried in electromagic spectrum! No physical "wire"! Bi-directional! Physical environment effects propagation! Reflection! Obstruction by objects! Interference uplink base station! Radio link types:! LAN (e.g., WiFi)! 11 Mbps, 54 Mbps! Wide-area (e.g., cellular)! 3G: ~few Mbps! Satellite! Kbps to 45Mbps! 270 ms end-end delay! Used in telephone works, Inter backbone, and increasingly for residential 27 A Whirlwind Introduction to the Inter Overview! What's the Inter (KR 1.1)! Network Edge (KR 1.2)! Network Core (KR 1.3)! Performance: Loss and Delay (KR 1.4)! Protocol Layering (KR 1.5)! Networks Under Attack (KR 1.6)! History (KR 1.7) local ISP company work regional ISP 28

Network Structure The work core! A mesh of interconnected routers! The fundamental question: How is data routed through the work?! Packet switching: data sent in discrete chunks (packets); each has a path chosen for it! Circuit switching: dedicated circuit (path) per call used by all data (e.g., telephone) 29 The Network Core Packet Switching! Hosts break applicationlayer messages into packets! forward packets from one router to the next, across links on path from source to destination! each packet transmitted at full link capacity 30

Packet Switching Store and Forward L'bits' per'packet' source' 3' 2' 1' R'bps'! Takes L/R seconds to transmit (push out) packet of L bits on to link at R bps! Store and forward: entire packet must arrive at router before it can be transmitted on next link! delay (for one packet) = 2L/R (assuming 0 propagation delay) R'bps'! Example:! L = 7.5 Mbits! R = 1.5 Mbps! one-hop transmission delay = 5 sec more on delay in part 2 des+na+on' 31 Store and Forward Question L'bits' per'packet' source' 3' 2' 1' R'bps' R'bps' des+na+on'! How long until the destination receives all 3 packets?! Reminder: L bits /R bps 32

Store and Forward Thought Question For Next Time... L'bits' per'packet' source' 3' 2' 1' R'bps' R'bps' des+na+on'! What is the delay for P packets of length L sent over a series of N links? 33 Packet Switching Queuing delay, loss A R = 100 Mb/s C B queue of packets waiting for output link R = 1.5 Mb/s D E! If arrival rate (in bits) to link exceeds transmission rate of link for a period of time:! packets will queue, wait to be transmitted on link! packets can be dropped (lost) if memory (buffer) fills up 34

Network Core Two Key Functions! routing: determines sourcedestination route taken by packets! routing algorithms! forwarding: move packets from router's input to appropriate router output routing algorithm local forwarding table header value output link 0100 0101 0111 1001 3 2 2 1 3 2 1 35 dest address in arriving packet's header Network Core Alternative: circuit switching! End-end resources allocated to, reserved for, "call" between source & dest:! In diagram, each link has four circuits.! call gets 2nd circuit in top link and 1st circuit in right link.! Dedicated resources: no sharing! guaranteed performance! Circuit segment idle if not used by call (no sharing)! Commonly used in traditional telephone works 36

Circuit Switching FDM versus TDM FDM (frequency division multiplexing) Example: 4 users frequency time TDM (time division multiplexing) frequency time 37 Circuit Switching Example! How long would it take to send a file of 640,000 bits from Host A to Host B over a circuit-switched work?! All links have a total bitrate of 1.536 Mbps! Links use TDM with 24 slots! Takes 500 ms to setup a circuit 38

Packet Switching vs. Circuit Switching Example! 1 Mbps link! each user:! 100 kbps when "active"! active 10% of time Packet switching allows more users to use work!! circuit-switching:! 10 users! packet switching:! with 35 users, probability that more than 10 are active at same time is less than 0.0004 N users 1 Mbps link 39 Packet Switching vs. Circuit Switching Is packet switching a "no brainer"?! Great for bursty data! Resource sharing! No call setup! Excessive congestion: packet delay and loss! Protocols needed for reliable data transfer, congestion control! How to provide circuit-like behavior?! Bandwidth guarantees needed for audio/video applications?! Still an unsolved problem (that's why we do research!) 40

Inter Structure Network of works! End systems connect to Inter via ISPs (Inter Service Providers)! Residential, company and university ISPs! Access ISPs in turn must be interconnected.! So that any two hosts can send packets to each other! Resulting work of works is very complex! Evolution was driven by economics and national policies 41 Inter Structure Network of works! Question: given millions of ISPs, how to connect them together? 42

Inter Structure Network of works! Option: connect each ISP to every other ISP? connecting each ISP to each other directly doesn't scale: O(N 2 ) connections. 43 Inter Structure Network of works! Option: connect each ISP to a global transit ISP? Customer and provider ISPs have economic agreement. global ISP 44

Inter Structure Network of works! But if one global ISP is viable business, there will be competitors. ISP A ISP B ISP C 45 Inter Structure Network of works!. which must be interconnected ISP A Inter exchange point IXP IXP ISP B ISP C peering link 46

Inter Structure Network of works! and regional works may arise to connect s to ISPs ISP A IXP IXP ISP B ISP C regional 47 Inter Structure Network of works! and content provider works (e.g., Google, Microsoft, Akamai) may run their own work, to bring services and content close to end users 48 ISP C ISP A ISP B IXP Content provider work IXP regional

Inter Structure Network of works Tier 1 ISP Tier 1 ISP Google IXP IXP IXP Regional ISP Regional ISP ISP ISP ISP ISP ISP ISP ISP ISP! at center: small # of well-connected large works! "tier-1" commercial ISPs (e.g., Level 3, Sprint, AT&T, NTT), national & international coverage! content provider work (e.g, Google): private work that connects it data centers to Inter, often bypassing tier-1, regional ISPs 49 The Network Core Sprint's Backbone Map POP: point-of-presence to/from backbone peering to/from customers 50

A Whirlwind Introduction to the Inter Overview! What's the Inter (KR 1.1)! Network Edge (KR 1.2)! Network Core (KR 1.3)! Performance: Loss and Delay (KR 1.4)! Protocol Layering (KR 1.5)! Networks Under Attack (KR 1.6)! History (KR 1.7) local ISP company work regional ISP 51