- Trending Categories
- Data Structure
- Operating System
- C Programming
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
What are the differences between Border Gateway Protocol (BGP) and Routing Information Protocol (RIP)?
Let us learn the concepts of Routing Information Protocol (RIP) and Border Gateway Protocol (BGP).
Routing information protocol (RIP)
This protocol employs the port 520 and the routers utilize it for sharing the information over a network and avert the routing loops.
It sustains the routing table for elucidating the ultimate effective manner in order to route the data.
Often permits the data to result over an immersive speed in lesser duration.
It determines the best route by employing the hop count.
It permits the hop count around 15.
If it exceeds more than 15 then the network elucidates a network is taken as unreachable.
A path containing the shortest hop count is taken into account as the best route for attaining the network and finally kept in table.
Since it offers slow convergence, it might generate the variable routing entries and is easy for programming. It is simple to comprehend and apply it.
Border Gateway Protocol (BGP)
It is an external gateway protocol which is used to exchange routing and availability of information among independent systems on the Internet. The protocol is classified as a path vector protocol but is sometimes grouped as a distance-vector routing protocol.
Working principle of BGP
Step 1 − When BGP runs between two gazes in the same autonomous system, it is called Internal BGP (iBGP).
Step 2 − When it runs between different and dissimilar autonomous systems, then it is called External BGP (eBGP).
Step 3 − Routers on the edge of one AS, sharing information with another are called border or edge routers and are linked directly, whereas iBGP gazes can be interlinked through other intermediate routers.
Step 4 − Other operational topologies are also possible, like running eBGP gazing inside a VPN tunnel, allowing two distant sites to exchange routing information in a protected and isolated manner.
Step 5 − The main difference between iBGP and eBGP gazing is in the way routes that were received from one gaze are propagated to other gazes.
Step 6 − For example, new routes learned from an eBGP gaze are naturally reallocated to all other iBGP gazes as well as all eBGP gazes.
Step 7 − Therefore, if new routes were learned on an iBGP gazing, then they are re-promoted only to all other eBGP gazes. These route propagation rules efficiently require that all iBGP gazes inside an AS are interconnected in a full mesh.
Step 8 − Filtering routes learned from gazes, their transformation before reorganization to gazes or before testing them into the routing table is naturally controlled through route-maps method.
Step 9 − These are the basic rules which let the application of certain actions to routes of certain criteria on either entrance or outlet path.
Step 10 − These rules can state that the route is to be dropped or otherwise, its attributes are to be customized.
Step 11 − The responsibility of the AS administrator to provide the preferred route-map configuration on a router supporting BGP.
The major differences between RIP and BGP are as follows −
|Routing Information Protocol (RIP)||Border Gateway Protocol (BGP)|
|RIP is a dynamic routing protocol.||BGP is an external gateway protocol.|
|RIP uses Bellman Ford Algorithm.||BGP uses the Best Path Algorithm.|
|RIP is less intelligent protocol when compared to BGP||BGP is called a more intelligent protocol when compared to RIP.|
|It works for smaller organizations.||It works for large organizations.|
|In RIP the calculations are in terms of bandwidth.||In BGP the calculations are in terms of HOP count.|
|RIP is a vector type.||BGP is Hybrid type.|
|RIP allows a maximum of 15 HOP counts.||In BGP there is no HOP count limit.|
- What is Border Gateway Protocol(BGP) in Computer Network?
- Routing Information Protocol – Differences between RIPv1 and RIPv2
- What is Exterior Gateway Protocol (EGP)?
- What are the differences between EIGRP and BGP?
- What are the differences between DCS Network and Field Communication Protocol?
- What is Media Gateway Control Protocol (MGCP)?
- Distance Vector Routing (DVR) Protocol
- Protocol and Protocol Hierarchies
- Difference between Stop and Wait protocol and Sliding Window protocol
- What is protocol graph? Compare the network interface and protocol
- What is Link State Routing protocol in computer network?
- Explain difference between Stop and Wait protocol and Sliding Window protocol
- How does the MANETS AODV Reactive Routing Protocol work?
- What are the elements of Transport Protocol?
- What is the difference between application level gateway and hardware level gateway in information security?