6.263 Data Communication Networks

Similar documents
PLANEAMENTO E GESTÃO DE REDES INFORMÁTICAS COMPUTER NETWORKS PLANNING AND MANAGEMENT

Wide Area Networks. Learning Objectives. LAN and WAN. School of Business Eastern Illinois University. (Week 11, Thursday 3/22/2007)

Computer Networks CS321

What is this Course All About

Routing in packet-switching networks

WAN Data Link Protocols

Internet Packets. Forwarding Datagrams

EE4367 Telecom. Switching & Transmission. Prof. Murat Torlak

Architecture and Performance of the Internet

Datagram-based network layer: forwarding; routing. Additional function of VCbased network layer: call setup.

Introduction to LAN/WAN. Network Layer

Final for ECE374 05/06/13 Solution!!

EITF25 Internet Techniques and Applications L5: Wide Area Networks (WAN) Stefan Höst

6.263 Data Communication Networks

Introduction to Metropolitan Area Networks and Wide Area Networks

CSE331: Introduction to Networks and Security. Lecture 8 Fall 2006

WANs and Routers. M.Sc. Aleksandra Kanevce M.Sc. Aleksandra Bogojeska

If the Internet is the answer, then what was the question?

CSE 123b Communications Software

Computer Networks and the Internet

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

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

IST 220 Exam 3 Notes Prepared by Dan Veltri

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

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

College 5, Routing, Internet. Host A. Host B. The Network Layer: functions

Computer Networks: LANs, WANs The Internet

Module 2 Overview of Computer Networks

MPLS. Packet switching vs. circuit switching Virtual circuits

BCS THE CHARTERED INSTITUTE FOR IT. BCS HIGHER EDUCATION QUALIFICATIONS BCS Level 5 Diploma in IT COMPUTER NETWORKS

Communications and Computer Networks

Introduction to WAN Technologies

Lecture 8: Routing I Distance-vector Algorithms. CSE 123: Computer Networks Stefan Savage

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

Network-Oriented Software Development. Course: CSc4360/CSc6360 Instructor: Dr. Beyah Sessions: M-W, 3:00 4:40pm Lecture 2

Introduction to WAN Technologies

Computer Networks Homework 1

Route Discovery Protocols

Computer Networks. Definition of LAN. Connection of Network. Key Points of LAN. Lecture 06 Connecting Networks

QoS Switching. Two Related Areas to Cover (1) Switched IP Forwarding (2) 802.1Q (Virtual LANs) and 802.1p (GARP/Priorities)

CS 5480/6480: Computer Networks Spring 2012 Homework 4 Solutions Due by 1:25 PM on April 11 th 2012

The Network Layer Functions: Congestion Control

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

Network layer: Overview. Network layer functions IP Routing and forwarding

Requirements of Voice in an IP Internetwork

20. Switched Local Area Networks

Computer Networks. Main Functions

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

QoS issues in Voice over IP

Faculty of Engineering Computer Engineering Department Islamic University of Gaza Network Chapter# 19 INTERNETWORK OPERATION

SFWR 4C03: Computer Networks & Computer Security Jan 3-7, Lecturer: Kartik Krishnan Lecture 1-3

WAN Wide Area Networks. Packet Switch Operation. Packet Switches. COMP476 Networked Computer Systems. WANs are made of store and forward switches.

LAN Switching Computer Networking. Switched Network Advantages. Hubs (more) Hubs. Bridges/Switches, , PPP. Interconnecting LANs

Lecture 2.1 : The Distributed Bellman-Ford Algorithm. Lecture 2.2 : The Destination Sequenced Distance Vector (DSDV) protocol

Chapter 5: Sample Questions, Problems and Solutions Bölüm 5: Örnek Sorular, Problemler ve Çözümleri Örnek Sorular (Sample Questions):

Multiprotocol Label Switching (MPLS)

CS 78 Computer Networks. Internet Protocol (IP) our focus. The Network Layer. Interplay between routing and forwarding

Operating System Concepts. Operating System 資 訊 工 程 學 系 袁 賢 銘 老 師

Internetworking and Internet-1. Global Addresses

Definition. A Historical Example

CS 640: Introduction to Computer Networks. Goals of This Class. Goal of Networking. Page 1. Understand principles and practice of networking

Ethernet. Ethernet Frame Structure. Ethernet Frame Structure (more) Ethernet: uses CSMA/CD

CSE 3461 / 5461: Computer Networking & Internet Technologies

Computer Networking Networks

How To Understand And Understand Network Theory

CSCI Topics: Internet Programming Fall 2008

PART III. OPS-based wide area networks

Lecture 8 Performance Measurements and Metrics. Performance Metrics. Outline. Performance Metrics. Performance Metrics Performance Measurements

Mobile IP Network Layer Lesson 02 TCP/IP Suite and IP Protocol

Assignment #3 Routing and Network Analysis. CIS3210 Computer Networks. University of Guelph

Data Communication and Computer Network

Quality of Service (QoS)) in IP networks

Note! The problem set consists of two parts: Part I: The problem specifications pages Part II: The answer pages

Data Networking and Architecture. Delegates should have some basic knowledge of Internet Protocol and Data Networking principles.

ELEC3030 (EL336) Computer Networks. How Networks Differ. Differences that can occur at network layer, which makes internetworking difficult:

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

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

Implementing VoIP support in a VSAT network based on SoftSwitch integration

Agenda. Distributed System Structures. Why Distributed Systems? Motivation

Computer Networks Vs. Distributed Systems

Chapter 6. The Network Layer

WAN Technology. Heng Sovannarith

Network Technologies

Chapter 1: Introduction

Announcements. Midterms. Mt #1 Tuesday March 6 Mt #2 Tuesday April 15 Final project design due April 11. Chapters 1 & 2 Chapter 5 (to 5.

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

Indian Institute of Technology Kharagpur. TCP/IP Part I. Prof Indranil Sengupta Computer Science and Engineering Indian Institute of Technology

Guide to TCP/IP, Third Edition. Chapter 3: Data Link and Network Layer TCP/IP Protocols

Lecture 6 Types of Computer Networks and their Topologies Three important groups of computer networks: LAN, MAN, WAN

Long Distance Connection and WAN

The IP Transmission Process. V1.4: Geoff Bennett

WAN. Introduction. Services used by WAN. Circuit Switched Services. Architecture of Switch Services

GATE CS Topic wise Questions Computer Network

COMMUNICATION NETWORKS WITH LAYERED ARCHITECTURES. Gene Robinson E.A.Robinsson Consulting

technology standards and protocol for ip telephony solutions

Communication Systems Internetworking (Bridges & Co)

Transport and Network Layer

Computer Networks. By Hardeep Singh

2 Basic Concepts. Contents

Transcription:

6.263 Data s Lecture 1: Computer s (some slides are taken from I. Stoica and N. Mckewon) Dina Katabi dk@mit.edu www.nms.lcs.mit.edu/~dina

Administrative Information Instructors Dina Katabi (dk@mit.edu) Office Hours in 32-G936 on Tue 2:30pm-3:30pm Muriel Médard (medard@mit.edu ) Office Hours in 32-D626 on Wed 1:45pm-2:245pm Michael Lewy Phone (617) 253-6171 Course Webpage http://nms.lcs.mit.edu/~dina/6.263 2

Grades HW (weekly) 10% Project 30% Midterm 25% Final 35% 3

Syllabus Routing & Switching Queuing Wireless Congestion Control Compression & Coding Security 4

A Taxonomy of s networks can be classified based on the way in which the nodes exchange information: Switched Broadcast Circuit-Switched Packet-Switched Datagram Virtual Circuit 5

Broadcast vs. Switched s Broadcast networks Information transmitted by any node is received by every node in the network Ex: Broadcast Ethernet, wireless LANs Need to coordinate the access to the shared medium MAC Does it scale? Switched networks Links are point-to-point Ex: WANs (Telephony, Internet) Routing becomes harder 6

A Taxonomy of s networks can be classified based on the way in which the nodes exchange information: Switched Broadcast Circuit-Switched Packet-Switched Datagram Virtual Circuit 7

Circuit Switching Three phases: 1. Circuit Establishment: allocates certain bandwidth and establish a path 2. Data Transfer 3. Circuit Termination If circuit not available: Busy signal Ex: Telephone networks (1) (2) Host 1 Host 2 Node 1 Node 2 processing delay at Node 1 DATA propagation delay between Host 1 and Node 1 (3) 8

Circuit Switching: Multiplexing/Demultiplexing Switch Frames Slots = 0 1 2 3 4 5 0 1 2 3 4 5 One way for circuit switching is TDM: Time divided into frames and frames divided in slots Relative slot position inside a frame determines which conversation the data belongs to E.g., slot 0 belongs to the red conversation Needs synchronization between sender and receiver If a conversation does not use its circuit the capacity is wasted! 9

A Taxonomy of s networks can be classified based on the way in which the nodes exchange information: Switched Broadcast Circuit-Switched Packet-Switched Datagram Virtual Circuit 10

Datagram Packet Switching Data is sent in Packets (header and trailer contain control info, e.g., source and destination addresses) Host 1 Host 2 Node 1 Node 2 Header Data Trailer Per-packet routing At each node the entire packet is received, stored, and then forwarded (Store-and- Forward s) No capacity is allocated E.g. The Internet transmission time of Packet 1 at Host 1 Packet 1 Packet 2 Packet 3 propagation delay between Host 1 & Node 2 Packet 1 Packet 2 Packet 3 processing delay of Packet 1 at Node 2 Packet 1 Packet 2 Packet 3 11

Datagram Packet Switching: Multiplexing/Demultiplexing Router Queue Multiplex using a queue Routers need memory Queuing introduces jitters Demultiplex using packet headers 12

Datagram Packet Switching Packets in a flow may not follow the same path (depends on routing as we will see later) Host C Host A Host D Node 1 Node 2 Node 3 Node 5 Host B Node 4 Node 6 Node 7 Host E 13

Some Differences Between Datagram & Circuit Switching Circuit-switching Datagram-Switching Guaranteed capacity No guarantees (best effort) Capacity is wasted if data is bursty Before sending data establishes a path All data in a single flow follows one path No Reordering of data More efficient Send data immediately Different packets might follow different paths Packets may be reordered 14

A Taxonomy of s networks can be classified based on the way in which the nodes exchange information: Switched Broadcast Circuit-Switched Packet-Switched Datagram Virtual Circuit 15

Virtual-Circuit Packet Switching Hybrid of circuit switching and packet switching Data is transmitted as packets All packets from one packet stream are sent along a pre-established path (i.e., a virtual circuit) No capacity guarantees, but guarantees no reordering of packets E. g., ATM networks 16

Timing of Virtual-Circuit Packet Switching Host 1 Host 2 Node 1 Node 2 VC establishment propagation delay between Host 1 and Node 1 Packet 1 Data transfer Packet 2 Packet 3 Packet 1 Packet 2 Packet 3 Packet 1 Packet 2 VC termination Packet 3 17

Virtual Circuits guarantees all packets in a flow follow one path Host C Host A Host D Node 1 Node 2 Node 3 Node 5 Host B Node 4 Node 6 Node 7 Host E 18

In Reality The Internet is a datagram network But part of the Internet use circuit-switching (Phone links) or virtual circuit (ATM) The Internet works by abstracting an ATM region or a circuit-switched region as a single link 19

Routing: How to deliver packets from source to destination? 20

Addressing A network is a graph Each node should have an address E.g., IP addresses, Phone numbers 21

How can we deliver packets? We need to send packets form source to destination Hierarchical Addressing Source Routing Virtual Circuit Routing & forwarding are both done by the routers 22

Internet Routing (see BG-5.2.3 for Algs.) 23

Forwarding A What s the difference between routing and forwarding? Routing is finding the path Router R1 R2 C F B Forwarding is the action of sending the packet to the next-hop toward its destination R3 E G Each router has a forwarding table Forwarding tables are created by a routing protocol Forwarding: For every packet, we need to look up the next hop toward its destination in the table Dest. Addr A B C E F Next-hop R1 R2 R1 R3 R1 Forwarding needs to be fast G R3 24

Picture of the Internet Interior router AS-1 Border router AS-3 AS-2 Internet: A collection of ASes Routing: Intra-Domain Routing Inter-Domain Routing 25

Intra-Domain Routing Algorithms Routing algorithms view the network as a graph A node is a router or a whole network region Examples of link cost: Distance, load, price, congestion/delay, Problem: find minimum cost path between two nodes (Shortest path)» Factors Semi-dynamic topology (deal with link failures) Dynamic load Policy C 4 B 3 9 A 1 D 1 1 E 6 2 F 26

Problem: Shortest Path Routing Objective: Determine the route from (R 1,, R 7 ) to R 8 that minimizes the cost. R 1 1 1 4 R 2 R 4 2 2 3 R R 2 7 5 R 4 3 3 R 6 R 8 2 27

Solution is simple by inspection... (in this case) R 1 1 1 4 R 3 R 2 2 2 4 R 5 R 4 3 R 7 2 3 R 6 R 8 2 The shortest paths from all sources to a destination (e.g., R 8 ) is the spanning tree routed at that destination. 28