Data Networks. Lecture 1: Introduction. September 4, 2008

Similar documents
Digital Communication Networks

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

TCOM 370 NOTES 99-1 NETWORKING AND COMMUNICATIONS

Computer Communication Networks

Module 2 Overview of Computer Networks

Module 2 Overview of. Computer Networks

Revision of Previous Lectures

Internetworking Part 1

Lecture 7. Network Layer. Network Layer 1-1

Lecture 2: Internet Structure

Network.... communication system for connecting end- systems. End-systems a.k.a. hosts PCs, workstations dedicated computers network components

CS321: Computer Networks Introduction to Computer Networks and Internet

University of Southern California EE450: Introduction to Computer Networks

Reminder: Datalink Functions Computer Networking. Datalink Architectures

IT4405 Computer Networks (Compulsory)

HW3 and Quiz. P14, P24, P26, P27, P28, P31, P37, P43, P46, P55, due at 3:00pm with both soft and hard copies, 11/11/2013 (Monday) TCP), 20 mins

Data and Computer Communications. Chapter 2 Protocol Architecture, TCP/IP, and Internet-Based Applications

Network Architecture

Chapter 2 - Part 1. The TCP/IP Protocol: The Language of the Internet

Defining Networks with the OSI Model. Module 2

Data & Computer Communication

Module 1. Introduction. Version 2, CSE IIT, Kharagpur

Last time. Wireless link-layer. Introduction. Characteristics of wireless links wireless LANs networking. Cellular Internet access

CS 640: Introduction to Computer Networks. Today s Lecture. Page 1

Introduction. The fundamental purpose of data communications is to exchange information between user's computers, terminals and applications programs.

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

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

CN1047 INTRODUCTION TO COMPUTER NETWORKING CHAPTER 6 OSI MODEL TRANSPORT LAYER

COMPUTER NETWORK Model Test Paper

Network Architecture Models

CS610- Computer Network Solved Subjective From Midterm Papers

Digital Communication Networks

Welcome to CS 340 Introduction to Computer Networking

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

CSCD 433/533 Advanced Networks

Goals and topics. Verkkomedian perusteet Fundamentals of Network Media T Circuit switching networks. Topics. Packet-switching networks

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

Network Architecture. TOC Architecture

The OSI Model. Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO).

QUESTION BANK EVEN SEMESTER

OSI Model. Teran Subasinghe MBCS, Bsc.(Hons) in Computer Science - University of Greenwich, UK

5105: BHARATHIDASAN ENGINEERING COLLEGE NATTARMPALLI UNIT I FUNDAMENTALS AND LINK LAYER PART A

Introduction to Networking

Communication Networks - 3 general areas: data communications, networking, protocols

Communicating over the Network

THE OSI MODEL. Application Presentation Session Transport Network Data-Link Physical. OSI Model. Chapter 1 Review.

TERM EXAMS CS610- COMPUTER NETWORKS

1: Review Of Semester Provide an overview of encapsulation.

Outline: Connecting Many Computers

SUBJECT: DATA COMMUNICATION AND NETWORK SEMESTER: V SEMESTER COURSE: BCA SUBJECT TEACHER: Dr.K.Chitra Assistant Professor, Department of Computer

Data Communication & Networks G Session 7 - Main Theme Networks: Part I Circuit Switching, Packet Switching, The Network Layer

1. IPv6 is the latest version of the TCP/IP protocol. What are some of the important IPv6 requirements?

2 Network Basics. types of communication service. how communication services are implemented. network performance measures. switching.

CS 5520/ECE 5590NA: Network Architecture I Spring Lecture 13: UDP and TCP

Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM 4021: Networks Discussion. Chapter 1.

Need For Protocol Architecture

ECE 650 Systems Programming & Engineering. Spring 2018

Module objectives. Integrated services. Support for real-time applications. Real-time flows and the current Internet protocols

RAJIV GANDHI COLLEGE OF ENGINEERING AND TECHNOLOGY

Layering in Networked computing. OSI Model TCP/IP Model Protocols at each layer

Computer Network : Lecture Notes Nepal Engineering College Compiled by: Junior Professor: Daya Ram Budhathoki Nepal Engineering college, Changunarayan

Part 5: Link Layer Technologies. CSE 3461: Introduction to Computer Networking Reading: Chapter 5, Kurose and Ross

TCP/IP THE TCP/IP ARCHITECTURE

A closer look at network structure:

CS3600 SYSTEMS AND NETWORKS

Lecture 2. Computer Networks Models. Network Models 1-1

CS-461 Internetworking. Dr. Mohamed Aboutabl

CS 332: Computer Networks Introduction

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

Computer Network Fundamentals (IT 221)

Web Protocols and Practice

Internet Architecture and Protocol

This Lecture. BUS Computer Facilities Network Management. Switching Network. Simple Switching Network

Computer Networks Medium Access Control. Mostafa Salehi Fall 2008

Need For Protocol Architecture

UNIT - IV Ques.4 Ques.5

Computer Networks

Chapter 7. Local Area Network Communications Protocols

L1: Introduction. Hui Chen, Ph.D. Dept. of Engineering & Computer Science Virginia State University Petersburg, VA 23806

Introduction to Open System Interconnection Reference Model

Internetworking Concepts Overview. 2000, Cisco Systems, Inc. 2-1

CSC 4900 Computer Networks: Introduction

Review of Network Technologies

BROADBAND AND HIGH SPEED NETWORKS

COMPUTER NETWORKS MODEL QUESTION PAPER WITH SOLUTION. (c) Peer-to-peer processes are processes on two or more devices communicating at a

Announcements Computer Networking. What is the Objective of the Internet? Today s Lecture

Raj Jain. The Ohio State University Columbus, OH

Computer Communication & Networks / Data Communication & Computer Networks Week # 03

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

CS 268: Graduate Computer Networks Spring Overview

CMSC 332 Computer Networks Network Layer

Network layer overview

Chapter 1. Computer Networks and the Internet

Cisco Cisco Certified Network Associate (CCNA)

Switching and Forwarding Reading: Chapter 3 1/30/14 1

CSE3213 Computer Network I

Overview of Networks

QUESTION BANK UNIT-I

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

Principles behind data link layer services

Transcription:

Data Networks Lecture 1: Introduction September 4, 2008 Slide 1

Learning Objectives Fundamental aspects of network Design and Analysis: Architecture: layering, topology design, switching mechanisms Protocols: link, multiple access, routing, end-to-end transport Algorithms: error recovery, scheduling, routing, flow control Analysis tools: probabilistic modeling, queueing theory Current practice: Network technologies: optical networks, wireless networks, LANs, switches, etc. Protocol standards: TCP, IP, ATM, Ethernet, 802.11, etc. Slide 2

Course Information Lecturer: Professor (modiano@mit.edu) Office hours: M :11-12 ; and by appointment (33-412a) TA: none Course web page: http://web.mit.edu/modiano/www/teaching.htm Requirements & Grading About one problem set per week (10% of grade) Project (10% of grade) Midterm exam (40%) Final Exam during finals week (40%) Prerequisite Policy: 6.041, or an equivalent class in probability Textbook: Bertsekas & Gallager, Data Networks (2nd Edition) Additional Reference books: Computer Networks, by Peterson and Davie Most current on the internet and its protocols Network Optimization: Continuous and Discrete Models, by Dimitri Bertsekas Network algorithms and routing, network flows, optimization theory Slide 3

Tentative syllabus Lec# Day Date Topic L1 Th 9/4 Introduction, OSI 7-layer architecture L2 T 9/9 Data Link Layer: Framing, error detection L3 Th 9/12 Point-to-Point Retransmission Algorithms L4 T 9/16 End-to-End Retransmission & TCP L5 Th 9/18 Queueing Models - Introduction & Little's theorem L6 T 9/23 M/M/1, M/M/m, queues etc. L7 Th 9/25 Networks of queues L8 T 9/30 M/G/1 queues, M/G/1 w/ vacations L9 Th 10/2 Reservations, priority, queue stability L10 T 10/7 M/G/1 queue occupancy distribution L11 Th 10/9 Traffic Modeling LRD & Self-similar traffic L12 T 10/14 Multiple access & Aloha L13 Th 10/16 Quiz Slide 4

L14 T 10/21 Stabilized Aloha, Tree Algorithms L15 Th 10/23 CSMA, CSMA/CD and Ethernet L16 T 10/28 Wireless LANs L17 Th 10/30 Introduction to switch architecture L18 T 11/4 High Speed Switch Scheduling L19 Th 11/6 Scheduling in wireless networks T 11/11 No Class Veteran s Day L20 Th 11/13 Routing algorithms: Broadcast and Shortest path L21 T 11/18 Distributed routing algorithms, diffusion routing L22 Th 11/20 Optimal routing L23 T 11/25 IP, BGP, internet routing Th 11/27 No class Thanksgiving holiday L24 T 12/2 Flow Control - Window/Credit Schemes L25 Th 12/4 Flow Control - Rate Based Schemes, optimal FC L26 T 12/9 Transport layer: UDP & TCP, ATM Final Exam during final exam week. Date and time to be announced.

Network Applications Old days: mainly resource sharing Mainframe computer Today: computers are cheap! DB access and updates: e.g., Financial, Airline reservations, etc. Today: much the same Today: Internet Services Email, FTP, Telnet, Web access Video and audio streaming Client/server applications Slide 6

Common Applications and their Requirements Non-Interactive Data Transfers: Web download/upload, ftp of text files, images, audio, video, file sharing, email Requirements: reliable (no data loss), reasonable response times Bursty traffic dynamic allocation of bandwidth Interactive data applications: remote terminal access (telnet), instant messaging, gaming, etc. Requirements: reliable, low delays Bursty, low-bandwidth applications Video/Audio streaming: internet radio, IPTV Requirements: low delays, some variations in delay is ok, minimum BW guarantees Typically not very bursty, can tolerate losses, call set-up times Interactive audio/video: internet telephony, video conferencing,, real-time broadcasts Requirements: similar to above, but very low delays, minimal delay variations Slide 7

Classification of Network services Synchronous Session appears as a continuous stream of traffic Usually requires fixed and limited delays E.g., audio and video streaming, interactive audio/video Asynchronous Session appears as a sequence of messages Typically bursty Asynchronous - connection oriented services Long sustained session Orderly and timely delivery of packets E.g., interactive data applications Asynchronous - connectionless services One time transaction (e.g., email) E.g., Non-interactive data transfers Quality-of-service (QoS) requirements Minimum rate guarantees, delay guarantees, loss probability, etc. Slide 8

Resource Sharing (multiplexing) Network cannot maintain permanent connections between all users Cannot have a dedicated connection to everyone you ever want to call Switches in the network are used to Enable sharing of communications resources Users (calls) are allocated resources only when active Circuit Switching Each active call receives dedicated resources Packet Switching Shared resources among different active calls Packet switching mechanisms Virtual Circuits packet switching Datagram packet switching Slide 9

Circuit Switching Each session is allocated a fixed fraction of the capacity on each link along its path Dedicated resources Fixed path If capacity is used, calls are blocked E.g., telephone network Advantages of circuit switching Fixed delays Guaranteed continuous delivery Disadvantages Circuits are not used when session is idle Inefficient for bursty traffic Circuit switching usually done using a fixed rate stream (e.g., 64 Kbps) Difficult to support variable data rates inelastic - cannot easily respond to changes in demand E.g., when call departs, cannot easily reallocate its bandwidth to other existing calls 500 Kbps 500 Kbps 1Mbps 500 Kbps 1Mbps 1Mbps Circuits switched Slide 10 1Mbps Packet switched

Problems with circuit switching Many data sessions are low duty factor (bursty), ρ = λx = (message arrival rate) * (message transmission time) << 1 Message transmission time must be kept small enough to meet delay requirements Circuit switching also requires a call set-up Resources not utilized during call set-up time If messages are short, then highly inefficient More of a problem in high-speed networks Example Message length: L = 8000 bits Arrival rate: λ = 1 message per second Delay requirement: X < 0.1 seconds R > 8000/0.1 = 80,000 bps Utilization = 8000/80000 = 10% With packet switching channel can be shared among many sessions to achieve higher utilization Slide 11

Packet Switched Networks Messages broken into Packets that are routed To their destination PS PS PS PS Packet Network PS PS PS Buffer Packet Switch Slide 12

Packet Switching Datagram packet switching Route chosen on packet-by-packet basis Different packets may follow different routes Packets may arrive out of order at the destination E.g., IP (The Internet Protocol) Virtual Circuit packet switching All packets associated with a session follow the same path Route is chosen at start of session Packets are labeled with a VC# designating the route The VC number must be unique on a given link but can change from link to link Imagine having to set up connections between 1000 nodes in a mesh Unique VC numbers imply 1 Million VC numbers that must be represented and stored at each node E.g., ATM (Asynchronous transfer mode) Slide 13

Virtual Circuits Packet Switching For datagrams, addressing information must uniquely distinguish each network node and session Need unique source and destination addresses For virtual circuits, only the virtual circuits on a link need be distinguished by addressing Global address needed to set-up virtual circuit Once established, local virtual circuit numbers can then be used to represent the virtual circuits on a given link: VC number changes from link to link Merits of virtual circuits Save on route computation Need only be done once at start of session Save on header size Facilitate QoS provisioning More complex Less flexible 3 6 VC13 VC7 VC3 5 8 Node 5 table VC4 VC3 VC7 (3,5) VC13 -> (5,8) VC3 (3,5) VC7 -> (5,8) VC4 (6,5) VC3 -> (5,8) VC7 2 9 Slide 14

Circuit vs Packet Switching Advantages of packet switching Efficient for bursty data Easy to provide bandwidth on demand with variable rates Disadvantages of packet switching Variable delays Difficult to provide QoS assurances (Best-effort service) Packets can arrive out-of-order Switching Technique Network service Circuit switching => Synchronous (e.g., voice) Packet switching => Asynchronous (e.g., Data) Virtual circuits => Connection oriented Datagram => Connectionless Slide 15

Circuit vs Packet Switching Can circuit switched network be used to support data traffic? Can packet switched network be used for connection oriented traffic (e.g., voice)? Need for Quality of service (QoS) mechanisms in packet networks Guaranteed bandwidth Guaranteed delays Guaranteed delay variations Packet loss rate Etc... Slide 16

7 Layer OSI Reference Model Application Application Virtual network service Presentation Presentation Virtual session Session Session Virtual link for end to end messages Transport Transport Virtual link for end to end packets Network Network Network Network Data link Control Virtual link for reliable packets DLC DLC DLC DLC Data link Control physical interface Virtual bit pipe phys. int. phys. int. phys. int. phys. int. physical interface Physical link Slide 17 External Site subnet node subnet node External site

Layers Presentation layer Provides character code conversion, data encryption, data compression, etc. Session layer Obtains virtual end to end message service from transport layer Provides directory assistance, access rights, billing functions, etc. Standardization has not proceeded well here, since transport to application are all in the operating system and don't really need standard interfaces Focus: Transport layer and lower Slide 18

Transport Layer The network layer provides a virtual end to end packet pipe to the transport layer. The transport layer provides a virtual end to end message service to the higher layers. Slide 19 The functions of the transport layer are: 1) Break messages into packets and reassemble packets of size suitable to network layer 2) Multiplex sessions with same source/destination nodes 3) Resequence packets at destination 4) recover from residual errors and failures 5) Provide end-to-end flow control

Network layer The network layer module accepts incoming packets from the transport layer and transit packets from the DLC layer It routes each packet to the proper outgoing DLC or (at the destination) to the transport layer Typically, the network layer adds its own header to the packets received from the transport layer. This header provides the information needed for routing (e.g., destination address) Transport layer Each node contains one network Layer module plus one Link layer module per link Network layer DLC layer link 1 DLC layer link 2 DLC layer link 3 Slide 20

Link Layer Responsible for error-free transmission of packets across a single link Framing Determine the start and end of packets Error detection Determine which packets contain transmission errors Error correction Retransmission schemes (Automatic Repeat Request (ARQ)) Slide 21

Physical Layer Responsible for transmission of bits over a link Propagation delays Time it takes the signal to travel from the source to the destination Signal travel approximately at the speed of light, C = 3x10 8 meters/second E.g., LEO satellite: d = 1000 km => 3.3 ms prop. delay GEO satellite: d = 40,000 km => 1/8 sec prop. delay Ethernet cable: d = 1 km => 3 µs prop. delay Transmission errors Signals experience power loss due to attenuation Transmission is impaired by noise Simple channel model: Binary Symmetric Channel P = bit error probability Independent from bit to bit In reality channel errors are often bursty 0 1 P 1-P 1-P P 0 1 Slide 22

Internet Sub-layer A sub-layer between the transport and network layers is required when various incompatible networks are joined together This sub-layer is used at gateways between the different networks In the internet this function is accomplished using the Internet Protocol (IP) TP TP IP NET 1 NET 2 NET n IP enables interoperability Slide 23

Internetworking with TCP/IP FTP client FTP Protocol FTP server TCP TCP Protocol TCP ROUTER IP IP Protocol IP Protocol IP IP Ethernet driver Ethernet Protocol Ethernet driver token ring driver token ring Protocol token ring driver Ethernet token ring Slide 24

Bridges, Routers and Gateways A Bridge is used to connect multiple LAN segments Layer 2 routing (Ethernet) Does not know IP address Varying levels of sophistication Simple bridges just forward packets smart bridges start looking like routers A Router is used to route connect between different networks using network layer address Within or between Autonomous Systems Using same protocol (e.g., IP, ATM) A Gateway connects between networks using different protocols Protocol conversion Address resolution These definitions are often mixed and seem to evolve! Slide 25

Bridges, routers and gateways Small company Ethernet A Bridge Ethernet B IP Router Another provider s Frame Relay Backbone Gateway Gateway Service provider s ATM backbone ATM switches (routers) Slide 26

Encapsulation user data Appl header user data Application IP header TCP header TCP header IP datagram application data TCP segment application data Ethernet IP TCP Ethernet header header header application data trailer 14 20 20 4 Ethernet frame 46 to 1500 bytes TCP IP Ethernet driver Ethernet Slide 27