COMP 631: NETWORKED & DISTRIBUTED SYSTEMS 9/6/16 COMP 631: NETWORKED & DISTRIBUTED SYSTEMS. Internet Routing. Jasleen Kaur.

Similar documents
Routing in Ad-hoc Networks

WAN Technology and Routing

Review: Routing in Packet Networks Shortest Path Algorithms: Dijkstra s & Bellman-Ford. Routing: Issues

EE 122: Intra-domain routing

What is Routing? EE 122: Shortest Path Routing. Example. Internet Routing. Ion Stoica TAs: Junda Liu, DK Moon, David Zats

Distance-Vector Routing: Distributed B-F (cont.)

COMP/ELEC 429/556 Introduction to Computer Networks

COMP 3331/9331: Computer Networks and Applications

CS 43: Computer Networks. 23: Routing Algorithms November 14, 2018

CSE/EE 461 Distance Vector Routing

CS 457 Networking and the Internet. What is Routing. Forwarding versus Routing 9/27/16. Fall 2016 Indrajit Ray. A famous quotation from RFC 791

Routing. 9: Intro to Routing Algorithms. Routing. Roadmap. Routing Algorithm classification: Static or Dynamic?

Initialization: Loop until all nodes in N

DSDV: Proactive. Distance Vector (Basic idea) Distance Vector. Distance Vector Algorithm: Tables 12/13/2016

Intra-domain Routing

Destination Sequenced Distance. [Perkins94] CSE 6811 : Lecture 6

Routing Algorithm Classification. A Link-State Routing Algorithm

Announcement. Project 2 extended to 2/20 midnight Project 3 available this weekend Homework 3 available today, will put it online

IP Forwarding Computer Networking. Routes from Node A. Graph Model. Lecture 10: Intra-Domain Routing

Let s focus on clarifying questions. More Routing. Logic Refresher. Warning. Short Summary of Course. 10 Years from Now.

IP Forwarding Computer Networking. Graph Model. Routes from Node A. Lecture 11: Intra-Domain Routing

Network service model. Network service model. Network Layer (part 1) Virtual circuits. By the end of this lecture, you should be able to.

More on Network Routing and Internet Protocol

06/02/ Local & Metropolitan Area Networks. Overview. Routing algorithm ACOE322. Lecture 6 Routing

Network Layer (Routing)

Third Generation Routers

Computer Networks. Routing Algorithms

Chapter 4: Network Layer

Chapter 4: Network Layer

Routing Algorithms. Daniel Zappala. CS 460 Computer Networking Brigham Young University

ECE 158A: Lecture 5. Fall 2015

Chapter 4: Network Layer

Routers & Routing : Computer Networking. Binary Search on Ranges. Speeding up Prefix Match - Alternatives

Routing Algorithms. CS158a Chris Pollett Apr 4, 2007.

CSCE 463/612 Networks and Distributed Processing Spring 2018

TCP/IP Networking. Part 3: Forwarding and Routing

CEN445 Network Protocols and Algorithms. Chapter 2. Routing Algorithms. Dr. Ridha Ouni

CSC 401 Data and Computer Communications Networks

Distance Vector Routing Protocols

Agenda. distance-vector (what you invented last Friday) hierarchical routing routing in the Internet. v DNS assignment Q&A v Routing Algorithms

Internet Architecture. Network Layer Overview. Fundamental Network Layer Function. Protocol Layering and Data. Computer Networks 9/23/2009

Routing. Effect of Routing in Flow Control. Relevant Graph Terms. Effect of Routing Path on Flow Control. Effect of Routing Path on Flow Control

Discussion 8: Link State Routing. CSE 123: Computer Networks Marti Motoyama & Chris Kanich

CSCD 330 Network Programming Spring 2018

CSCD 330 Network Programming Spring 2017

CSC 4900 Computer Networks: Routing Algorithms

ICS 451: Today's plan. Network Layer Protocols: virtual circuits Static Routing Distance-Vector Routing

Chapter 4: Network Layer, partb

Determining IP Routes. 2000, Cisco Systems, Inc. 9-1

CS 457 Networking and the Internet. Shortest-Path Problem. Dijkstra s Shortest-Path Algorithm 9/29/16. Fall 2016

COM-208: Computer Networks - Homework 6

Chapter 4 Network Layer. Network Layer 4-1

Interplay between routing, forwarding

Announcements. CS 5565 Network Architecture and Protocols. Project 2B. Project 2B. Project 2B: Under the hood. Routing Algorithms

Shortest Paths Algorithms and the Internet: The Distributed Bellman Ford Lecturer: Prof. Chiara Petrioli

Routing in a network

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

CS118 Discussion Week 7. Taqi

Distance Vector Routing

Where we are in the Course

DATA COMMUNICATOIN NETWORKING

ETSF05/ETSF10 Internet Protocols. Routing on the Internet

Computer Networking. Intra-Domain Routing. RIP (Routing Information Protocol) & OSPF (Open Shortest Path First)

Network Routing. Packet Routing, Routing Algorithms, Routers, Router Architecture

Last time. Transitioning to IPv6. Routing. Tunneling. Gateways. Graph abstraction. Link-state routing. Distance-vector routing. Dijkstra's Algorithm

Network layer. Network Layer 4-1. application transport network data link physical. network data link physical. network data link physical

4/25/12. The Problem: Distributed Methods for Finding Paths in Networks Spring 2012 Lecture #20. Forwarding. Shortest Path Routing

Lecture 13: Link-state Routing. CSE 123: Computer Networks Alex C. Snoeren

Advanced Computer Networks

Internet Protocol: Routing Algorithms. Srinidhi Varadarajan

The Problem: Finding Paths Spring 2011 Lecture #19. Forwarding. Shortest Path Routing

CSCI4211: Introduction to Computer Networks Fall 2017 Homework Assignment 2

Communication Networks

Computer Networks. Wenzhong Li. Nanjing University

Ad Hoc Routing. Ad-hoc Routing. Problems Using DV or LS. DSR Concepts. DSR Components. Proposed Protocols

CSE 123: Computer Networks

CS118 Discussion 1A, Week 7. Zengwen Yuan Dodd Hall 78, Friday 10:00 11:50 a.m.

Deployment of IGRP/EIGRP

ECE 333: Introduction to Communication Networks Fall 2001

Announcements. CS 5565 Network Architecture and Protocols. Count-To-Infinity. Poisoned Reverse. Distance Vector: Link Cost Changes.

Routing Outline. EECS 122, Lecture 15

Chapter 5 Network Layer: The Control Plane

ICS 351: Today's plan. netmask exercises network and subnetwork design dynamic routing RIP distance-vector routing

Missing Pieces of the Puzzle

Chapter 4 Network Layer

Chapter 4: outline. 4.5 routing algorithms link state distance vector hierarchical routing. 4.6 routing in the Internet RIP OSPF BGP

Chapter 7 Routing Protocols

ETSF05/ETSF10 Internet Protocols Routing on the Internet

ECE 435 Network Engineering Lecture 11

2/16/2008. Outline Computer Networking Lecture 11 Routing. Sending Link States by Flooding. Link State Protocol Concept

The Basics of Wireless Communication Octav Chipara

Lecture 5 The Network Layer part II. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

Packet Switching. Packet Switching What Issues Will We Focus On? COMP Jasleen Kaur. September 2, Networked and Distributed Systems

CS321: Computer Networks Unicast Routing

SEMESTER 2 Chapter 4 Distance Vector Routing Protocols V 4.0 RIP, IGRP, EIGRP

Dynamic Routing. The Protocols

Review problems (for no credit): Transport and Network Layer

CSEP 561 Routing. David Wetherall

Introduction to Local and Wide Area Networks

Lecture 12: Link-state Routing. Lecture 12 Overview. Router Tasks. CSE 123: Computer Networks Chris Kanich. Routing overview

Transcription:

OMP 3: NETWORKE & ISTRIUTE SSTEMS // OMP 3: NETWORKE & ISTRIUTE SSTEMS Internet Routing Jasleen Kaur Fall 0 Forwarding vs. Routing: Local vs. istributed oth datagram and virtual-circuit based networks need to know how to construct forwarding tables Forwarding: Ø Select an output port based on destination addr & routing table Ø Simple, well-defined process performed locally at a given node Ø Forwarding table used while forwarding packets eg: (network number, interface id, M address) Routing: Ø uilding the forwarding/routing table Ø complex, distributed algorithm problem Ø Routing table may be a precursor to a forwarding table eg: (network number, nexthopip, osttoestination) Why do we need two tables? opyright by Jasleen Kaur

OMP 3: NETWORKE & ISTRIUTE SSTEMS // Intra-domain Routing: Formulation Intra-domain routing ~ 00 routers Given: Ø Graph: where nodes are routers and edges are links Ø ost: associated with each link Find: Ø Lowest-cost path between any two nodes Requirements: Ø Self-healing, traffic-sensitive, scalable 3 E F Need dynamic, distributed algorithms! Two classes: based on distance-vector and link-state 3 istance-vector Routing: asic Idea Each node: Ø onstructs a vector of distances to all other nodes istance vector Ø istributes to immediate neighbors Neighbors use the distributed information to update their own distance vectors This distributed exchange-update-exchange should lead to globally consistent distance vectors (and routing tables) opyright by Jasleen Kaur

OMP 3: NETWORKE & ISTRIUTE SSTEMS // istance Table ata Structure Each node has its own table with a... Ø Row for each possible destination Ø olumn for each directly-attached adjacent node (neighbor) E () ost to estination " Each table entry gives cost to reach destination that adjacent node Ø istance = ost estination" (,) = distance from to as first hop = c(,) + min w { (,w)} w = {neighbors of } istance Table Example ost to estination " E E (,) = c(e,) + min w { (,w)} estination" E () = + = E (,) = c(e,) + min w { (,w)} = + 3 = loop?! E (,) = c(e,) + min w { (,w)} = + = Loop! opyright by Jasleen Kaur 3

OMP 3: NETWORKE & ISTRIUTE SSTEMS // istance Table Example istance Table" Routing Table" E estination" E () estination" E (),,,, The distance table gives the routing table Ø Just take the minimum cost per destination djacent Node to Use, ost" istance Vector Routing: lgorithm Iterative, asynchronous each local iteration caused by: Ø Local link cost change, or Ø Message from adjacent node that its least cost path to some destination has changed Each node:! wait for change in local link cost or message from adjacent node" istributed: Ø Each node notifies adjacent nodes only when its least cost path to some destination changes Ø djacent nodes then notify their adjacent nodes if this update changes a least cost path recompute distance table" if least cost path to any destination has changed, notify adjacent nodes " opyright by Jasleen Kaur

OMP 3: NETWORKE & ISTRIUTE SSTEMS // istance Vector lgorithm: Example ost ost!!! ost 3 (,) = c(,) + min w { (,w)} = + = ost (,) = c(,) + min w { (,w)} = + = 3 Time istance Vector lgorithm: Example ost ost ost!!! ost 3 ost ost ost ost ost 3 Time 0 opyright by Jasleen Kaur

OMP 3: NETWORKE & ISTRIUTE SSTEMS // istance Vector: Link ost hanges When a node detects a local link cost change: The nodes updates its distance table If the least cost path changes, the node noafies its neighbors How long does convergence take? 0 Good news travels fast 3 0 0 0 0 c(,)" changes" t 0 t t lgorithm" t 3 terminates" istance Vector: Link ost hanges Good news travels fast, but ad news travels slow! The count to infinity problem Routing Loop!! oes it Terminate?! 0 0 0 0 0 0 0 0 0 0 0 c(,)" changes" t 0 t t t 3 lgorithm" t continues on " opyright by Jasleen Kaur

OMP 3: NETWORKE & ISTRIUTE SSTEMS // The ount to Infinity Problem The poisoned reverse technique If routes through to get to : Then tells that s distance to is infinite 0 Initialization " 0 0 0 t - 3 t - t - 3 The ount to Infinity Problem The poisoned reverse technique If routes through to get to : Then tells that s distance to is infinite (Will this completely solve the problem?) How about delaying adverasing alternate routes aler link failures? 0 0 0 0 0 0 0 0 0 0 0 c(,)" changes" t 0 t t t 3 lgorithm" terminates" t opyright by Jasleen Kaur