- Home Page of ProjectGuideline.com ›
- Forums ›
- Questions Asked by Students and Scholars ›
- Implementation of flooding and other related protocols on ns-2
Dear Sir,
This is my first time here, I’m hoping to get answers to my questions.
I’m using ns2 for simulating some scenarios in MANET.
I’m trying to change the broadcasting protocols in the ns2 from flooding to other areas like probabilistic based broadcasting and distance based broadcasting protocols.
My problem is that I don’t know where to change the broadcasting…
Do i have to write it in the tcl code or do i have to change the routing protocol (ex. AODV )
Please tell me if you want me to explain more to you.
Dear Scholar,
It depends upon the exact research problem that you are working on.
The reason is:
Flooding can be implemented on application layer or network Layer or any other layer depending upon the need.
For example, there is a flooding based route discovery mechanism already implemented in AODV. It is often proved that the use of flooding in routing protocols creates a lot of overhead in a high-density MANET. So, if your research is about reducing such overhead in a network routing protocol by improving flooding or replacing flooding at routing layer, then you may implement your ideas on network layer. For that you may simply try to reduce the overhead of flooding at routing layer by designing an intelligent, controlled flooding algorithm or entirely replace flooding based route discovery with any other similar and efficient algorithm – In this case, you have to implement it as a C++ code by modifying aodv.cc and aodv.h (and may be few more files)
On the other hand, if you are just doing a research only on a different family of message flooding like algorithm, then you can implement it as a stand-alone algorithm in application layer itself – In this case, you may implement it in the main simulation tcl code itself or as a separate C++ level application agent( .cc and .h files).