Difference between Border Gateway Protocol (BGP) and Routing Information Protocol (RIP)
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  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 works on Best path algorithm.||RIP works on Bellman Ford algorithm.|
|3.||It is basically used for very lager size organizations as compared to RIP.||It is basically used for smaller size organizations.|
|4.||It is an external gateway protocol.||It is an industry standard dynamic routing protocol.|
|5.||It is a more intelligent routing protocol than RIP.||It is not a very intelligent dynamic routing protocol.|
|6.||The networks are classified as areas and tables.||The networks are classified as areas, sub areas, autonomous systems and backbone areas.|
|7.||It calculates the metric in terms of Hop Count.||It calculates the metric in terms of Bandwidth.|
|8.||It is hybrid type.||It is a Vector State type.|
|9.||There is no such restriction on the hop count.||It allows a maximum of 15 hops.|