15-744: Computer Networking

Slides:



Advertisements
Similar presentations
Spring 2000CS 4611 Introduction Outline Statistical Multiplexing Inter-Process Communication Network Architecture Performance Metrics.
Advertisements

KOM 15032: Arsitektur Jaringan Terkini
PROTOCOLS AND ARCHITECTURE Lesson 2 NETS2150/2850.
CS 268: Computer Networking L-1 Intro to Computer Networks.
Internet -- network of networks –network delivers packets (& locates nodes) –router (gateway) moves packets between networks –IP interoperability on top.
Chapter 1 Read (again) chapter 1.
ECS152BXin Liu 1 ECS 152B Computer Networks Fall 2003 Prof. Xin Liu
15-744: Computer Networking L-1 Intro to Computer Networks.
Lecture 1, 1Spring 2003, COM1337/3501Computer Communication Networks Rajmohan Rajaraman COM1337/3501 Textbook: Computer Networks: A Systems Approach, L.
* EECS 582 Advanced Operating Systems James Priestley University of Michigan Day 4: Internetworking January 12, 2012 Credit for the majority of these slides.
Process-to-Process Delivery:
OSI Reference Model & Layered Communication Sritrusta Sukaridhoto.
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Connecting to the Network Networking for Home and Small Businesses.
CSx760 Computer Networks1 Introduction to Network Protocols Kang Li.
TCP/IP Essentials A Lab-Based Approach Shivendra Panwar, Shiwen Mao Jeong-dong Ryoo, and Yihan Li Chapter 5 UDP and Its Applications.
COP 5611 Operating Systems Spring 2010 Dan C. Marinescu Office: HEC 439 B Office hours: M-Wd 2:00-3:00 PM.
Fall 2005Computer Networks20-1 Chapter 20. Network Layer Protocols: ARP, IPv4, ICMPv4, IPv6, and ICMPv ARP 20.2 IP 20.3 ICMP 20.4 IPv6.
Computer Networking. 2 Outline 3 Objectives Understand the state-of-the-art in network protocols, architectures and applications Understand how networking.
1 Goals and Objectives Understand state-of-the-art in network protocols, architectures, and applications Process of networking research Constraints and.
ECE 526 – Network Processing Systems Design Networking: protocols and packet format Chapter 3: D. E. Comer Fall 2008.
TCOM 509 – Internet Protocols (TCP/IP) Lecture 03_b Protocol Layering Instructor: Dr. Li-Chuan Chen Date: 09/15/2003 Based in part upon slides of Prof.
Univ. of TehranComputer Network1 Computer Networks Computer Networks (Graduate level) University of Tehran Dept. of EE and Computer Engineering By: Dr.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
Computer Networking Lecture 1 – Introduction.
1 Pre-Introduction What is computer network?. 2 Pre-Introduction Suppose you want to build a computer network The question is: –What available technologies.
15-744: Computer Networking L-1 Intro to Computer Networks.
CS 268: Computer Networking L-1 Intro to Computer Networks.
1 CSE524: Lecture 2 Internet protocols in a nutshell (Protocols in practice)
1 Transport Layer: Basics Outline Intro to transport UDP Congestion control basics.
Building A Network: Cost Effective Resource Sharing
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
Roadmap  Introduction to Basics  Computer Network – Components | Classification  Internet  Clients and Servers  Network Models  Protocol Layers.
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
Chapter 5 Network and Transport Layers
Transport Layer Slides are originally from instructor: Carey Williamson at University of Calgary Very minor modification are made Notes derived from “Computer.
Chapter 5 Network and Transport Layers
Scaling the Network: The Internet Protocol
Click to edit Master subtitle style
CS4470 Computer Networking Protocols
OSI Protocol Stack Given the post man exemple.
Understand the OSI Model Part 2
CS 268: Computer Networking
CS 640: Introduction to Computer Networks
Network Architecture Introductory material
Net 431: ADVANCED COMPUTER NETWORKS
ECE 4400:427/527 - Computer Networks Spring 2017
Net 323: NETWORK Protocols
Data and Computer Communications by William Stallings Eighth Edition
Review of Important Networking Concepts
Computer Science 457 Networking and the Internet
Process-to-Process Delivery:
15-744: Computer Networking
Lecture 6: TCP/IP Networking 1nd semester By: Adal ALashban.
Advanced Computer Networks
University of Houston Datacom II Lecture 1B Review Dr Fred L Zellner
Lecture 2: Overview of TCP/IP protocol
1 TRANSMISSION CONTROL PROTOCOL / INTERNET PROTOCOL (TCP/IP) K. PALANIVEL Systems Analyst, Computer Centre Pondicherry University, Puducherry –
CSCD 330 Network Programming
Building A Network: Cost Effective Resource Sharing
Scaling the Network: The Internet Protocol
CSE 313 Data Communication
Networking Essentials For Firewall-1 Administrators
15-744: Computer Networking
Process-to-Process Delivery: UDP, TCP
OSI Model 7 Layers 7. Application Layer 6. Presentation Layer
Intro to Computer Networks
Network Basics and Architectures Neil Tang 09/05/2008
Presentation transcript:

15-744: Computer Networking L-1 Intro to Computer Networks

Short Diagnostic Quiz Problem Objective Time Different undergraduate backgrounds Objective Gauge relative skill level Time 15 minutes © Srinivasan Seshan, 2002 L -1; 1-14-02

Outline Administrivia Whirlwind tour of networking © Srinivasan Seshan, 2002 L -1; 1-14-02

Who’s Who? Professor: Srinivasan Seshan TA: Bianca Schroeder http://www.cs.cmu.edu/~srini srini@cmu.edu Office hours: Wed 11:00-12:00 (for now…) TA: Bianca Schroeder bianca@cs.cmu.edu Office hours: Mon 12:00-1:00 Course info http://www.cs.cmu.edu/~srini/15-744/S02/ © Srinivasan Seshan, 2002 L -1; 1-14-02

Objectives Understand the state-of-the-art in network protocols, architectures and applications Understand how networking research is done How is class different from undergraduate networking (15-441) Training network programmers vs. training network researchers © Srinivasan Seshan, 2002 L -1; 1-14-02

Web Page Check regularly!! Course schedule Reading list Lecture notes Announcements Assignments Project ideas Exams Student list © Srinivasan Seshan, 2002 L -1; 1-14-02

Course Materials Research papers Recommended textbook Links to ps or pdf on Web page Combination of classic and recent work ~40 papers Optional readings Recommended textbook For students not familiar with networking Peterson & Davie 2nd edition 2 copies on reserve © Srinivasan Seshan, 2002 L -1; 1-14-02

Grading Homework assignments (20%) Class participation (10%) Problem sets Hands-on assignments Class participation (10%) Pop quizzes 2 person project (30%) Midterm exam (20%) Final exam (not cumulative) (20%) © Srinivasan Seshan, 2002 L -1; 1-14-02

Outline Administrivia Whirlwind tour of networking © Srinivasan Seshan, 2002 L -1; 1-14-02

What is the Objective of Networking? Communication between applications on different computers Must understand application needs/demands Traffic data rate Traffic pattern (bursty or constant bit rate) Traffic target (multipoint or single destination, mobile or fixed) Delay sensitivity Loss sensitivity Some example applications: video, audio, telnet, ftp, http, rpc – what are their needs © Srinivasan Seshan, 2002 L -1; 1-14-02

Four Steps to Networking Communicating across a link Connecting together multiple links (internetworking) Finding and routing data to nodes on internetwork Matching application requirements © Srinivasan Seshan, 2002 L -1; 1-14-02

A First Step Creating a link between nodes Link: path followed by bits Wired or wireless Broadcast or point-to-point (or both) Node: any device connected to a link For example: Ethernet © Srinivasan Seshan, 2002 L -1; 1-14-02

Types of Links … Point-to-Point Multiple Access © Srinivasan Seshan, 2002 L -1; 1-14-02

Packet Transmission Modes Unicast Transmission to single specific receiver Broadcast Transmission to all network nodes Multicast Transmission to specific subset of nodes Anycast Transmission to one of a specific subset of nodes © Srinivasan Seshan, 2002 L -1; 1-14-02

What are Switched Networks? Switch: moves bits between links Packet switching Circuit switching Switched Network © Srinivasan Seshan, 2002 L -1; 1-14-02

Back in the Old Days… © Srinivasan Seshan, 2002 L -1; 1-14-02

Then Came TDM… Synchronous time division multiplexing Multiplex (mux) Demultiplex (demux) © Srinivasan Seshan, 2002 L -1; 1-14-02

TDM Logical Network View © Srinivasan Seshan, 2002 L -1; 1-14-02

Packet Switching (Internet) © Srinivasan Seshan, 2002 L -1; 1-14-02

Packet Switching Interleave packets from different sources Efficient: resources used on demand Statistical multiplexing General Multiple types of applications Accommodates bursty traffic Addition of queues © Srinivasan Seshan, 2002 L -1; 1-14-02

Statistical Multiplexing Gain 1 Mbps link; users require 0.1 Mbps when transmitting; users active only 10% of the time Circuit switching: can support 10 users Packet switching: with 35 users, probability that >=10 are transmitting at the same time < 0.0017 1-SUM[from n=0..9 of (35 chose n) * (.1^n) * (1-.1)^(40-n) © Srinivasan Seshan, 2002 L -1; 1-14-02

Characteristics of Packet Switching Store and forward Packets are self contained units Can use alternate paths - reordering Contention Congestion Delay © Srinivasan Seshan, 2002 L -1; 1-14-02

Second Step: Internet[work] A collection of interconnected networks Host: network endpoints (computer, PDA, light switch, …) Router: node that connects networks Internet vs. internet Internet[work] What if want to communicate between hosts on different Ethernets? Internet as interoperability layer © Srinivasan Seshan, 2002 L -1; 1-14-02

Challenge Many differences between networks Address formats Performance – bandwidth/latency Packet size Loss rate/pattern/handling Routing How to translate between various network technologies © Srinivasan Seshan, 2002 L -1; 1-14-02

Third Step: How To Find Nodes? internet Computer 1 Computer 2 © Srinivasan Seshan, 2002 L -1; 1-14-02

Naming Humans use readable host names E.g. www.cmu.edu Globally unique (can correspond to multiple hosts) Naming system translates to physical address E.g. DNS translates name to IP Address (e.g. 128.2.11.43) Address reflects location in network © Srinivasan Seshan, 2002 L -1; 1-14-02

What’s the IP address for www.cmu.edu? Domain Name System What’s the IP address for www.cmu.edu? It is 128.2.11.43 Computer 1 Local DNS Server DNS server address manually configured into OS © Srinivasan Seshan, 2002 L -1; 1-14-02

Packet Routing/Delivery Each network technology has different local delivery methods Address resolution provides delivery information within network E.g., ARP maps IP addresses to Ethernet addresses Local, works only on a particular network Routing protocol provides path through an internetwork © Srinivasan Seshan, 2002 L -1; 1-14-02

Network:Address Resolution Protocol Broadcast: who knows the Ethernet address for 128.2.11.43? Ethernet Broadcast: Yes, it is 08-00-2c-19-dc-45 Ethernet © Srinivasan Seshan, 2002 L -1; 1-14-02

Internetwork: Datagram Routing Routers send packet to next closest point H R H R H R R R R H R H: Hosts R: Routers R H © Srinivasan Seshan, 2002 L -1; 1-14-02

Routing Forwarding tables at each router populated by routing protocols. Original Internet: manually updated Routing protocols update tables based on “cost” Exchange tables with neighbors or everyone Use neighbor leading to shortest path © Srinivasan Seshan, 2002 L -1; 1-14-02

Fourth Step: Application Demands Reliability Corruption Lost packets Flow and congestion control Fragmentation In-order delivery Etc… © Srinivasan Seshan, 2002 L -1; 1-14-02

What if the Data gets Corrupted? Problem: Data Corruption GET index.html GET windex.html Internet Solution: Add a checksum X 0,9 9 6,7,8 21 4,5 7 1,2,3 6 © Srinivasan Seshan, 2002 L -1; 1-14-02

What if Network is Overloaded? Problem: Network Overload Solution: Buffering and Congestion Control Short bursts: buffer What if buffer overflows? Packets dropped Sender adjusts rate until load = resources Called “congestion control” © Srinivasan Seshan, 2002 L -1; 1-14-02

What if the Data gets Lost? Problem: Lost Data GET index.html Internet Solution: Timeout and Retransmit GET index.html GET index.html Internet GET index.html © Srinivasan Seshan, 2002 L -1; 1-14-02

What if the Data Doesn’t Fit? Problem: Packet size On Ethernet, max IP packet is 1.5kbytes Typical web page is 10kbytes Solution: Fragment data across packets ml x.ht inde GET GET index.html © Srinivasan Seshan, 2002 L -1; 1-14-02

What if the Data is Out of Order? Problem: Out of Order ml inde x.ht GET GET x.htindeml Solution: Add Sequence Numbers ml 4 inde 2 x.ht 3 GET 1 GET index.html © Srinivasan Seshan, 2002 L -1; 1-14-02

Network Functionality Summary Link Multiplexing Routing Addressing/naming (locating peers) Reliability Flow control Fragmentation Etc…. © Srinivasan Seshan, 2002 L -1; 1-14-02

What is Layering? Modular approach to network functionality Example: Application Application-to-application channels Host-to-host connectivity Link hardware © Srinivasan Seshan, 2002 L -1; 1-14-02

Protocols Module in layered structure Set of rules governing communication between network elements (applications, hosts, routers) Protocols define: Interface to higher layers (API) Interface to peer Format and order of messages Actions taken on receipt of a message Human analogy – social customs © Srinivasan Seshan, 2002 L -1; 1-14-02

Layering Characteristics Each layer relies on services from layer below and exports services to layer above Interface defines interaction Hides implementation - layers can change without disturbing other layers (black box) © Srinivasan Seshan, 2002 L -1; 1-14-02

Layering User A User B Layering: technique to simplify complex systems Application Transport Network Link Host Host Layering: technique to simplify complex systems © Srinivasan Seshan, 2002 L -1; 1-14-02

Layer Encapsulation User A User B Get index.html Connection ID Source/Destination Link Address © Srinivasan Seshan, 2002 L -1; 1-14-02

Protocol Demultiplexing Multiple choices at each layer FTP HTTP NV TFTP TCP UDP Network IP TCP/UDP IPX IP Type Field Protocol Field Port Number NET1 NET2 … NETn © Srinivasan Seshan, 2002 L -1; 1-14-02

E.g.: OSI Model: 7 Protocol Layers Physical: how to transmit bits Data link: how to transmit frames Network: how to route packets Transport: how to send packets end2end Session: how to tie flows together Presentation: byte ordering, security Application: everything else © Srinivasan Seshan, 2002 L -1; 1-14-02

OSI Layers and Locations Application Presentation Session Transport Network Data Link Physical Host Switch Router Host © Srinivasan Seshan, 2002 L -1; 1-14-02

Example: Transport Layer First end-to-end layer End-to-end state May provide reliability, flow and congestion control © Srinivasan Seshan, 2002 L -1; 1-14-02

Example: Network Layer Point-to-point communication Network and host addressing Routing © Srinivasan Seshan, 2002 L -1; 1-14-02

Is Layering Harmful? Sometimes.. Layer N may duplicate lower level functionality (e.g., error recovery) Layers may need same info (timestamp, MTU) Strict adherence to layering may hurt performance © Srinivasan Seshan, 2002 L -1; 1-14-02

Class Coverage No coverage of physical and data link layer Students expected to know this Focus on network to application layer We will deal with: Protocol rules and algorithms Investigate protocol trade-offs Why this way and not another? © Srinivasan Seshan, 2002 L -1; 1-14-02

Lecture Topics Traditional Layering Internet architecture Routing (IP) Transport (TCP) Queue management (FQ, RED) Naming (DNS) Recent Topics Multicast Mobility Active networks QOS Security Network measurement Overlay networks P2P applications © Srinivasan Seshan, 2002 L -1; 1-14-02

Next Lecture: Design Considerations How to determine split of functionality Across protocol layers Across network nodes Assigned Reading [SRC84] End-to-end Arguments in System Design [Cla88] Design Philosophy of the DARPA Internet Protocols © Srinivasan Seshan, 2002 L -1; 1-14-02