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

Similar documents
CSEN 503 Introduction to Communication Networks

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

Computer Systems and Networks. ECPE 170 Jeff Shafer University of the Pacific. Computer Networks

RSC Part I: Introduction

Network Protocols and Architectures

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

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

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?

CSE3213 Computer Network I

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

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

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

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

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

Internet Routing. Review of Networking Principles

Networking Fundamentals

Web Protocols and Practice

CSC 401 Data and Computer Communications Networks

COMP 562: Advanced Topics in Networking

Chapter 1: Introduction

CS 332: Computer Networks Introduction

CS 204: Advanced Computer Networks

Networking Fundamentals

Chapter 1. Computer Networks and the Internet

Introduction to computer networking

Lecture 2: Internet Structure

Defining the Internet

Part I: Introduction. 1: Introduction 1

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

end systems, access networks, links 1.3 network core

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

CSC 4900 Computer Networks: Introduction

Introduction to the Internet

CS197U: A Hands on Introduction to Unix

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

Module 2 Overview of Computer Networks

Module 2 Overview of. Computer Networks

CNT 4007 Computer Networks - Chapter 1 : Overview

Welcome to CS 340 Introduction to Computer Networking

CSCE 463/612 Networks and Distributed Processing Spring 2018

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

Computer Networks. ENGG st Semester, 2010 Hayden Kwok-Hay So

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

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

CS 3516: Computer Networks

A closer look at network structure:

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

Chapter I: Introduction

CSCI Computer Networks

Packet-switching: store-and-forward

CSCE 463/612 Networks and Distributed Processing Spring 2018

Chapter 1 Introduction

CS 3516: Advanced Computer Networks

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

ECE 650 Systems Programming & Engineering. Spring 2018

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

Chapter 1 Computer Networks and the Internet

The Diffie-Hellman Key Exchange

Chapter 1: introduction

Overview on the Internet the current and future telecommunication network

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

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

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

Computer Networks and the internet. Daniel Graham Ph.D

CSCD 433/533 Advanced Networks

Computer Networking Introduction

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

Chapter 1 Introduction

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

Fundamentals of Information Systems

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

A Whirlwind Introduction to the Internet Overview

Computer Networking Introduction

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

Welcome to: Computer Science 457 Networking and the Internet. Fall 2014 Dr. Joseph Gersch

Computer Communication Networks

Networks Overview. Dr. Yingwu Zhu

Review for Internet Introduction

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

1. What is a Computer Network? interconnected collection of autonomous computers connected by a communication technology

Foundations of Telematics

Telecommunication Networks Introduction

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

CS 471G Friday, 11 January Introduction 2-1

CMSC 322 Computer Networks Applications and End-To- End

Protocol Layers & Wireshark TDTS11:COMPUTER NETWORKS AND INTERNET PROTOCOLS

Telecommunication Networks Introduction

CSE 4213: Computer Networks II

CSC 4900 Computer Networks: End-to-End Design

Operating Systems. 16. Networking. Paul Krzyzanowski. Rutgers University. Spring /6/ Paul Krzyzanowski

PLEASE READ CAREFULLY BEFORE YOU START

Welcome to: Computer Science 457 Networking and the Internet. Fall 2016 Indrajit Ray

PLEASE READ CAREFULLY BEFORE YOU START

PLEASE READ CAREFULLY BEFORE YOU START

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

Data Communications and Networks Spring Syllabus and Reading Assignments

precise rules that govern communication between two parties TCP/IP: the basic Internet protocols IP: Internet protocol (bottom level)

JAMES F. KUROSE AND KEITH W. ROSS

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

Transcription:

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

Instructor: Dr. Jeff Shafer Email: jshafer at pacific dot edu Office: Anderson 205 Office hours (posted on my door) Monday: 1:00-3:00pm Thursday: 1:00-3:00pm plus whenever my office door is open 2

Lecture When: Tuesday / Thursday, 5pm- 6:30pm Where: Chambers 115 (might change ) Lab When: Monday, 3:30-6:30pm Where: Baun 214 Lab start date: Mon Sept 8 th 3

Course websites: http://ecs- network.serv.pacific.edu/ecpe- 177 Slides, syllabus, schedule, assignments, and more http://pacific.rsmart.com/ Sakai for assignment submission and emails only Should auto- signup if enrolled in course 4

COMP 53 Data structures Programming in high level language Basic data structures, arrays, pointers, functions, system calls, ECPE 170 Computer Systems and Networks Linux / command- line usage C programming 5

What do I, as an application programmer, need to understand about computer networks (including software and hardware both on your computer and elsewhere on the network) in order to write efficient, high- performing programs? 6

Labs 10% Applying theoretical concepts to real- world network equipment (Cisco routers and switches) Lab Practical Exam 10% 7

In- class Presentations 8% Two presentations Quizzes 12% Six quizzes throughout the semester Posted on class schedule 15 minutes max In lieu of a midterm and final exam 8

Projects 60% 6 programming projects using network sockets Individual Implementation platform: Linux Python (3.4+) Past projects: Web server (basic) + web server (parallel) Latency / bandwidth measurement tool Instant messenger / file sharing client 9

Will have in- class project work days throughout the semester A laptop to bring to class would be ideal Must be able to run Linux (either in a virtual machine, or dual boot) Do you have a laptop? Do we need an alternate plan? (USB key booting ) 10

??? 11

What is the Internet? Network edge - vs- Network core Protocol layers 12

What good is a computer when the network is down? I just keep hitting refresh on my web browser until something happens What good is my iphone with no AT&T / Verizon service? What good is a TV without on- demand Netflix streaming? 13

PC server wireless laptop cellular handheld router access points wired links Hosts (end systems) Millions of connected computing devices Running network apps Communication links Fiber, copper, radio, satellite Transmission rate = bandwidth Routers Forward packets (chunks of data) between links Mobile network Global ISP Home network Regional ISP Institutional network 14

Protocols Control sending and receiving of messages e.g., TCP, IP, HTTP, Skype, Ethernet Mobile network Global ISP Internet standards Who makes (some of) the protocols? IETF: Internet Engineering Task Force RFC: Request for comments Home network Regional ISP Institutional network Internet: network of networks Loosely hierarchical Public Internet versus private intranet 15

What is the Internet? Network edge - vs- Network core Protocol layers 16

Network edge Applications and hosts Access networks and physical media Wired, wireless communication links Network core Interconnected routers Network of networks 17

18

End systems (hosts) at edge Run application programs Two models of applications Client/server Peer- to- Peer (P2P) What s the difference? peer- peer Client/server model client/server Client host requests data from always- on server (e.g. web, email, ) Peer- to- peer model Minimal (or no) use of dedicated servers (e.g. Skype, BitTorrent) 19

Mesh of interconnected routers Fundamental question: how is data transferred through mesh? Circuit switching Dedicated circuit per call Classic telephone network Packet- switching: Data sent thru mesh in discrete chunks 20

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 must wait in queue Store and forward: packets move one hop at a time Receive complete packet before forwarding 21

A 100 Mb/s Ethernet statistical multiplexing C B queue of packets waiting for output link 1.5 Mb/s D E Sequence of A & B packets does not have fixed pattern, bandwidth shared on demand statistical multiplexing. Contrast against circuit switching / time- division multiplexing Each host gets same slot (fixed pattern) 22

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 max Packet switching: With 35 users, probability > 10 active at same time is less than.0004 N users 1 Mbps link 23

Is packet switching perfect in all situations? (Think about your own experiences) Great for bursty data Resource sharing Simpler, no call setup Less great during excessive congestion: packet delay / loss Protocols needed for reliable data transfer and congestion control Some applications really want circuit- like behavior Streaming video, streaming audio, interactive games, If streaming video data arrives late, it is useless Bandwidth / latency (delay) guarantees needed Still an unsolved problem! 24

Roughly hierarchical At center: tier- 1 ISPs with national/international coverage Treat each other as equals Examples: Sprint, Cogent, NTT, L3, Verizon, AT&T Tier- 1 providers interconnect (peer) privately Tier 1 ISP Tier 1 ISP Tier 1 ISP 25

POP: point-of-presence to/from backbone peering. to/from customers 26

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 (they are a customer of the Tier- 1 provider) Tier-2 ISP Tier 1 ISP Tier 1 ISP Tier-2 ISP Tier 1 ISP Tier- 2 ISPs also peer privately with each other. Tier-2 ISP Tier-2 ISP Tier-2 ISP 27

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-2 ISP Tier 1 ISP Tier-2 ISP local ISP local ISP Tier 1 ISP local ISP Tier-2 ISP Tier 1 ISP Tier-2 ISP local ISP local ISP Tier-2 ISP local ISP 28

A packet passes through many networks local ISP Tier 3 ISP Tier-2 ISP local ISP local ISP Tier-2 ISP local ISP Tier 1 ISP local ISP Tier 1 ISP Tier-2 ISP local ISP Tier 1 ISP Tier-2 ISP local ISP Tier-2 ISP local ISP 29

What is the Internet? Network edge - vs- Network core Protocol layers 30

HUMAN PROTOCOLS What s the time? I have a question Introductions NETWORK PROTOCOLS Machines rather than humans All communication activity in Internet governed by protocols Protocols (human and computer!) define Format of message Order of messages sent/received on network Actions taken after sending/receiving message 31

HUMAN PROTOCOL COMPUTER NETWORK PROTOCOL Hi Hi What s the time? 2:00 time TCP connection request TCP connection response Get http://www.pacific.edu/ <file> 32

Networks are complex with many pieces Hosts Routers Links of various media Applications Protocols Hardware, software We divide network functions into layers Easier to understand and discuss role of various devices 33

Human Understanding / Discussion Dealing with complex systems Explicit structure show relationship of between components Modularization eases maintenance and system updates Can change how a layer is implemented without modifying other layers (change is transparent) e.g., change in gate procedure doesn t affect rest of system 34

Application: supporting network applications FTP, SMTP, HTTP Transport: process- process data transfer TCP, UDP Network: routing of datagrams from source to destination IP, routing protocols Link: data transfer between neighboring network elements Ethernet Physical: bits on the wire application transport network link physical 35

source segment datagram frame message H l H t H n H t H n H t M M M M application transport network link physical link physical switch H l H n H n H t H t H t M M M M destination application transport network link physical H l H n H n H t H t M M network link physical H n H t M router 36

TCP: Reliable, in- order delivery IP: Un- reliable, order not guaranteed Magic TCP is built on top of IP! Great clown analogy by Joel Spolsky http://www.joelonsoftware.com/articles/leakyabstractions.html 37

Need to move clowns from Broadway to Hollywood for a new job Broadway, NYC 38

Car crash / lost Many cars, many clowns Bad things are guaranteed to happen to at least some of them Shaved head / too ugly to work! Different routes 39

People in Hollywood get frustrated It s hard to make movies with clowns in this condition! 40

New company Hollywood Express UFO crash in Nevada blocks highway? Guarantees that all clowns (1) Arrive (2) In Order (3) In Perfect Condition Mishap? Call and request clown s twin brother be sent immediately Clowns re- routed via Arizona Director never even hears about the UFO crash Clowns arrive a little more slowly 41

TCP provides a similar reliable delivery service for IP Abstraction has its limits Ethernet cable chewed through by cat? No useful error message for that problem! The abstraction is leaky it couldn t save the user from learning about the chewed cable 42

Today s brief overview Internet overview What s a protocol? Network edge vs Network core Protocol layers Rest of the semester: more depth! 43