[ns] how to execure directed diffusion in ns-2?
neelira at auburn.edu
Fri Nov 24 23:30:08 PST 2006
Hello every one,
Iam planning to run a few experiments in ns-2.29 related to
wireless sensor networks. For this i implemented a new filter and a new
application(a sort of constant bit rate application) in ns-2. I have a
simple tcl script with the nodes laid out in a linear fashion.
0---1---2. with node 0 acting as a sink (this is where the sink of my
application is started) and node 2 acting as src (this is where the
source of my application is started). Iam pretty sure that my filter is
being initialized properly (verified it through debugging) and is
The problem is that the Interest packets that are generated in the file
dr.cc in response to setupSubscription() function of my sink application
(in turn calls subscribe() function in class DiffusionRouting) do not
reach my sender application (in fact they don't even make it to the
intermediatry node). there fore the source is not responding (as the
no.of subscriptions variable on the source is still 0 ) with data
I would greatly appreciate if any one can let me know what is happening
to my INTEREST packets.
For the sake of reference iam also sending you my tcl script.
I also ran the sample tcl script "simple-diffusion.tcl". Even this test
script doesn't seem to be working.
It would be even more helpful if some one could post a working tcl
script to the group.
Thanks a lot for your time,
More information about the Ns-users