What is Routing and different types of Routing algorithm ?

                          Routing algorithm








Routing algorithm

Routing Algorithm is a mathematical procedure that a dynamic router uses to calculate entries for its routing table.


Classification of a Routing algorithm

The Routing algorithm is divided into two categories:
  • Adaptive Routing algorithm
  • Non-adaptive Routing algorithm
Routing algorithm

Adaptive Routing algorithm

  • An adaptive routing algorithm is also known as dynamic routing algorithm.
  • This algorithm makes the routing decisions based on the topology and network traffic.
  • The main parameters related to this algorithm are hop count, distance and estimated transit time.
An adaptive routing algorithm can be classified into three parts:
  • Centralized algorithm: It is also known as global routing algorithm as it computes the least-cost path between source and destination by using complete and global knowledge about the network. This algorithm takes the connectivity between the nodes and link cost as input, and this information is obtained before actually performing any calculation. Link state algorithm is referred to as a centralized algorithm since it is aware of the cost of each link in the network.
  • Isolation algorithm: It is an algorithm that obtains the routing information by using local information rather than gathering information from other nodes.
  • Distributed algorithm: It is also known as decentralized algorithm as it computes the least-cost path between source and destination in an iterative and distributed manner. In the decentralized algorithm, no node has the knowledge about the cost of all the network links. In the beginning, a node contains the information only about its own directly attached links and through an iterative process of calculation computes the least-cost path to the destination. A Distance vector algorithm is a decentralized algorithm as it never knows the complete path from source to the destination, instead it knows the direction through which the packet is to be forwarded along with the least cost path.

Non-Adaptive Routing algorithm

  • Non Adaptive routing algorithm is also known as a static routing algorithm.
  • When booting up the network, the routing information stores to the routers.
  • Non Adaptive routing algorithms do not take the routing decision based on the network topology or network traffic.
The Non-Adaptive Routing algorithm is of two types:


Flooding: In case of flooding, every incoming packet is sent to all the outgoing links except the one from it has been reached. The disadvantage of flooding is that node may contain several copies of a particular packet.


Random walks: In case of random walks, a packet sent by the node to one of its neighbors randomly. An advantage of using random walks is that it uses the alternative routes very efficiently.



















Differences b/w Adaptive and Non-Adaptive Routing Algorithm

Basis Of ComparisonAdaptive Routing algorithmNon-Adaptive Routing algorithm
DefineAdaptive Routing algorithm is an algorithm that constructs the routing table based on the network conditions.The Non-Adaptive Routing algorithm is an algorithm that constructs the static table to determine which node to send the packet.
UsageAdaptive routing algorithm is used by dynamic routing.The Non-Adaptive Routing algorithm is used by static routing.
Routing decisionRouting decisions are made based on topology and network traffic.Routing decisions are the static tables.
CategorizationThe types of adaptive routing algorithm, are Centralized, isolation and distributed algorithm.The types of Non Adaptive routing algorithm are flooding and random walks.
ComplexityAdaptive Routing algorithms are more complex.Non-Adaptive Routing algorithms are simple.



















Recommended posts:-
                      
                             IP packet delivery

                            Application of wireless communication

                            Bluetooth Technology

                            Cyber law or IT law

                            MAC issues

                            Data Broadcasting

                            Wireless LAN

                            TCP over wireless

                             IEEE 802.11

                            Handoff or Handover

                         


  


Previous
Next Post »

If you have any doubts. Please let me know ConversionConversion EmoticonEmoticon