#5, First Floor, 4th Street , Dr. Subbarayan Nagar Kodambakkam, Chennai-600 024 pro@slogix.in

Office Address

  • #5, First Floor, 4th Street Dr. Subbarayan Nagar Kodambakkam, Chennai-600 024 Landmark : Samiyar Madam
  • pro@slogix.in
  • +91- 81240 01111

Social List

How to apply geographic location based routing protocol in MANET using ns2?

Description

Currently geographic / location based routing protocols are more frequently used than topology based routing protocol in highly dynamic mobile ad hoc network. Greedy Perimeter Stateless Routing algorithm (GPSR) is the most commonly used location based routing protocol.

Sample Code
  • Neighbors of the source are identified

  • Distance from each neighbor to destination is calculated

  • Neighbor having least distance is selected as nexthop

  • Data transmission is carried out using selected nexthop

  • Nexthop follows from step 1-4 and this process continues till destination is reached


Screenshots

Data flow