Link State Route Calculations

Slides:



Advertisements
Similar presentations
1 Routing Protocols I. 2 Routing Recall: There are two parts to routing IP packets: 1. How to pass a packet from an input interface to the output interface.
Advertisements

DIJKSTRA’s Algorithm. Definition fwd search Find the shortest paths from a given SOURCE node to ALL other nodes, by developing the paths in order of increasing.
William Stallings Data and Computer Communications 7 th Edition Chapter 12 Routing.
1 Dijkstra’s Shortest Path Algorithm Gordon College.
1 Comnet 2010 Communication Networks Recitation 6 Routing.
Routing So how does the network layer do its business?
Chapter 7 Network Flow Models.
1 Routing Algorithms. 2 Outline zBellaman-Ford Algorithm zDijkstra Algorithm.
Lecture 25 CSE 331 Nov 2, Adding teeth to group talk Form groups of size at most six (6) Pick a group leader I will ask group leader(s) to come.
Lecture Week 10 Link-State Routing Protocols. Objectives Describe the basic features & concepts of link-state routing protocols. List the benefits and.
Chapter 4: Finding the Shortest Path Lesson 1: Dijkstra’s Algorithm
Using Dijkstra’s Algorithm to Find a Shortest Path from a to z 1.
Review: routing algorithms. –Choose the appropriate paths. –Routing algorithms Flooding Shortest path routing (example). –Dijkstra algorithm. –Bellman-Ford.
WAN technologies and routing Packet switches and store and forward Hierarchical addresses, routing and routing tables Routing table computation Example.
COSC 2007 Data Structures II Chapter 14 Graphs III.
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.
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.
Dijkstra's algorithm For a given source vertex (node) in the graph, the algorithm finds the path with lowest cost (i.e. the shortest path) between that.
Lecture #3 OSPF Asst.Prof. Dr.Anan Phonphoem Department of Computer Engineering, Faculty of Engineering, Kasetsart University, Bangkok, Thailand.
Networking and internetworking devices. Repeater.
Optical Network Security Daniel Stewart. Preliminary work Dijkstra's Algorithm Dijkstra's algorithm, is a graph search algorithm that solves the single-
OSPF Open Shortest Path First. Table of Content  IP Routes  OSPF History  OSPF Design  OSPF Link State  OSPF Routing Table  OSPF Data Packets.
M. Veeraraghavan (originals by J. Liebeherr) 1 Need for Routing in Ethernet switched networks What do bridges do if some LANs are reachable only in multiple.
Decision Maths 1 Shortest path algorithm Dijkstra’s Algorithm A V Ali :
Network-Layer Routing Routing tasks are methods of finding the paths for packet from their sources to their destinations. Routers are responsible mainly.
Dijkstra animation. Dijksta’s Algorithm (Shortest Path Between 2 Nodes) 2 Phases:initialization;iteration Initialization: 1. Included:(Boolean) 2. Distance:(Weight)
Spanning Trees Dijkstra (Unit 10) SOL: DM.2 Classwork worksheet Homework (day 70) Worksheet Quiz next block.
CSE 421 Computer Networks. Network Layer 4-2 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside.
Malathi Veeraraghavan (originals by Jörg Liebeherr) 1 Link State Routing Algorithm Use a routing protocol to collect the whole network topology Obtain.
SHORTEST ROUTE PROBLEM A Networking Model Report for DPA 702 QUANTITATIVE METHODS OF RESEARCH By: ALONA M. SALVA Cebu Technological University.
1 Relates to Lab 4. This module covers link state routing and the Open Shortest Path First (OSPF) routing protocol. Dynamic Routing Protocols II OSPF.
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.
1 Most important algorithms! Routing Algorithms Properties Shortest Path Routing Flooding Distance Vector Routing Link State routing Hierarchical routing.
Centralized vs Distributed Routing
Dynamic Routing Protocols II OSPF
16장. Networking and Internetworking Devices
Shortest Path from G to C Using Dijkstra’s Algorithm
Dijkstra’s shortest path Algorithm
Advanced Computer Networks
Routing Protocols and Concepts
COMP 3270 Computer Networks
Link-State Routing Protocols
Network Layer – Routing 1
Static and Dynamic Routing
CS 457 – Lecture 12 Routing Spring 2012.
Lecture 23 CSE 331 Oct 26, 2016.
Link state routing In link state routing, if each node in the domain has the entire topology of the domain list of nodes and links, how they are connected.
Dynamic Routing Protocols II OSPF
Comp 245 Data Structures Graphs.
Dijkstra’s Algorithm We are given a directed weighted graph
Routing Protocols (RIP, OSPF, BGP).
Link-State Routing Protocols
Switch controller: Routing
CS4470 Computer Networking Protocols
Link State Route Calculations
Chapter 4: Finding the Shortest Path Lesson 1: Dijkstra’s Algorithm
Chapter 22. Network Layer: Routing
Link-State Routing Protocols
Communication Networks
Advanced Computer Networks
Shortest Path Problems
and 6.855J Dijkstra’s Algorithm
Communication Networks
Implementation of Dijkstra’s Algorithm
Shortest Path Solutions
Dijkstra Algorithm examples
Prim’s algorithm for minimum spanning trees
CSCI 465 Data Communications and Networks Lecture 16
EE 122: Intra-domain routing: Link State
OSPF Protocol.
Presentation transcript:

Link State Route Calculations Calculate shortest path for node s Dijkstra’s Algorithm: s source node. Dn cost of the least-cost path from node s to node n M = {s}; for each n  M Dn = dsn; while (M  all nodes) do Find w  M for which Dw = min{Dj ; j  M}; Add w to M; Dn = minw [ Dn, Dw + dwn ]; Update route; enddo Malathi Veeraraghavan (originals by Jörg Liebeherr)

Example Malathi Veeraraghavan (originals by Jörg Liebeherr)

Example (at node 1) Iteration M D1 D2 D3 D4 D5 D6 Init Malathi Veeraraghavan (originals by Jörg Liebeherr)

Answer Dijkstra’s algorithm – add in routes at each step Malathi Veeraraghavan (originals by Jörg Liebeherr)

Resulting Routing Tree The tree is translated into a routing table at node 1: Destination Next Hop 2 2 3 4 4 4 5 4 6 4 Malathi Veeraraghavan (originals by Jörg Liebeherr)