Professional Documents
Culture Documents
1.
1. Comparison Chart
2. Definition
3. Key Differences
4. Conclusion
Comparison Chart
BASIS FOR
OSPF BGP
COMPARISON
protocol
implement
network possible
it relies on the
size of the
routing table.
administered
centrally.
algorithm
Protocol IP TCP
89
Definition of OSPF
OSPF allows various authentication schemes and every exchange within the
routers need to be authenticated. The purpose of authentication is to permit
the only authorized routers to advertise the routing information. The separate
routes are calculated to a single destination based on HOP count and high
throughput for each type of service. When a number of equal-cost routes exist
to the destination, it performs load balancing where the traffic is distributed
equally.
The Area partitioning builds two distinct kinds of routing according to the
source and the destination location in the network, and whether they present
in the same area or different area. When the source and destination present in
the same area it is known as intra-area routing and if the source and
destination present in the different area it is referred to as inter-area routing.
Definition of BGP
A BGP can manage a set of AS’s connected in any configuration such as full
mesh, partial mesh, and also it can handle the changes that occur in the
topology over time. The BGP system basically exchanges the network
reachability information with other BGP systems and create graph of
autonomous systems with the received reachability information at the BGP
routers. The path vector routing mechanism is employed in the BGP systems
because the distance vector routing and link state routing become intractable
when the domain of the operation becomes large.
In path vector routing the router has the list of networks which can be reached
with the path to reach each of them. It conserves network bandwidth and
supports CIDR (Classless Inter-Domain Routing). The BGP protocol does not
have any information about what is happening inside an autonomous system
and that a necessary prerequisite for an autonomous system. It has its own
internal topology and chooses the routing protocols to determine the routes.
1. The OSPF stands for Open Shortest Path First whereas BGP
expands to Border Gateway Protocol.
2. OSPF is an Interior gateway routing protocol in which the routing
operation is performed inside an autonomous system. On the other
hand, the BGP is an Exterior gateway routing protocol which enables
the routing operations to be performed between the two autonomous
systems.
3. OSPF is simple to employ while BGP is complex to implement.
4. The time elapsed by a router takes to share and update the latest
routing information is known as convergence. So, OSPF can achieve
convergence by consuming less time. In contrast, the BGP has a
slow convergence rate as compare to OSPF.
5. The OSPF follows a hierarchical structure whereas BGP usually
adopts mesh structure.
6. OSPF requires intensive use of memory and CPU resources. As
against, in BGP the need of device resources relies on the size of the
routing table.
7. BGP is more flexible and scalable than OSPF and used on a larger
network, unlike OSPF.
8. The primary objective of the OSPF is to determine the best route, i.e.,
fastest. Conversely BGP emphasizes on determining the best path.
9. OSPF uses link state routing while BGP uses path vector routing.
Conclusion