📜  边界网关协议 (BGP) 和路由信息协议 (RIP) 之间的区别

📅  最后修改于: 2021-09-13 02:28:13             🧑  作者: Mango

1.边界网关协议(BGP):
在 BGP 中,使用传输控制协议。它是一种网状拓扑或设计。它通过交换路由信息的两个独立网络(自治系统或 AS)工作。两台路由器同意交换有关如何到达某些 IP 范围的信息。 BGP 使用传输控制协议 (TCP) 端口 179。

2. 路由信息协议(RIP):
RIP 代表路由信息协议,其中距离矢量路由协议用于数据/数据包传输。在路由信息协议 (RIP) 中,最大跳数为 15,因为它可以防止从源到目标的路由循环。使用水平分割、路由中毒和抑制等机制来防止不正确或错误的路由信息。 Sally Floyd 和 Van Jacobson [1994] 建议,如果计时器没有轻微的随机化,计时器就会同步超时。与其他路由协议相比,RIP(路由信息协议)性能较差且规模有限,即网络较小。使用 RIP 的主要优点是它使用 UDP(用户数据报协议)。边界网关协议 (BGP) 和路由信息协议 (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.