999精品在线视频,手机成人午夜在线视频,久久不卡国产精品无码,中日无码在线观看,成人av手机在线观看,日韩精品亚洲一区中文字幕,亚洲av无码人妻,四虎国产在线观看 ?

RIP and OSPF Routing Protocols

2009-10-22 08:13:20
商情 2009年21期

王 暉

Abstract:Routing Information Protocol (RIP) and Open Shortest Path First (OSPF) routing protocols are most widely used IGP. The purpose of this paper is to illustrate something as follows:1. Description of RIP,Description of OSPF. 2. Comparison between RIP (DV) and OSPF (LS) routing protocols.3. How reconvergence times can be improved. 4.Explanations of the consequences of least-cost routing in a single-service inter-network.5. How source-routing mechanisms can be used to improve overall network efficiency.

Key words:RIP OSPF reconvergence timesnetwork efficiency

1 Introduction

This paper completes the overview of internet routing by examining how a router in an autonomous system learns about other networks within its autonomous systems and how to improve the overall network efficiency.

2 Description of RIP

2.1 Overview of RIP

RIP(Routing Information Protocols)is one of the most common Distance-Vector Algorithm protocols. RIP is one of the most widely used IGP (Interior Gateway Protocol) and AS (Autonomous System) uses it for information propagation. Distances from destination address to router are measured in RIP through hop counting and this information are contained in update messages.

2.2 Operation of RIP

2.2.1 Initialization

Initialization process is aimed at knowing neighbour network addresses. In the process of initialization, a RIP router broadcasts the General RIP Request messages in its AS. The General RIP Request messages reach the neighbouring RIP routers and a reply to response the requesting router is sent back. Routers use received information and Distance-Vector Algorithm to make up its own routing table.

2.2.2 Update

a. General Update Process

The RIP router is also always ready to listen for neighbouring routers' RIP announcements in order to add or update the routes to its own routing table. A routing update message is broadcasted by a RIP router every 30 seconds, called periodic timer. This kind of request broadcast gets RIP information on each neighbouring interface. received RIP information is compared by Router with the content in its original routing table.

If there are new entries, router will add it into its routing table.

If there is a shorter distance route, router will update existing one.

If equal-distance, router remains what it is.

The algorithm for RIP updating is as following:

Receive: a response RIP message

(1)Add one hop to the hop count for each advertised destintion.

(2)Repeat the following steps for each advertised destination:

If (destination not in the routing table)

Add the advertised information to the table.

Else if (next-hop field is the same)

Remain the routing table.

Else If (advertised hop count smaller than one in the table)

Replace entry in the routing table

(3)Return.

b. Failure Update Process

Something unexpected may lead to failure when getting router information, such as failure in router's interfaces or failure within router caused by power outage or other hardware or software factors.Once this situation emerges, other routers can not be acknowledged immediately. So expiration timer and garbage collection timer are built in RIP update process to deal with this kind of situation.

An expiration timer is aim at controlling the validation of a route. Once a router receives a routing update message, the expiration timer is set to 180 seconds. If there is no routing update message available for 180 seconds, the hop count of that route is set to 16, indicating that destination is unreachable.

Garbage collection timer is for judging whether to delete route information from its routing table. When the route has been set to invalid, it does not disappear immediately. It will broadcast a 16 hop count and set garbage collection timer 120 seconds. When garbage collection timer reaches 0 seconds, the router will delete the corresponding routing information from its table and acknowledge its neighbouring routers.

From above, we know that a failure within the network will be renewal and acknowledge other routers throughout the network after 300 seconds.

3 Description of OSPF

3.1 Overview of OSPF

OSPF (Open Shortest Path First) is a typical Link-state routing protocol for Internet Protocol networks. There are two primary characteristics of OSPF. One is that the specification of protocol is in the public domain and the other is that OSPF is based on SPF algorithm, which is known as the Dijkstra algorithm. Dijkstra's algorithm is used by OSPF to measure the minimum cost in order to determine route.

3.2 Operation of OSPF

3.2.1 Building Adjacency and LSDB of routers

In order to exchanging routing information, Adjacency is a relationship made among neighbouring routers. Hello message is broadcasted by OSPF router and valid LSA from other routers in the AS is sent back in order to create the LSDB.An LSA which contains its own configuration is sent by each router initially. And LSAs are exchanged with its neighbour routers. Through this kind of exchange, flooding of LSAs in the AS, OSPF operates efficiently in the process of LSA information's propagation.

3.2.2 Selection of DR (designated router)/BDR

In multi-access network, a router should be selected as the DR with priority of high value. And the second high priority value router should be selected as BDR.

3.2.3 Foundation of Link State Database

Routers broadcast and receive Hello messages among routers in the AS initially . If one of the routers find that a updated message is available, router will send a request for LSAs (process called Link State Request). And when request message reaches the router , it sends what it needs (process called Link State Update). By this method, router sets up its own Link State Database and applys Dijkstra's algorithm to find a lowest-cost route and then renews its routing table.

In Multi-access network, DR/BDR controls information exchange with other networks and inside the network.

3.2.4 Proper routes selection

When a whole link state database is available to a router, the router will use SPF algorithm to compute and build a routing table based on least-cost principle.

Some alternative links can also be available within the system.

3.2.5 Maintaining routing information

If there are some link states changed, OSPF will inform other routers in AS in the method of flooding. OSPF router receives updated messages then updates its own Link State Database and computes new routing table. The OSPF propagates the updated LSA to other routers.OSPF routing information will automatically update every 30 minutes without changing.

4 Comparison between RIP (DV) and OSPF (LS) routing protocols

RIP is a traditional routing protocol, works well in relatively small network. The rapid development of Internet in current runs out to RIP ability, OSPF improves many aspects which is short for RIP protocol, but it still has some weaknesses.

4.1 Metric

RIP belongs to Distance Vector routing protocol, "hop" is used as its measurement metric. No delay is considered in RIP and routing depends only on the hop number. The router with few hops is selected as the path which can has a long delay and at the same time there is a route with short delay and many hops. RIP can not carry out routing summary at arbitrary bit because of lack of regional information. OSPF is a link state routing protocol and bandwidth and delay are its measurement for routing metric.

4.2 Scale

RIP has a maximum 15 hops. So a RIP routing cannot across the network which is more than 15 hops away.OSPF doesn't has such limitation. OSPF also supports the TOS (Type of Service) routing. Therefore, OSPF has advantages for large-scale network application.

4.3 Support

RIP does not support variable-length subnet mask (VLSM), which makes it less supportive to the current trend of IP addresses shortage and the flexibility of variable-length subnet mask. OSPF supports VLSM.

4.4 Broadcast

RIP broadcasts the routing table regularly, which is a huge waste of bandwidth, especially for large-wide-area network. OSPF routing protocol broadcasts routing updates only when some information is updated by the method of IP multicast to send the information of link state update ,which saves bandwidth.

4.5 Hierarchy

RIP network belongs to flat network.OSPF establishes the hierarchy within the network, so that information can be transmitted within a certain range, which makes full use of link resources.

4.6 Security

RIP doesn't take no any safe measure. OSPF uses licensing mechanism for network security in the process of transmitting information. OSPF supports authentication based on the interface.

4.7 Convergence

RIP has low convergence.OSPF has fast convergence,can transfer routing changes to the whole autonomous system as quickly as possible.As is divided into different regions based on regional concept, and the amount of information is greatly reduced. OSPF applys trigger update mechanism, and RIP uses periodically updates. So OSPF converges much faster than RIP.

Comparison between the two protocols shows that OSPF is more suitable to adapt to the increase Internet network nowadays and becomes the main Internet routing protocol based on the nature routing protocol.

5 How reconvergence times can be improved

When concerning with IGP, low reconvergence time is a critical problem. There are some methods to improve the reconvergence times: Split Horizon; Split Horizon with Poison Reverse; Triggered Updates; Hold Down.

5.1 Split Horizon

Split Horizon is considered as the most basic method to lower convergence time. It lets router remember every route message's source and does not transmit it at the interface where this message is received. Split Horizon prevents the propagation of "fake" messages and brings down the amount of route updates message resulting in bandwidth of network saving.

5.2 Split Horizon with Poison Reverse

Poison reverse brings down count-to-infinity and routing loops greatly in a multi-path inter-network in way of still advertising broadcast with a maximum 16 hop count, designing that the network is out of reach.

Though Split Horizon with Poison Reverse increases the size of route message, yet reduces routing loops,comparing with Split Horizon.

5.3 Triggered Updates

Triggered updates suppot a router to advertise changed message to neighboured router immediately, other than wait update period of 30-second. Changed topology would be quickly known within the internet, bringing down the possibility of Count-to-Infinity problem. Triggered updates lower the convergence time by adding more broadcast traffic as the propagation of triggered updates.

5.4 Hold Down

Hold down timer doesn't accept any route updates information of the same address within the assigned time intervals. It brings down fluctuate of route and improves network stability.

6 Explanations of consequences of least-cost routing in a single-service inter-network

Every router will choose a least-cost path as its best metric from a lot of paths to destination. Router update routing information of best metric in its routing table.In a single-service inter-network,few least-cost routes are available. Every router chooses least-cost route and computes its table with the best metric resulting that many router forwards information packets by the same least-cost path. This path is full of traffic and congestion happens which leads to packets' queue and long waiting time.

7 Conclusions

Source-routing mechanisms used to improve overall network efficiency. Source-routing mechanism is a kind of technology whereby the packet's sender can determine the route to propagate its packet through the network. In source-routing, the source, namely sender, detemines which route the packet propagates with,source-routing is used by manager to compel an alternate route in addition to least-cost path so as to prevent congestion (e.g. consequences of least-cost routing in single-service in inter-network). Source-routing mechanism brings about some advantages, such as used for load balancing, for increased robustness, for rapid recovery in case of routes changing. The overall network efficiency is improved through these advantages.

Bibliography

[1]Douglas E. Comer. Internetworking with TCP/IP, Principles, protocols, and architecture"(fifth edition).

[2]http://en.wikipedia.org/wiki/OSPF.

主站蜘蛛池模板: 久久综合丝袜长腿丝袜| 狠狠色综合久久狠狠色综合| 国产精品无码制服丝袜| 最近最新中文字幕在线第一页| 夜夜爽免费视频| 国产毛片高清一级国语| 中文国产成人精品久久| 91青青草视频在线观看的| 视频国产精品丝袜第一页| 国产精品第一区在线观看| 亚洲男人的天堂网| 精品成人一区二区三区电影 | 久久久久九九精品影院| 国产成人AV大片大片在线播放 | 国产精品无码在线看| 91探花在线观看国产最新| 女同国产精品一区二区| 制服丝袜亚洲| 亚洲第一成人在线| 国产免费久久精品99re丫丫一| 亚洲天堂区| 青草视频在线观看国产| 国产制服丝袜91在线| 免费在线一区| 久久天天躁狠狠躁夜夜2020一| 日日拍夜夜嗷嗷叫国产| 秋霞午夜国产精品成人片| 国产精品伦视频观看免费| 大香伊人久久| 免费国产不卡午夜福在线观看| 草草影院国产第一页| 香蕉伊思人视频| 国产欧美精品专区一区二区| 午夜限制老子影院888| 91在线一9|永久视频在线| 在线观看亚洲国产| 国产精品亚洲一区二区三区在线观看| 亚洲国产欧美目韩成人综合| 波多野结衣无码AV在线| 97人人模人人爽人人喊小说| 欧美精品伊人久久| 亚洲欧美自拍视频| 成人a免费α片在线视频网站| 极品国产一区二区三区| 国产女人水多毛片18| 无码中文字幕乱码免费2| 国产精品久久久久久搜索| 免费人成在线观看视频色| 九九九久久国产精品| 久久精品人人做人人| 玖玖精品视频在线观看| 国产精品网址在线观看你懂的| 国产精品女主播| 国产精品男人的天堂| 国产精品 欧美激情 在线播放| 91视频青青草| 日韩欧美中文字幕一本| 亚洲精品无码专区在线观看| 色天堂无毒不卡| 国产精品亚洲欧美日韩久久| 亚洲成肉网| 99热这里只有精品在线观看| 欧美日在线观看| 国产成人久久综合777777麻豆| 日韩免费毛片视频| 幺女国产一级毛片| 999福利激情视频| 亚洲无码A视频在线| 国产精品开放后亚洲| 天堂av高清一区二区三区| 91蜜芽尤物福利在线观看| 国产精品自在自线免费观看| 视频一区亚洲| 露脸国产精品自产在线播| 久久婷婷综合色一区二区| 久久亚洲中文字幕精品一区| 欧美日本激情| 欧美www在线观看| 思思99热精品在线| 国产va免费精品| 欧美精品亚洲二区| av午夜福利一片免费看|