Open In App

Difference between Border Gateway Protocol (BGP) and Routing Information Protocol (RIP)

Improve
Improve
Improve
Like Article
Like
Save Article
Save
Share
Report issue
Report

1. Border Gateway Protocol (BGP): 
In BGP, Transmission Control Protocol is used. It is a type of mesh topology or design. It works by two independent networks (Autonomous Systems or AS) exchanging routing information. The two routers agree to exchange information about how to reach certain IP-ranges. BGP uses Transmission Control Protocol (TCP) port 179. 

2. Routing Information Protocol (RIP): 
RIP stands for Routing Information Protocol in which distance vector routing protocol is used for data/packet transmission. In Routing Information Protocol (RIP), the maximum number of hops is 15, because it prevents routing loops from source to destination. Mechanism like split horizon, route poisoning, and holdown are used to prevent incorrect or wrong routing information. Sally Floyd and Van Jacobson [1994] suggested that, without slight randomization of the timer, the timers are synchronized overtime. Compared to other routing protocols, RIP (Routing Information Protocol) is poor and limited in size i.e. small network. The main advantage of using RIP is that it uses the UDP (User Datagram Protocol). 

Difference between Border Gateway Protocol (BGP) and Routing Information Protocol (RIP) :

S. No. Border Gateway Protocol Routing Information Protocol
1. BGP stands for Border Gateway Protocol. RIP Stands for Routing Information Protocol.
2. It initially came in the year 1989. It was defined in the year 1988.
3. It works on Best path algorithm. RIP works on Bellman Ford algorithm.
4. It is basically used for very larger size organizations as compared to RIP. It is basically used for smaller size organizations.
5. It is an external gateway protocol. It is an industry standard dynamic routing protocol.
6. It is a more intelligent routing protocol than RIP. It is not a very intelligent dynamic routing protocol.
7. The networks are classified as areas and tables. The networks are classified as areas, sub areas, autonomous systems and backbone areas.
8. It calculates the metric in terms of Hop Count. It calculates the metric in terms of Hop Count.
9. It is hybrid type. It is a Vector State type.
10. There is no such restriction on the hop count. It allows a maximum of 15 hops.
11. It has design type- Fully meshed. It has design type- Flat network.
12.

It consumes more bandwidth for two purposes-

  • learning routes from connected autonomous systems (AS)
  • update bursts
It consumes more bandwidth because of the sending of whole routing table after every 90s (by default)

Last Updated : 12 May, 2023
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads