RIP (Routing Information Protocol) is a distant vector routing protocol. RIP algorithm has been in use since the early days of ARPAnet. Currently, there are 2 versions of RIP, which are known as Routing Information Protocol version 1 (RIPv1) and Routing Information Protocol version 2 (RIPv2). More information about RIPv1 can be found on (RFC1058) and more information about RIPv2 can be found on (RFC 1723). RIPv1 supports only classful routing and RIPv2 uses classless routing. This means RIPv2 support Variable length Subnet Mask (VLSM).
RIP is a UDP based protocol that uses port 520 for all communication. RIP was designed for small to medium sized networks. RIP uses hop count as a metric. RIP supports maximum 15 hops. The maximum size of RIPv1 or RIP2 packet is 512 octets. RIP has the administrative distance of 120.
Route update timer
Every 30 seconds, a Cisco router will send a RIP update out every interface that has a RIP network attached to it. Each update contains the entire routing table of the sending router. When another router on the network receives the update, it adds any new routes to its routing table or will replace a route if the update has a lower hop count for that route.
Route Invalid Timer
Route invalid timer is 180 seconds. If router does not receive any update about a particular router for that period, then router will find out that this route has become invalid.
Route Flush Timer
Sets the time between a route becoming invalid and its removal from the routing table (240 seconds).
RIP (Routing Information Protocol) is the routing protocol and one format of Distance Vector by the nature of RIP that it will sending all routing table data by itself go out to neighbor router in every 30 second and work on UDP and on port 520 numbers, that's why make RIP work slow and consume the very resource of router more when compare with other routing protocol such as OSPF Routing Protocol and EIGRP Routing Protocol these sending out for updated routing table only.
For the factor of choosing best route path on RIP, it will choose the routing path route that have least Hop Count, that is one factor for choosing by the topmost space or Maximum Hop Count of RIP that 15 router or 15 hop count only if have more 15 will can not seek the route path or inaccessible, which RIP that will work well with the network that have small-sized and it will can not work efficiently in large-sized network because of the limitation about Hop Count and the lateness in routing table update at must exchange both of the table and must wait for 30 seconds before change the routing table.
This below is the step for how to configure RIP to your router.
- Login to router Global Configuration Mode with this command
Router#enable
- Change to RIP Routing Configuration with command
Router(config)#router rip
- Change for run to RIP version 2
Router(config-router)#version 2
- Step for setting up an your network address of your router interfaces that your router interface has connected to. For example we'll setting for two network address as below
- If in Network you has Discontingous Network Address or have don't conform address if you set for router use Auto-Route Summarization feature sometimes may have the error in something route which the command will come use to stop doing Auto-Summarization this for example.
- If in your router connected goes out to WAN Link far exceed location more than limits that you wants true such as if you have network address 172.16.1.0, 172.16.2.0 and 172.16.3.0 and already set for both three interfaces of router but, while you set in router rip you will necessary must set in Classful Network Address like 172.16.0.0 which in this example if 172.16.3.0 networks are you set it run on other routing protocol such as OSPF or EIGRP and you don't want a result that routing rip go to disturb WAN Link traffic go to interface at you don't want you can stop traffic that be from RIP sending to that interfaces with this command.
- If you want to send routing update cross interface at have doing Passive Interface go to destination interface at run RIP once more, This interface may be interface behind interface that do Passive Interface make RIP broadcase traffic usually don't arrive come to, you can make specify RIP traffic cross to interface of Passive Interface come to the uprightly destination with the command as follows.
show ip route - Use for show routing table show protocols ? Use for show Routed Protocol such as IP, IPX and view for status of that routed protocol interface show ip protocols ? Use for show routing protocol status and RIP timing update and Administrative Distance (AD) debug ip rip ? Use for view step on sending network address on RIP and view for RIP changing topology undebug all ? Disable for Debug Process
This is the basic information and how to setting up RIP Routing Protocol in to your network it is simple and fast for setting up on small-sized network and use on classful ip address to apply on, but for the large network we'll apply for the classless routing protocol such as OSPF or EIGRP that is these routing protocol it have a very performance and stable for the lage-sized network or hard working network, but you can do with the high knowledge or have more skills on networking system and routing protocol.
Both M. Aslam & David Shaffer are contributors for EditorialToday. The above articles have been edited for relevancy and timeliness. All write-ups, reviews, tips and guides published by EditorialToday.com and its partners or affiliates are for informational purposes only. They should not be used for any legal or any other type of advice. We do not endorse any author, contributor, writer or article posted by our team.