Rip Routing Protocol.

Slides:



Advertisements
Similar presentations
Copyright 2008 Kenneth M. Chipps Ph.D. Cisco CCNA Exploration CCNA 2 Routing Protocols and Concepts Chapter 4 Distance Vector Routing Protocols.
Advertisements

Routing Protocol.
© 2007 Cisco Systems, Inc. All rights reserved.ICND2 v1.0—3-1 Medium-Sized Routed Network Construction Reviewing Routing Operations.
Chapter 11 Unicast Routing Protocols
Unicast Routing Protocols: RIP, OSPF, and BGP
Routing So how does the network layer do its business?
RIP – Routing Information Protocol Syeda Momina Tabish MIT - 7.
CSEE W4140 Networking Laboratory Lecture 4: IP Routing (RIP) Jong Yul Kim
CSEE W4140 Networking Laboratory Lecture 4: IP Routing (RIP) Jong Yul Kim
Unicast Routing Protocols: RIP, OSPF, and BGP
CSE 461: Distance Vector Routing. Next Topic  Focus  How do we calculate routes for packets?  Routing is a network layer function  Routing Algorithms.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-1 Determining IP Routes Introducing Distance Vector Routing.
INTRA- AND INTERDOMAIN ROUTING Routing inside an autonomous system is referred to as intradomain routing. Routing between autonomous systems is.
TCP/IP Protocol Suite1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 11 Unicast Routing Protocols.
Distance Vector Routing Protocols Distance Vector Routing.
Distance Vector Protocols
Routing Information Protocol (RIP). Intra-and Interdomain Routing An internet is divided into autonomous systems. An autonomous system (AS) is a group.
1 Computer Communication & Networks Lecture 22 Network Layer: Delivery, Forwarding, Routing (contd.)
Dynamic Routing Protocols  Function(s) of Dynamic Routing Protocols: – Dynamically share information between routers (Discover remote networks). – Automatically.
1 13-Sep-15 S Ward Abingdon and Witney College Routing loops And other problems CCNA 2 Chapter 4.
M. Menelaou CCNA2 DYNAMIC ROUTING. M. Menelaou DYNAMIC ROUTING Dynamic routing protocols can help simplify the life of a network administrator Routing.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 14 Routing Protocols RIP, OSPF, BGP.
Slide /2009COMM3380 Routing Algorithms Distance Vector Routing Each node knows the distance (=cost) to its directly connected neighbors A node sends.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 7 Distance Vector Routing Protocols.
1 Routing Protocols and Configuration Instructor: Te-Lung Liu Program Associate Researcher NCHC, South Region Office.
Count to infinity problem
1 Chapter 22 Network layer Delivery, Forwarding and Routing (part2)
1 Network Layer Lecture 13 Imran Ahmed University of Management & Technology.
RIP2 (Routing Information Protocol) Team Agile. Routing Protocols Link State – OSPF – ISIS Distance vector – RIP (version 1 and 2) – IGRP (Cisco Proprietary)
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 11 Unicast Routing Protocols.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 13 Routing Protocols (RIP, OSPF, BGP)
22.1 Chapter 22 Routing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
TCP/IP Protocol Suite 1 Chapter 14 Upon completion you will be able to: Unicast Routing Protocols: RIP, OSPF, and BGP Distinguish between intra and interdomain.
Computer Networks22-1 Network Layer Delivery, Forwarding, and Routing.
Ch 22. Routing Direct and Indirect Delivery.
Spring 2000CS 4611 Routing Outline Algorithms Scalability.
RIP Routing Protocol. 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.
Spring Routing: Part I Section 4.2 Outline Algorithms Scalability.
CS 6401 Intra-domain Routing Outline Introduction to Routing Distance Vector Algorithm.
Powerpoint Templates Computer Communication & Network Week # 14.
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
RIP.
The network layer: routing
Distance Vector Routing Protocols
Dynamic Routing Protocols part2
Routing Protocols (RIP, OSPF, BGP)
Routing Loops.
Routing Protocols and Concepts
Routing Information Protocol (RIP)
Routing Information Protocol (RIP)
Distance-Vector Routing Protocols
Net 323 D: Networks Protocols
Delivery, Forwarding, and Routing
Routing: Distance Vector Algorithm
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Dynamic Routing Protocols part2
Delivery, Forwarding, and Routing
Distance Vector Routing Protocols
UNICAST ROUTING PROTOCOLS
Routing Protocols (RIP, OSPF, BGP).
Intradomain Routing Outline Introduction to Routing
RFC 1058 & RFC 2453 Routing Information Protocol
CCNA2 chap4 routing loops.ppt And other problems CCNA 2 Chapter 4
Communication Networks
Distance Vector Routing Protocols
COS 461: Computer Networks
Communication Networks
Distance Vector Routing Protocols
Computer Networks Protocols
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Presentation transcript:

Rip Routing Protocol

Exercise In the network above, all routers run RIPv2. What is the initial routing table state of A? Assume C is the first router that sends a RIP update to all its neighbors. What is now the state of A's routing table?

Two-Node Loop Instability A problem with distance vector routing is instability, which means that a network using this protocol can become unstable.

Both A and B know how to reach X. A changes its table. If A send its table to B immediately ✔ If B send its table to A before receiving A's routing table !! B sends its routing table to A Based on the triggered update strategy, A sends its new update to B. If A can send its table to B immediately, everything is fine. However, the system becomes unstable if B sends its routing table to A before receiving A's routing table. A before receiving A's routing table. Node A receives the update and, assuming that B has found a way to reach X, immediately updates its routing table. Based on the triggered update strategy, A sends its new update to B. The cost of reaching X increases gradually until it reaches infinity

Two-Node Loop Instability The cost of reaching X reaches infinity, both A and B know that X cannot be reached. However, during the time of increasing cost the system is not stable. Node A thinks that the route to X is via B; node B thinks that the route to X is via A. If there is a packet to X, Packet bounces between A and B, creating a two-node loop problem. If A receives a packet destined for X, it goes to B and then comes back to A. Similarly, if B receives a packet destined for X, it goes to A and comes back to B.

Solutions A few solutions have been proposed for instability of this kind. Defining Infinity Split Horizon Split Horizon and Poison Reverse

Defining Infinity The solution is redefining infinity to a small number so the system will be stable in less updates. Most implementation of the distance vector protocol define the distance between each router to be 1 and define 16 as infinity. Therefore, the distance vector cannot be used in large systems The size of the network, in each direction, can not exceed 15 hops.

Split Horizon In this strategy, instead of flooding the table through each interface, each router sends only part of its table through each interface. If, according to its table, router B thinks that the optimum route to reach X is via A, it does not need to advertise this piece of information to A Router B eliminates X entry of its routing table before it sends it to A. The system becomes stable after the first update: both routers A and B know that X is not reachable. Taking information from node A, modifying it, and sending it back to node A creates the confusion. In our scenario, node B eliminates the last line of its routing table before it sends it to A. In this case, node A keeps the value of infinity as the distance to X. Later when node A sends its routing table to B, node B also corrects its routing table.

Split Horizon

Split Horizon and Poison Reverse This strategy is a combination between split horizon and poison reverse Router B can still advertise the value of X, but if the source of information is A, it can replace the distance with infinity as a warning: “Don’t use this value; what I know about this route comes from you.” Using the split horizon strategy has one drawback. Normally, the distance vector protocol uses a timer, and if there is no news about a route, the node deletes the route from its table. When node B in the previous scenario eliminates the route to X from its advertisement to A, node A cannot guess that this is due to the split horizon strategy (the source of information was A) or because B has not received any news about X recently.

Exercise After convergence of RIP in the network, how many entries in the RIP update message does C send on 10.0.4.0/24 if RIP is configured to run: split horizon and poison reverse? only split horizon? neither split horizon nor poison reverse?