Network Layer – Routing 2 Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS School of Computing, UNF.

Slides:



Advertisements
Similar presentations
Networks: Routing1 Network Layer Routing. Networks: Routing2 Network Layer Concerned with getting packets from source to destination Network layer must.
Advertisements

CSE331: Introduction to Networks and Security Lecture 9 Fall 2002.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 22 Introduction to Computer Networks.
RD-CSY3021 Comparing Routing Protocols. RD-CSY3021 Criteria used to compare routing protocols includes  Time to convergence  Proprietary/open standards.
Summary The Problem The Dijkstra’s Shortest Path Algorithm
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.
Network Layer Design Isues Store-and-Forward Packet Switching Services Provided to the Transport Layer The service should be independent of the router.
Routing.
1 Computer Networks Routing Algorithms. 2 IP Packet Delivery Two Processes are required to accomplish IP packet delivery: –Routing discovering and selecting.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 21 Introduction to Computer Networks.
EECC694 - Shaaban #1 lec #7 Spring The OSI Reference Model Network Layer.
Networks: Routing1 Network Layer Routing. Networks: Routing2 Network Layer Concerned with getting packets from source to destination. The network layer.
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.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
CS 453 Computer Networks Lecture 24 IP Routing. See…
Routing Algorithms (Ch5 of Computer Network by A. Tanenbaum)
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
Link State Routing Protocol W.lilakiatsakun. Introduction (1) Link-state routing protocols are also known as shortest path first protocols and built around.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Link-State Routing Protocols Routing Protocols and Concepts – Chapter.
Link-State Routing Protocols
Link State Routing Protocols Last Update Copyright Kenneth M. Chipps Ph.D.
Lecture Week 10 Link-State Routing Protocols. Objectives Describe the basic features & concepts of link-state routing protocols. List the benefits and.
1 Pertemuan 20 Teknik Routing Matakuliah: H0174/Jaringan Komputer Tahun: 2006 Versi: 1/0.
1 Computer Communication & Networks Lecture 22 Network Layer: Delivery, Forwarding, Routing (contd.)
1 Routing Protocols. 2 Distributed Routing Protocols Rtrs exchange control info Use it to calculate forwarding table Two basic types –distance vector.
Distance Vector Routing 박주호. Introduction.  Modern computer Network generally use Dynamic routing algorithms rather than The.
Review: routing algorithms. –Choose the appropriate paths. –Routing algorithms Flooding Shortest path routing (example). –Dijkstra algorithm. –Bellman-Ford.
Spring 2008CS 3321 Intradomain Routing Outline Algorithms Scalability.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Link-State Routing Protocols Routing Protocols and Concepts – Chapter 10.
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.
Chi-Cheng Lin, Winona State University CS 313 Introduction to Computer Networking & Telecommunication Chapter 5 Network Layer.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
Spring 2006CS 3321 Intradomain Routing Outline Algorithms Scalability.
Distance Vector Routing Protocols Dynamic Routing.
TELE202 Lecture 6 Routing in WAN 1 Lecturer Dr Z. Huang Overview ¥Last Lecture »Packet switching in Wide Area Networks »Source: chapter 10 ¥This Lecture.
Stainov - DataComMET CS TC5353 THE NETWORK LAYER 5.2 ROUTING ALGORITHMS - adaptive Distance Vector Routing (Bellman-Ford, Ford-Fulkenson). It was used.
Teknik Routing Pertemuan 10 Matakuliah: H0524/Jaringan Komputer Tahun: 2009.
Routing Algorithms and IP Addressing Routing Algorithms must be ▪ Correctness ▪ Simplicity ▪ Robustness ▪ Stability ▪ Fairness ▪ Optimality.
Spring 2000CS 4611 Routing Outline Algorithms Scalability.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Link-State Routing Protocols Routing Protocols and Concepts – Chapter 10.
Network Layer (2). Review Physical layer: move bits between physically connected stations Data link layer: move frames between physically connected stations.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
Distance Vector Routing
CS 6401 Intra-domain Routing Outline Introduction to Routing Distance Vector Algorithm.
Distance Vector and Link State Routing Pragyaditya Das.
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.
Prof. Alfred J Bird, Ph.D., NBCT Office – McCormick 3rd floor 607 Office Hours – Monday 3:00 to 4:00 and.
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.
Network Layer Routing Networks: Routing.
Instructor Materials Chapter 5: Dynamic Routing
Routing Protocols and Concepts
COMP 3270 Computer Networks
Link-State Routing Protocols
Dynamic Routing Protocols part2
What is a router? A router is a device that connects multiple computers together. Not to be confused with a switch Routers transmit packets of data across.
Network Layer – Routing 1
Chapter 5 Network and Transport Layers
THE NETWORK LAYER.
Chapter 5 The Network Layer.
Intra-Domain Routing Jacob Strauss September 14, 2006.
Routing.
Chapter 5: Dynamic Routing
Chapter 5: Dynamic Routing
Kuliah 5 ROUTING.
Link-State Routing Protocols
Network Layer Routing Networks: Routing.
Link-State Routing Protocols
Delivery, Forwarding, and Routing
Routing.
OSPF Protocol.
Presentation transcript:

Network Layer – Routing 2 Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS School of Computing, UNF

Adaptive or Dynamic Routing There are three main strategies: Isolated Adaptive: Each node has only local information and decision is taken at each node (distributed control). Distance Vector Routing: Each node receives information from adjacent nodes and there is distributed control. Link State Routing: Each node receives information from all other nodes and there is distributed control.

Distance Vector Routing Each node exchanges its delay vectors with its neighbor nodes. Based on this information a node tries to estimate the delay situation throughout the network. E.g. RIP of the Internet (originally used in the ARPANET) Drawbacks: Although this algorithm converges to the correct answer, it may do so slowly. It reacts rapidly to good news, but leisurely to bad news. This is also referred to as the Count- to-Infinity problem. Also, Distance Vector Routing does not scale well as the delay vectors get too big as the network size increases.

Distance Vector Routing - Example 9 3 9

Distance Vector Routing Measured delay from Node 1 to its neighbors are as follows: Node 2: 2Node 3: 5Node 4: 1 Node 1’s routing table Delay Vectors (D2, Node 1’s routing table before update D3, D4 from neighbors) after update (using Dijkstra’s algorithm) Destination node Delay (Cost)Next node D D D Destination node Delay (Cost)Next node

Drawback of Distance Vector Routing: Count-to-Infinity Problem Although this approach to routing converges to the correct answer, it may do so slowly. It reacts rapidly to good news, but leisurely to bad news. Good news of a path to A spreads quickly Bad news of no path to A is learned slowly

Link State Routing Distance Vector does not scale well as the delay vectors get too big as the network size increases. It also experiences the Count-to-Infinity Problem. Hence it has been replaced by Link State Routing on the Internet. Link State Routing has 5 parts. Each router must: 1. Discover its neighbors and learn their network addresses. Send a HELLO packet to its neighbors. The response packet contains the neighbor’s IP address. 2. Measure the delay or cost to each of its neighbors. Send an ECHO packet to its neighbors and measure the RTT. Delay = RTT/2. 3. Construct a packet (Link State Packet (LSP)) telling all it just learnt. 4. Send this packet to all other routers. 5. Compute the shortest path to every other router using Dijkstra’s algorithm.

Link State Routing – Building LSP packets Building LSP packets A router builds a LSP packet containing identity of sender, sequence # and age of packet, and list of neighbors along with delays to reach them. Network LSP for each node

Link State Routing – Distributing Link State Packets (LSPs) Flooding is used to ensure that all routers in the subnet receive LSP packets. Each LSP contains a sequence #. Receiving routers keep track of pairs they see. If a router crashes and comes back up later, it starts with sequence # 0. So the next packet will be rejected as being obsolete. To prevent this, the age is included in the LSP.

Link State Routing – Computing New Routes Once a router has accumulated a full set of LSPs, it can construct the entire subnet graph because every link is represented. Then it runs Dijkstra’s algorithm to determine the shortest path to all other routers. E.g. of Link State Routing is Open Shortest Path First (OSPF) in the Network Layer in the Internet.

Differences between Distance Vector and Link State Routing 1. The delay vector in Distance Vector Routing contains delay information to get to all other routers but is sent only to its neighboring nodes. 2. The LSP in Link State Routing only contains delay information to get to its neighboring nodes but is sent to out to all other routers in the subnet. 3. Link State Routing is more scalable because its LSPs only contain delay information to the neighboring nodes rather than all other routers.