📜  OSPF和BGP的区别

📅  最后修改于: 2021-09-14 01:26:06             🧑  作者: Mango

开放最短路径优先 (OSPF):
OSPF 是一种分层网络拓扑或设计。 OSPF 更喜欢最快路径而不是最短路径。在开放最短路径优先中,使用互联网协议。

边界网关协议 (BGP):
BGP 是网状拓扑或设计的类型。边界网关协议首选最佳路径。在边界网关协议中,使用传输控制协议。

OSPF(开放最短路径优先)和BGP(边界网关协议)的主要区别在于,开放最短路径优先是域内路由协议,而边界网关协议是域间路由协议。

我们来看看OSPF和BGP的区别:

S.NO OSPF BGP
1. OSPF stands for Open Shortest Path First. BGP stands for Border Gateway Protocol.
2. The implementation of OSPF is easy. While the implementation of BGP is difficult.
3. OSPF is a fast concurrence. While BGP is a slow concurrence.
4. OSPF is type of hierarchical network topology or design. While it is the type of mesh topology or design.
5. It is also called as internal gateway protocol. While it is called as external gateway protocol.
6. In OSPF internet protocol is used. While in this, Transmission control protocol is used.
7. It works in 89 port number. While it works in 179 port number.
8. OSPF is a Link State type. While it is a Vector State type.
9. In OSPF Dijkstra algorithm is used. While in this Best path algorithm is used.
10. OSPF prefers fastest path rather than shortest path. While It prefers best path.