Difference Between BGP and OSPF
Here below are some key differences between BGP and OSPF:
BGP |
OSPF |
---|---|
It follows the Path Vector Routing Algorithm |
It follows the Link State Routing Algorithm |
The speed of convergence is very slow in BGP |
The speed of convergence is fast in the case of OSPF |
BGP is also called inter-domain routing protocol |
OSPF is also called intra-domain routing protocol |
In BGP routing operation is performed between two AS |
In OSPF routing operation is performed inside an AS |
In BGP, TCP protocol is used |
In OSPF, IP protocol is used |
Border Gateway Protocol (BGP)
The protocol can connect any internetwork of the autonomous system using an arbitrary topology. The only requirement is that each AS have at least one router that can run BGP and that is the router connected to at least one other AS’s BGP router. BGP’s main function is to exchange network reachability information with other BGP systems. Border Gateway Protocol constructs an autonomous systems graph based on the information exchanged between BGP routers.
Contact Us