Routing Information Protocol (RIP) protocol are the intradomain (interior) routing protocol which is based on distance vector routing and it is used inside an autonomous system.Routers and network links are called node. The first column of routing table is destination address. The cost of metric in this protocol is hop count which is number of network which need to be passed to reach destination. Here infinity is defined by a fixed number which is 16 it means that using a Rip, network cannot have more than 15 hops.
It is an open standard protocol means it works on the various vendors routers. It works on most of the router, it is classful routing protocol. Updates are broadcasted. Its administrative distance value is 120, it means it is not reliable, The lesser the administrative distance value the reliability is much more. Its metric is hop count and max hop count is 15. There will be total 16 router in the network. When there will be the same number of hop to reach destination, Rip starts to perform load balancing. Load balancing means if there are three ways to reach the destination and each way has same number of routers then packets will be sent to each path to reach the destination. This reduces traffic and also the load is balanced. It is used in small companies, in this protocol routing tables are updated in each 30 sec. Whenever link breaks rip trace out another path to reach the destination. It is one of the slowest protocol.
Advantages of RIP ver1 –
- Easy to configure, static router are complex.
- Less overhead
- No complexity.
Disadvantage of RIP ver1 –
- Bandwidth utilization is very high as broadcast for every 30 seconds.
- It works only on hop count.
- It is not scalable as hop count is only 15. If there will be requirement of more routers in the network it would be a problem .
- Convergence is very slow, wastes a lot of time in finding alternate path.
Due to some deficiencies in the original RIP specification, RIP version 2 was developed in 1993. It supports classless Inter-Domain Routing (CIDR) and has ability to carry subnet information, its metric is also hop count and max hop count 15 is same as rip version 1. It support authentication and does subnetting and multicasting. Auto summary can be done on every router. In RIPv2 Subnet masks are included in the routing update. RIPv2 multicasts the entire routing table to all adjacent routers at the address 22.214.171.124, as opposed to RIPv1 which uses broadcast (255.255.255.255).
Advantages of RIP ver2 –
- It’s a standardized protocol.
- It’s VLSM compliant.
- Provides fast convergence.
- It sends triggered updates when the network changes.
- Works with snapshot routing – making it ideal for dial networks.
Disadvantage of RIP ver2 – There lies some disadvantages as well:
- Max hopcount of 15, due to the ‘count-to-infinity’ vulnerability.
- No concept of neighbours.
- Exchanges entire table with all neighbours every 30 seconds (except in the case of a triggered update).
RIP ver1 versus RIP ver2:
|RIP Ver1||RIP Ver2|
|RIP v1 uses what is known as classful routing||RIP v2 is a classless protocol and it supports variable-length subnet masking (VLSM), CIDR, and route summarization|
|RIPv1 routing updates are broadcasted||RIP v2 routing updates are multicasted|
|RIPv1 has no authentication||RIP v2 supports authentication|
|RIP v1 does not carry mask in updates||RIP v2 does carry mask in updates, so it supports for VLSM|
|RIP v1 is an older, no longer much used routing protocol||IP v2 can be useful in small, flat networks or at the edge of larger networks because of its simplicity in configuration and usage|
GeeksforGeeks has prepared a complete interview preparation course with premium videos, theory, practice problems, TA support and many more features. Please refer Placement 100 for details
- Routing Information Protocol (RIP)
- Distance Vector Routing (DVR) Protocol
- Features of Enhanced Interior Gateway Routing Protocol (EIGRP)
- Difference between Distance vector routing and Link State routing
- Difference between Classful Routing and Classless Routing
- Unicast Routing - Link State Routing
- Difference between Stop and Wait protocol and Sliding Window protocol
- Hot Standby Router Protocol (HSRP) and Virtual Router Redundancy Protocol (VRRP)
- Difference between Serial Line Internet Protocol (SLIP) and Point-to-Point Protocol (PPP)
- Difference between File Transfer Protocol (FTP) and Secure File Transfer Protocol (SFTP)
- Cisco Discovery Protocol (CDP) and Link Layer Discovery Protocol (LLDP) in Data Link Layer
- Vue.js | Routing
- AngularJS | Routing
- Routing in Node.js
- Onion Routing
Improved By : nilenduapocalypse