Contents Routing Protocol and Algorithm Classifications

Slides:



Advertisements
Similar presentations
© 2007 Cisco Systems, Inc. All rights reserved.ICND2 v1.0—3-1 Medium-Sized Routed Network Construction Reviewing Routing Operations.
Advertisements

What is “Routing”? Routing algorithm that part of the network layer responsible for deciding on which output line to transmit an incoming packet Adaptive.
Lecture 8 Overview. Graph abstraction u y x wv z Graph: G = (N,E) N = set of routers = { u, v, w, x, y, z } E = set of links ={ (u,v),
Distance-Vector and Path-Vector Routing Sections , 4.3.2, COS 461: Computer Networks Spring 2011 Mike Freedman
Routing - I Important concepts: link state based routing, distance vector based routing.
Distance-Vector Routing COS 461: Computer Networks Spring 2010 (MW 3:00-4:20 in COS 105) Michael Freedman
Network Layer Design Isues Store-and-Forward Packet Switching Services Provided to the Transport Layer The service should be independent of the router.
4-1 Network layer r transport segment from sending to receiving host r on sending side encapsulates segments into datagrams r on rcving side, delivers.
Network Layer4-1 Chapter 4 Network Layer Computer Networking: A Top Down Approach Featuring the Internet, 2 nd edition. Jim Kurose, Keith Ross Addison-Wesley,
TNMK09 Computer Networks Copyright © 2005 Di Yuan, ITN, LiTH 1  Non-hierarchical routing, static or dynamic, won’t work in the Internet  None of the.
Announcement r Project 2 extended to 2/20 midnight r Project 3 available this weekend r Homework 3 available today, will put it online.
Rensselaer Polytechnic Institute © Shivkumar Kalvanaraman & © Biplab Sikdar1 ECSE-4730: Computer Communication Networks (CCN) Network Layer (Routing) Shivkumar.
CSE 461: Distance Vector Routing. Next Topic  Focus  How do we calculate routes for packets?  Routing is a network layer function  Routing Algorithms.
4: Network Layer4a-1 14: Intro to Routing Algorithms Last Modified: 7/12/ :17:44 AM.
Announcement r Project 2 Extension ? m Previous grade allocation: Projects 40% –Web client/server7% –TCP stack21% –IP routing12% Midterm 20% Final 20%
Announcement r Project 2 due next week! r Homework 3 available soon, will put it online r Recitation tomorrow on Minet and project 2.
EE 122: Intra-domain routing Ion Stoica September 30, 2002 (* this presentation is based on the on-line slides of J. Kurose & K. Rose)
4: Network Layer 4a-1 14: Intro to Routing Algorithms Last Modified: 8/8/ :41:16 PM.
Computer Networking Intra-Domain Routing, Part I RIP (Routing Information Protocol)
Network Layer r Introduction r Datagram networks r IP: Internet Protocol m Datagram format m IPv4 addressing m ICMP r What’s inside a router r Routing.
Link-state routing  each node knows network topology and cost of each link  quasi-centralized: each router periodically broadcasts costs of attached.
Network Layer (part 1) CPSC 363 Computer Networks Ellen Walker Hiram College (Includes figures from Computer Networking by Kurose & Ross, © Addison Wesley.
IP routing. Simple Routing Table svr 4% netstat –r n Routing tables DestinationGatewayFlagsRefcntUseInterface UGH00emd UH10lo0.
Network Layer4-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside a router r 4.4 IP: Internet.
13 – Routing Algorithms Network Layer.
Network Layer4-1 Distance Vector Algorithm Bellman-Ford Equation (dynamic programming) Define d x (y) := cost of least-cost path from x to y Then d x (y)
The Network Layer & Routing
1 Week 5 Lecture 2 IP Layer. 2 Network layer functions transport packet from sending to receiving hosts transport packet from sending to receiving hosts.
Network Layer4-1 Distance Vector: link cost changes Link cost changes: r node detects local link cost change r updates distance table (line 15) r if cost.
Routing 1 Network Layer Network Layer goals:  understand principles behind network layer services:  routing (path selection)  how a router works  instantiation.
Introduction 1 Lecture 19 Network Layer (Routing Algorithms) slides are modified from J. Kurose & K. Ross University of Nevada – Reno Computer Science.
Data Communications and Computer Networks Chapter 4 CS 3830 Lecture 20 Omar Meqdadi Department of Computer Science and Software Engineering University.
Internet Routing r Routing algorithms m Link state m Distance Vector m Hierarchical routing r Routing protocols m RIP m OSPF m BGP.
Transport Layer 3-1 Chapter 4 Network Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley Chapter4_3.
CS 4284 Systems Capstone Godmar Back Networking. CS 4284 Spring 2013 Summary Basics of Network Layer –Routing (path selection) vs Forwarding (switching)
Network Layer4-1 Routing Algorithm Classification Global or decentralized information? Global: r all routers have complete topology, link cost info r “link.
4: Network Layer4a-1 Distance Vector Routing Algorithm iterative: r continues until no nodes exchange info. r self-terminating: no “signal” to stop asynchronous:
4: Network Layer4-1 Chapter 4: Network Layer Last time: r Chapter Goals m Understand network layer principles and Internet implementation r Started routing.
4. Interconnecting Networks: Routers. © Tallal Elshabrawy 2 Bridges Vs Routers BRIDGES DO WELL IN SMALL (FEW HUNDRED HOSTS) WHILE ROUTERS USED IN LARGE.
IP tutorial - #2 Routing KAIST Dept. of CS NC Lab.
Network Layer4-1 Chapter 4: Network Layer 4. 1 Introduction 4.2 Virtual circuit and datagram networks 4.3 What’s inside a router 4.4 IP: Internet Protocol.
Routing algorithms. D(v): the cost from the source node to destination that has currently the least cost. p(v): previous node along current least.
CS 5565 Network Architecture and Protocols
Chapter 4 Network Layer Computer Networking: A Top Down Approach 6th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 CPSC 335 Data Communication.
Centralized vs Distributed Routing
Chapter 7 Dynamic Routing
Introduction to Internet Routing
Network Layer Introduction Datagram networks IP: Internet Protocol
Intra-Domain Routing Jacob Strauss September 14, 2006.
Routing: Distance Vector Algorithm
Distance Vector Routing: overview
Network layer functions
2017 session 1 TELE3118: Network Technologies Week 7: Network Layer Control Plane: Intra-Domain Routing Some slides have been adapted from: Computer Networking:
Chapter 4 – The Network Layer & Routing
Road Map I. Introduction II. IP Protocols III. Transport Layer
CS 3700 Networks and Distributed Systems
Chapter 7 Packet-Switching Networks
RFC 1058 & RFC 2453 Routing Information Protocol
ECE453 – Introduction to Computer Networks
CS4470 Computer Networking Protocols
CS 3700 Networks and Distributed Systems
Chapter 4: Network Layer
ECSE-4730: Computer Communication Networks (CCN)
Network Layer (contd.) Routing
EE 122: Intra-domain routing: Distance Vector
Chapter 4: Network Layer
Network Layer: Link-state and Distance-Vector Routing Protocols
Chapter 4: Network Layer
EE 122: Intra-domain routing: Link State
Chapter 4 Network Layer A note on the use of these ppt slides:
Presentation transcript:

Contents Routing Protocol and Algorithm Classifications Link State Routing Algorithm Distance Vector Routing Algorithm LS Algorithm vs. DV Algorithm Hierarchical Routing

Routing Protocol and Algorithm Determining the path(route) destination router first-hop router default router destination host 5 2 1 3 B A C E D F source host least-cost path source router

Classifications Global vs. decentralized Static vs. dynamic global(link state algorithm) : complete information about connectivity and link costs Static vs. dynamic static : routes change very slowly Load-sensitive vs. load-insensitive load-sensitive : link costs reflect congestion Typical used Dynamic link state routing algorithm Dynamic distance vector routing algorithm

Link State Routing Algorithm Each node broadcasts the identities and costs to its directly attached neighbors Dijkstra’s algorithm

Link State Routing Algorithm Oscillation(page 307) D B C A e 1 1+e 1 2+e 1 e 1+e 2+e 1+e 1 2+e 1+e 1

Distance Vector Routing Algorithm Iterative, asynchronous, distributed Distance table DX(Y,Z) : cost of the direct link from X to Z + Z’s currently known minmum-cost path to Y DX(Y,Z)=c(X,Z)+minw{Dz(Y,w)}

Distance Vector Routing Algorithm Initialization: DX(*,v) = inifinite, DX(v,v)=c(x,v) Send minwDX(y,w) to each neighbor when they changes C(X,V) changes Neighbor node send its update

Distance Vector Routing Algorithm DY X Z 2 ∞ 1 Y 2 1 X Z 7 Dz X Y 7 ∞ 1 DX Y Z 2 ∞ 7

Distance Vector Routing Algorithm DY X Z 2 8 9 1 Y 2 1 X Z 7 Dz X Y 7 3 9 1 DX Y Z 2 8 3 7

Distance Vector Routing Algorithm DY X Z 2 4 5 1 Y 2 1 X Z 7 Dz X Y 7 3 9 1 DX Y Z 2 8 3 7

Distance Vector Routing Algorithm Decrease DY X Z 4 6 Y 1 4 1 X Z 50 Dz X Y 50 5

Distance Vector Routing Algorithm Decrease DY X Z 1 6 Y 1 4 1 X Z 50 Dz X Y 50 5

Distance Vector Routing Algorithm Decrease DY X Z 1 6 Y 1 4 1 X Z 50 Dz X Y 50 2

Distance Vector Routing Algorithm Decrease DY X Z 1 6 Y 1 4 1 X Z 50 Dz X Y 50 2

Distance Vector Routing Algorithm Increase DY X Z 4 6 Y 60 4 1 X Z 50 Dz X Y 50 5

Distance Vector Routing Algorithm Increase DY X Z 60 6 Y 60 4 1 Routing loop X Z 50 Dz X Y 50 5

Distance Vector Routing Algorithm Increase DY X Z 60 6 Y 60 4 1 X Z 50 Dz X Y 50 7

Distance Vector Routing Algorithm Increase DY X Z 60 8 Y 60 4 1 X Z 50 Dz X Y 50 7

Distance Vector Routing Algorithm Increase DY X Z 60 8 Y 60 4 1 Too many iterations! (count-to-infinity problem) X Z 50 Dz X Y 50 9

Distance Vector Routing Algorithm Poisoned reverse DY X Z 4 ∞ Y 60 4 1 X Z 50 Dz X Y 50 5

Distance Vector Routing Algorithm Poisoned reverse DY X Z 60 ∞ Y 60 4 1 X Z 50 Dz X Y 50 5

Distance Vector Routing Algorithm Poisoned reverse DY X Z 60 ∞ Y 60 4 1 X Z 50 Dz X Y 50 61

Distance Vector Routing Algorithm Poisoned reverse DY X Z 60 51 Y 60 4 1 X Z 50 Dz X Y 50 61

Distance Vector Routing Algorithm Poisoned reverse Cannot solve general count-to-infinity problem DY X Z 60 51 Y 60 4 1 X Z 50 Dz X Y 50 ∞

LS Algorithm vs. DV Algorithm Message complexity O(nE) Maybe small Speed of convergence O(n2) algorithm Slow(count-to-infinity problem) Robustness Good Bad

Hierarchical Routing View network as interconnected routers Scale Administrative autonomy Organize routers into autonomy systems(AS)

Hierarchical Routing B.a A.a A.b A.c A.d C.b C.c C.a Host H1 Host H2 Autonomy system(AS) Gateway router Intra-AS Inter-AS

Topological view for inter-AS routing protocol Hierarchical Routing B.a C.a A.a A.c Topological view for inter-AS routing protocol

END