Proactive or Reactive Routing



Proactive and Reactive are ways to classify a routing mechanism in terms of when an algorithm announces the routing route selection information. The routing mechanism mayanticipate having this information or select a route on-demand due to the high dynamicity and unpredictability of a network environment.
The proactive routing announces periodically network information generating a predictability amount of messages. In a worst case, the time to select the correct path ts = tperiod(period used to update paths). For example, formula (8) presents a possible generic function that may be adopted to calculate the number of messages generated by each node k when using proactive algorithms, where T is a set of announcement periods t independently of node or network faults. Hence, if there is large interval between path announcements, the number of messages will be small, nonetheless leading to a routing scenario practically lacking reactivity to possible network failures. Examples of pro-active routing include: DSDV (Destination-Sequenced Distance Vector) and WRP (Wireless Routing Protocol).

On the other hand, the algorithms classified as reactive do not issue their route announcement messages following any periodicity. They rely on observed failures or user demand to update routes. Consequently the number of messages announced could be much lower than that of proactive algorithms. Given that they do not need to wait a whole period to update their routing information, they may have offer better performance in unpredicted environment. They may also however suffer from low select the correct path may be given as the sum of ts = tfault (time needed to identify a failure)+trequest(to search for a correct path) + tresponse (someone response the node with the correct path). For example, formula (9) presents a possible generic function to calculate the number of messages generated by each node k using a reactive algorithm, where F is a set of independent failures. So, one cannot know the number of message without knowing the number of failures. When some fault occurs, node k is notified, next it announces a request to find the route and others nodes announce or send back their responses. Examples that fall into this routing category are AODV (Ad-Hoc On-Demand Distance Vector), DSR (Dynamic Source Routing) and LMR (Lightweight Mobile Routing).

Distance Vector or Link-State Routing



Many routing strategies rely on mechanisms for sharing and announcing their routes among routing nodes. Traditional routing algorithms may be classified as Distance Vector and Link State under this angle.
Distance Vector algorithms are characterized by the fact that each network node announces the content of its routing table, known as a vector in this context, to "only" its neighbors. Although such limited scope announcement saves networking resources, it is also the root for some known route convergence latency related problems suffered by large networks. Each vector entry contains local information on some node k and how this may be reached in terms of number of hops and delay for example. Each neighbor for node k receives its advertisement (routing vector or information from node k) to build a routing database with size m.metric′, where m is the number of routers known by node k and metricis a number of metrics announced about each node. So, the traffic size generated by each node is given by formula (6) in order for a network node to get to know the network's topology. Once, a node acquires this knowledge through these advertisements, each node locally calculates the importance of each other node in the network according to its own vector and those received vector from the neighbors. Hence there is a combination of both local and external information to perform shortest paths selection. The result of such regular calculus updates the routing table based on algorithms such as Bellman-Ford and Ford-Fulkerson.
Given that the advertisement is relayed from neighbor to neighbor until all network nodes acquire network topology and path information, the protocols classified as Distance Vector suffer from slow convergence. The following protocols are example of Distance Vector: the Routing Internet Protocol (RIP) executed in intra-domain, Border Gateway Protocol (BGP) executed in inter-domain, DVMRP (Distance Vector Multicast Routing Protocol) for multicast applications, AODV (Ad-hoc On-demand Distance Vector) for mobile ad hoc networks (MANETs) and DSDV (Destination-Sequence Distance-Vector) also for MANETs.

link-state algorithms are different from distance vector ones in terms of the scope of their announcements. Unlike the former one where each node notifies the neighbors only about its vector, link-state routing floods such announcement to all the network nodes. Further, link-state updates are conveyed over small messages to all nodes. Each message contains the link-state of its neighbor's node such as occupied bandwidth, throughput, delay and so forth. A network node then builds a routing database with size m.n.metric where m is the number of neighbor nodes, n is the number of routers in the network and m etric the number of metrics announced for each node. As a result, the traffic size generated by each node is given by formula (7) in order for network node to build its database and get to know the current topology. With this knowledge at hand, each node locally then calculates the importance of each neighbor to forward messages over the shortest paths determined for each destination. This may be achieved usually using Dijkstra's algorithm, although there are others as described in. The most common and widespread link state protocols used are the OSPF (Open Shortest Path Frist) and IS-IS. Similarly, Multicast OSPF (MOSPF)  has been developed to lead with multicast transmission. Other link state protocols include SPF 

Related Posts Plugin for WordPress, Blogger...