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.

主站蜘蛛池模板: 97se亚洲综合在线韩国专区福利| 国产杨幂丝袜av在线播放| 国产99热| 国产激情国语对白普通话| 久久精品无码一区二区国产区| 亚洲精品动漫在线观看| 91www在线观看| 一本综合久久| 国产十八禁在线观看免费| 日本成人在线不卡视频| 人妻免费无码不卡视频| 97久久超碰极品视觉盛宴| 中文无码精品a∨在线观看| 亚洲欧美日韩久久精品| 美美女高清毛片视频免费观看| 成人免费午间影院在线观看| 欧美日韩在线成人| 女人18毛片久久| 亚洲 欧美 偷自乱 图片| 亚洲有码在线播放| 丁香五月婷婷激情基地| 一本二本三本不卡无码| 欧美日韩成人在线观看| 色婷婷成人网| 综合色在线| 欧美在线精品怡红院| 91成人在线免费观看| 久久国产精品77777| 国产精品无码AV中文| 2019年国产精品自拍不卡| 亚洲天堂自拍| 国产成人精品免费av| 国产精品嫩草影院av| 狠狠色综合网| 天堂岛国av无码免费无禁网站| 国产新AV天堂| 国产精品视频第一专区| 久视频免费精品6| 久久久久国产精品熟女影院| 黄色国产在线| 毛片卡一卡二| 亚洲IV视频免费在线光看| 亚洲成人播放| 久久semm亚洲国产| 国产午夜精品一区二区三| 久草热视频在线| 中文精品久久久久国产网址| 亚洲欧美人成人让影院| 国产呦精品一区二区三区网站| 久久成人国产精品免费软件| 四虎永久免费地址在线网站| 免费观看亚洲人成网站| 亚洲欧美成aⅴ人在线观看| 国产又黄又硬又粗| 国产精品女熟高潮视频| 国产69精品久久| 日韩免费中文字幕| 日韩精品成人网页视频在线| 亚洲一区精品视频在线| 久青草免费视频| 无码'专区第一页| 日本中文字幕久久网站| 91精品啪在线观看国产91九色| 国产成人永久免费视频| 国产精品制服| 91麻豆国产在线| 狠狠色丁婷婷综合久久| 欲色天天综合网| 日本少妇又色又爽又高潮| 亚洲欧美日韩成人在线| a毛片基地免费大全| 毛片在线看网站| 成年人久久黄色网站| 欧美午夜理伦三级在线观看| 伊人久久久久久久| 青草精品视频| 欧洲亚洲一区| 精品国产一区二区三区在线观看| 久久婷婷人人澡人人爱91| 亚洲成a人片77777在线播放| 国产成人一区免费观看| 国产精品黑色丝袜的老师|