两种动态路由协议的性能比较:RIP和OSPF-外文翻译.docx
《两种动态路由协议的性能比较:RIP和OSPF-外文翻译.docx》由会员分享,可在线阅读,更多相关《两种动态路由协议的性能比较:RIP和OSPF-外文翻译.docx(11页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、Performance Comparison of Two Dynamic Routing Protocols: RIP and OSPFABSTRACT: There are two main classes of adaptive routing protocols in the internet: distance vector and link state. This paper presents the comparison between distance vector and link state. It also outlines the pros and cons of RI
2、P and OSPF protocols and a performance analysis with some possible enhancement is presented. Network Simulator (NS2) is used to obtain the performance results of the two classes using different metrics such as throughput, packet delay and packet loss. Results of the simulation show that OSPF has a b
3、etter performance than RIP in terms of average throughput and packet delay in different network sizes, while RIP is better than OSPF in terms of number of packet loss in large networks.Keywords: Dynamic Routing Protocols, RIP, OSPF, NS21.INTRODUCTION Networks rely on routing protocols to keep the ro
4、uting tables updated. Routing is used in networks to control and forward data. For a router to be efficient and effective, the critical factor is the choice of the routing protocol. Routing protocols find a path between network nodes; if multiple paths exist for a given node then the shortest path i
5、s selected by protocol. Each protocol has a cost metric that it applies to each path. The path with lowest metric is selected by protocol. Metrics to compare one routing protocol with another are based on convergence time to adapt to topology changes, optimality is to choose the best path, not neces
6、sarily at minimum cost but to ensure a minimum delay or to minimize overhead and space requirements to store the routing table 157. The rest of paper is organized as follows: Section 2 is an overview of routing protocols. In Section 3 and 4 RIP and OSPF are discussed. We studied RIP and OSPF because
7、 this interior routing protocol is widely used in the internet. In addition the pros and cons of these routing protocols are studied in brief. In Section 5 the system model used for simulation is examined, and in Section 6 we implement routing protocols using NS2. The results of simulation show that
8、 OSPF is better than RIP in some aspects. But in other aspects RIP is revealed to be better than OSPF in Section 7. Finally we conclude the paper. 2.ROUTING PROTOCOLS There are two types of routing protocols: static or dynamic routing protocols. Dynamic routing protocols are superior over static rou
9、ting protocols because of its scalability and adaptability features.Dynamic routes are learned by communicating each router with another, when a new router is added or an old router is removed, the router learns about changes, updates its routing tables, and informs the other router about the modifi
10、cation. The classification of a routing protocol is either as an interior or exterior gateway protocol. The interior gateway protocol runs an algorithm within an Autonomous System (AS) and the exterior gateway protocol runs an algorithm outside an AS. The interior gateway protocol is classified into
11、 two groups: either distance vector (DV) or link state (LS). The distance vector selects the best routing path based on a distance metric, while link state selects the best routing path by calculating the state of each link in a path and finding the path that has the lowest total metric to reach the
12、 destination 15. The parameters used in order to evaluate the algorithms performance are: 713 . Instantaneous Packet Delay: This is the average delay of all data packets routed successfully from source to destination for a given period during an algorithm simulation. Instantaneous Throughput: This i
13、s the number of packets successfully routed for a given time during an algorithm simulation. Packet Loss: This refers to the number of packets that are lost. Different features of LS and DV protocols are presented in 146. In 14 they enhance the RIP to provide stability and reduce overhead of message
14、 updates. In 12 and 13 they enhance OSPF by using QoS. In 5 it is shown that OSPF is better than RIP in throughput, packet delay, packet loss and other aspects. 3.ROUTING INFORMATION PROTOCOL (RIP) RIP is an interior routing protocol that is based on DV routing. RIP uses hop count to calculate the b
15、est route. It is simple but has many drawbacks. RIP uses hop count as a cost metric for each link, and each link has a cost of 1. The maximum path cost is 15 so RIP is limited to use in ASs that are not larger than 15 hops. Every 30 seconds the router sends copy of the routing table to its neighbors
16、. The routing table is updated whenever the network topology is changed; each router informs its adjacent neighbors about the updating in the routing table. When the router receives an update, first it compares the new route with the current routing table, then adds a new path to the routing table a
17、nd informs its adjacent neighbors about the updating in the routing table 59.The following table summarizes the advantages and disadvantages of RIP 8 9: Table 1: Advantages and Disadvantages of RIP In 14 RIP is enhanced by using Fast Selfhealing Distance Vector Protocol (FS-DVP), FS-DVP suppresses i
18、ts failure notification to provide better stability and reduce the overhead of message updates. In FS-DVP, each node generates a backup node set, for each destination, pre-computes the backup next hop and stores them. If the link has failed, the packet selects the next hop from the backup set. FS-DV
19、P thus eliminates the delay due to re-computation and reroutes packets without any interruption in the presence of link failures. To save bandwidth resources and balance the load in the network, FS-DVP uses a suppression-failure technique to handle link failure, so when a link fails, an adjacent nod
20、e suppresses the update message and sets a timer for a suppression interval, but other nodes are not explicitly notified of the failure. When router R1 detects that router R2 is unreachable, R1 starts a timer, the timer must be less than 60 seconds, if R1 receives a route from R2 before the timer ex
21、pires, the link recovers so that the suppression is successful and no notification is propagated for this failure, otherwise a failure is propagated at the end of suppression interval and new routing tables are computed. FS-DVP is applied on RIP and called FS-RIP. In FS-RIP 99.8756% of packets reach
22、 their destination successfully while in OSPF, 50% of packets reach their destination successfully. FS-RIP has fewer packets dropped than OSPF. 4. OPEN SHORTEST PATH FIRST (OSPF) OSPF is an interior routing protocol that is based on link state routing. OSPF is faster than RIP but is complex. RIP kee
23、ps track of the closest router for each destination, while OSPF keeps track of the complete topology of all connections in the local network 5. In OSPF each node broadcasts the link-cost information about its adjacent links to all other nodes in the network. Each node has a complete view of the netw
24、ork using link-cost information from other nodes. It applies Dijkstras shortest path algorithm to get the shortest route to all nodes in the network. A node broadcasts link-cost information whenever the links state is changed. Every 30 seconds it also broadcasts link-cost information. 1 The followin
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 动态 路由 协议 性能 比较 RIP OSPF 外文 翻译
限制150内