RIPv2 Summary

The characteristics of RIPv2 follow:

  • Distance-vector protocol.
  • Use UDP port 520.
  • Makes Automatic summarization on network Class boundary.
  • Classless protocol (supports VLSMs).
  • Have the power to shut the Auto-summarization And make a configured manual Summarization.
  • Supports VLSMs.
  • Metric is router hop count.
  • Maximum hop count is 15; infinite (unreachable) routes have a metric of 16.
  • Periodic route updates sent every 30 seconds to multicast address
  • 25 routes per RIP message (24 if authentication is used).
  • Invalid route marked after 180 sec.
  • Flush timer is 280 sec.
  • Hold-down timer 180 sec.
  • Supports authentication.
  • Implements split horizon with poison reverse.
  • Implements triggered updates.
  • Subnet mask included in route entry.
  • Administrative distance for RIPv2 is 120.
  • Used in small, flat networks or at the edge of larger networks.

RIPv2 Convergence

The steps for RIPv2 convergence are as follows:

  1. When the local router sees a connected route disappear, it sends a Flash update and removes the route entry from its table. This is Called a triggered update with poison reverse.
  2. The receiving routers send a Flash update and put the affected route in holddown.
  3. The originating router queries its neighbor (DC) for alternative routes. If the neighbor has an alternative route, it is sent; otherwise, the Poisoned route is sent.
  4. The originating router installs the best alternative route that it hears because it has purged the original routes, and Send the new updates in its periodic routing update timer (30 sec).
  5. Routers that are in holddown ignore only the alternative route.
  6. When the other routers emerge from holddown, they will accept the alternative route.
  7. Convergence takes the time for detection, plus holddown, plus the number of routing updates (equal to the hop-count diameter of the network). This could take a long time.

RIP v2 Configuration

Router(config)# router rip

Router(conf-router)# version 2

Router(conf-router)# no auto-summary

Router(conf-router)# network < classfull Net ID>

Router(conf-router)#passive-interface <interface>

Router(conf-router)#maximum –paths <N> (Up to 6 Links for load sharing on a R.B basis, Over equal metric paths default =is 4 paths)

Router(conf-if)# no ip split-horizon (Disables it from a specific interface)

Router(conf-router)#distance <N> (Define an administrative distance, default =120)

Router(conf-router)# timers basic < update – invalid –holdown –flush – sleep > (Adjust timers in sec , Sleeptime is a timer used to specify a period, in milliseconds, to delay a regular routing update after receiving a triggered update.)

Router(conf-router)# neighbor < ip add> (Because RIP is a broadcast protocol you may configure RIP to exchange routing information in a Point-Point non-broadcast network such as Frame Relay. In this type of network, RIP must be informed of neighbor RIP routers, Also When it is used in combination with the passive-interface cmd, routing information can be Only exchanged between the router and this nei Ex. Unix server on a LAN )

Router(conf-router)#validate-update-source (This command is applicable only to RIP and IGRP. The software ensures that the source IP address of incoming routing updates is on the same IP network as one of the addresses defined for the receiving interface. Disabling split horizon on the incoming interface will also cause the system to perform this validation check. For unnumbered IP interfaces (interfaces configured as IP unnumbered), no checking is performed. )

Router(conf-router)# no auto-summary

Router(conf-if )# ip summary-address rip < Net ID + mask>

Show Commands

Router#sh ip route

Router#sh ip route rip

Router#sh ip route < Net ID >

Router#sh ip rip database

Router#sh ip protocols

Router#debug ip rip

Router#debug ip rip events

Router#no debug all

By DarkFiber

Tags: What metrics does the RIPv2 routing protocol ignore?

Leave a Comment

NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>