Research breakthrough possible @S-Logix

Office Address

  • 2nd Floor, #7a, High School Road, Secretariat Colony Ambattur, Chennai-600053 (Landmark: SRM School) Tamil Nadu, India
  • +91- 81240 01111

Social List

How to predict link failure in the AODV routing protocol using NS2?


Each node along an active source route scans the received hello packet signals from its nexthop hop node. When a node found that the Received Signal Strength (RSS) value of the received packet from its nexthop goes below the threshold and is still decreasing after two successive measurements, the node will realize that the link between it and its nexthop will have a link breakage soon. Then it will update its route table by marking the current nexthop as link breaking node.

Sample Code

p = source node
q = nexthop node
Threshold = 200;
if ((threshold < current_distance[p][q]) && (w_flag[p][q]==2)) {
else if (threshold < current_distance[p][q] ) {
else {


Before Link failure case


3 – 12 – 7 – 0 – 5

Link failure case

After Link Failure

Link Predication based Path Selection

Source node send data to new path

3 – 12 – 2 – 1 – 9 – 5


predict link failure in the AODV routing protocol
Link Predication based Path Selection
Before Link failure case