Slide 1 2008/2009COMM3380 Routing Algorithms Distance Vector Routing Each node knows the distance (=cost) to its directly connected neighbors A node sends.

Slides:



Advertisements
Similar presentations
The subnet /28 has been selected to be further subnetted to support point-to-point serial links. What is the maximum number of serial links.
Advertisements

RIP V2 W.lilakiatsakun.  RFC 2453 (obsoletes –RFC 1723 /1388)  Extension of RIP v1 (Classful routing protocol)  Classless routing protocol –VLSM is.
RIP V2 CCNP S1(5), Chapter 4.
Copyright 2008 Kenneth M. Chipps Ph.D. Cisco CCNA Exploration CCNA 2 Routing Protocols and Concepts Chapter 4 Distance Vector Routing Protocols.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 RIPv2 Routing Protocols and Concepts – Chapter 7.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 RIP version 1 Routing Protocols and Concepts – Chapter 5.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 RIP version 1 Routing Protocols and Concepts – Chapter 5.
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
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 RIP version 1&2 Revised by Chakchai So-In, Ph.D.
1 Dynamic Routing Protocols I RIP Relates to Lab 4. The first module on dynamic routing protocols. This module provides an overview of routing, introduces.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-1 Determining IP Routes Introducing Distance Vector Routing.
RIP. A PPROACHES TO S HORTEST P ATH R OUTING There are two basic routing algorithms found on the Internet. 1. Distance Vector Routing Each node knows.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Distance Vector Routing Protocols Routing Protocols and Concepts –
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.
Routing Information Protocol (RIP). Intra-and Interdomain Routing An internet is divided into autonomous systems. An autonomous system (AS) is a group.
Distance Vector Routing Protocols W.lilakiatsakun.
Dynamic Routing Protocols  Function(s) of Dynamic Routing Protocols: – Dynamically share information between routers (Discover remote networks). – Automatically.
Distance Vector Routing Protocols
CS 4396 Computer Networks Lab
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.
1 Routing Protocols and Configuration Instructor: Te-Lung Liu Program Associate Researcher NCHC, South Region Office.
Review Routing fundamental W.lilakiatsakun. Review Routing Fundamental VLSM VLSM Route Summarization Route Summarization Static & Dynamic Routing Static.
TCOM 515 Lecture 2. Lecture 2 Objectives Dynamic Routing Distance Vector Routing Link State Routing Interior vs Exterior RIP - Routing Information Protocol.
1 3-Oct-15 Distance Vector Routing CCNA Exploration Semester 2 Chapter 4.
Distance Vector Routing Protocols W.lilakiatsakun.
Slide /2009COMM3380 Brief Review of Last Lecture Routing Algorithms –Distance vector e.g. RIP –Link State / Shortest Path First e.g. OSPF.
Interior Gateway Protocol. Introduction An IGP (Interior Gateway Protocol) is a protocol for exchanging routing information between gateways (hosts with.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 RIPv2 Routing Protocols and Concepts – Chapter 7.
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)
Lecture Week 5 RIP version 1 Routing Protocols and Concepts.
Distance Vector Routing Protocols Routing Protocols and Concepts Lecture Week 4.
CCNA 2 Week 7 Distance Vector Routing. Copyright © 2005 University of Bolton Topics Distance Vector Protocol Issues RIP IGRP.
TCOM 509 – Internet Protocols (TCP/IP) Lecture 06_a Routing Protocols: RIP, OSPF, BGP Instructor: Dr. Li-Chuan Chen Date: 10/06/2003 Based in part upon.
1 1-Dec-15 S Ward Abingdon and Witney College Distance Vector Routing CCNA Exploration Semester 2 Chapter 4.
TCOM 515 Lecture 2. Lecture 2 Objectives Dynamic Routing Distance Vectore Routing Link State Routing Interior vs Exterior RIP - Routing Information Protocol.
Routing Protocols and Concepts – Chapter 7
RIP V1 W.lilakiatsakun. RIP V1 characteristics RIP is a distance vector routing protocol. RIP is a distance vector routing protocol. RIP uses hop count.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Routing Protocols and Concepts Dr. Muazzam A. Khan.
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.
1 Dynamic Routing Protocols I RIP Relates to Lab 4. The first module on dynamic routing protocols. This module provides an overview of routing, introduces.
1. 2  An autonomous system is a region of the Internet that is administered by a single entity.  Examples of autonomous regions are:  UVA’s campus.
RIP.
Routing Protocols and Concepts
Distance Vector Routing Protocols
Dynamic Routing Protocols part2
Routing Loops.
Routing Protocols and Concepts
Routing Information Protocol (RIP)
Routing Information Protocol (RIP)
CCNA 2 v3.1 Module 7 Distance Vector Routing Protocols
Distance Vector and Link State RIP OSPF
Dynamic Routing Protocols part2
Routing Protocols and Concepts – Chapter 5
Distance Vector Routing Protocols
Routing Protocols and Concepts
Routing Protocols and Concepts – Chapter 5
RFC 1058 & RFC 2453 Routing Information Protocol
Routing Protocols and Concepts – Chapter 5
Routing Protocols and Concepts – Chapter 7
Distance Vector Routing Protocols
Routing Protocols and Concepts – Chapter 5
Routing Protocols and Concepts – Chapter 7
Distance Vector Routing Protocols
Distance Vector Routing
CCE1030 Computer Networking
Presentation transcript:

Slide /2009COMM3380 Routing Algorithms Distance Vector Routing Each node knows the distance (=cost) to its directly connected neighbors A node sends periodically a list of routing updates to its neighbors. If all nodes update their distances, the routing tables eventually converge New nodes advertise themselves to their neighbors 2. Link State Routing Each node knows the distance to its neighbors The distance information (=link state) is broadcast to all nodes in the network Each node calculates the routing tables independently

Slide /2009COMM3380 Distance Vector Protocol Example Routing Information Protocol (RIP)

Slide /2009COMM3380 Routing Information Protocol (RIP) RIP is an IGP for use within an autonomous system Designed for small networks with same speed links Uses UDP port 520 Request and Response messages - requests update and responds with update Broadcasts request out every RIP configured interface on start up of routing protocol. Upon receipt of response message, routes are checked in current routing table, if absent, routes are added, if existing, route only updated if it has a lower hop count

Slide /2009COMM3380 RIP broadcast from a neighbouring router If the destination is not in the table, then create a new table entry for it. If the destination is already in the table via a different route but the received list gives a shorter distance to it, then change the table entry. If the destination is already in the table via the same route, but the received list gives a distance that is different then change the table entry. Otherwise do nothing with this destination/distance pair of values.

Slide /2009COMM3380 RIP : Count to infinity problem B – X -> distance = 0 A – X -> distance = 1 If connection from B to X fails -> B – X marked unreachable A broadcasts DV list B sees A-X at distance 1 -> thinks link B-A-X exists with distance 2 -> updates table -> routing loop between A and B for traffic destined for X

Slide /2009COMM3380 RIP : Count to infinity problem Now B broadcast its DV list with X reachable via A at distance = 2 A sees distance B-X has changed from distance 0 to 2 - > A updates A-X to distance = 3 A broadcasts -> B see A-X with distance=3 -> B updates entry B-X to distance=4 Continues until distance = 16 reached -> unreachable

Slide /2009COMM3380 Split Horizon Solves trivial count-to-infinity problem Routers never advertise the cost of a destination back to its next hop, i.e. where it learned it from Poison Reverse -> advertise back infinity

Slide /2009COMM3380 Routing Loop Avoidance Routing loops can still occur in any network due to router configuration errors. To prevent -> IP packet has a time to live (TTL) value in its header-> decremented by each router as it receives the packet. If the TTL of a packet becomes zero, the router discards it.

Slide /2009COMM3380 RIP Message Format

Slide /2009COMM3380 RIP v1 Command specifies Request = 1 or Response - 2 Version Ripv1 = 1 AFI - Address-Family Identifier - specifies protocol, IP = 2 IP address of destination route Metric - hop count to destination Up to 25 routes - AFI, IP and Metric combinations

Slide /2009COMM3380 RIP Operations 1.On start-up, RIP broadcast Request message out each RIP enabled interface. 2.From then on, it listens for Request and Response messages from others. 3.Neighbour routers respond to initial Request with full routing table in Response Message(s) - 25 routes per Response packet. 4.On receipt of Response message, If route entry is new, it is added to routing table with address of advertising router. If the route entry is not new and the hop count is the same, the timer is updated. If the route entry is not new and the hop count is lower, the new next hop information is entered. If the route entry if not new and the hop count is greater, the route is marked as Hold down. 5.Routers continue to send gratuitous Response message(s) out each RIP enable interface every 30 seconds

Slide /2009COMM3380 RIP Version 2 Changes Classless routing and subnet masks in routing updates Routing update authentication Next-hop addresses for each route External route tags Multicast route updates, instead of broadcast Same procedures, timers & functions of v1

Slide /2009COMM3380 RIPv2 Packet Command specifies Request = 1 or Response - 2 Version Ripv2 = 2 AFI - Address-Family Identifier - specifies protocol, IP = 2, 0xffff -> Authentication Entry in place of first routing entry Route Tag - mark external or redistributed routes into RIP Network - IP address of destination route Subnet Mask - allows for classless routing Metric - hop count to destination Up to 25 routes - AFI, IP and Metric combinations Maximum datagram size 512 octets Authentication by password in update

Slide /2009COMM3380 RIP v1 & v2 Metric of hop count only allowable of At 16, destination is considered unreachable, to prevent routing loops. This limits the depth of a network to run RIP. Update timer - Router sends gratuitous Response message out each interface every 30 seconds with full routing table. Expiration timer - initialized to 180 seconds for a new route and reset upon update of that route. If timer expires, hop count set to 16, unreachable, but still advertised. Flush timer - set to 240 seconds upon initialization, once expired, route is removed from routing table and no longer advertise. Holddown timer - Cisco only - set for 180 seconds when updated route has a higher hop count than previous advertisement.