1.路由信息协议(RIP):
RIP代表路由信息协议,其中距离矢量路由协议用于数据/数据包传输。在路由信息协议(RIP)中,最大跃点数为15,因为它可以防止从源到目标的路由环路。使用诸如水平分割,路由中毒和保持所有权之类的机制来防止错误或错误的路由信息。 Sally Floyd和Van Jacobson [1994]建议,在不对计时器进行轻微随机化的情况下,计时器会随着时间的推移而同步。与其他路由协议相比,RIP(路由信息协议)很差,并且限制了规模,即小型网络。使用RIP的主要优点是它使用UDP(用户数据报协议)。
2.开放最短路径优先(OSPF):
OSPF代表使用链接状态路由算法的开放式最短路径优先。使用路由器中可用的链路状态信息,它构造拓扑,在该拓扑中拓扑确定用于路由决策的路由表。它支持变长子网掩码和无类域间路由寻址模型。由于它使用Dijkstra的算法,因此它会为每条路线计算最短路径树。 OSPF(首先是开放式最短路径)的主要优点是它自己处理错误检测,并且使用多播寻址在广播域中进行路由。
RIP和OSPF之间的区别
SR.NO | RIP | OSPF |
---|---|---|
1 | RIP Stands for Routing Information Protocol. | OSPF stands for Open Shortest Path First. |
2 | RIP works on Bellman Ford algorithm. | OSPF works on Dijkstra algorithm. |
3 | It is a Distance Vector protocol and it uses the distance or hops count to determine the transmission path. | It is a link state protocol and it analyzes different sources like the speed, cost and path congestion while identifying the shortest path. |
4 | It is basically use for smaller size organization. | It is basically use for larger size organization in the network. |
5 | It allows a maximum of 15 hops. | There is no such restriction on the hop count. |
6 | It is not a more intelligent dynamic routing protocol. | It is a more intelligent routing protocol than RIP. |
7 | The networks are classified as areas and tables here. | The networks are classified as areas, sub areas, autonomous systems and backbone areas here. |
8 | Its administrative distance is 120. | Its administrative distance is 110. |
9 | RIP uses UDP(User Datagram Protocol) Protocol. | OSPF works for IP(Internet Protocol) Protocol. |
10 | It calculates the metric in terms of Hop Count. | It calculates the metric in terms of bandwidth. |