[ns] Not receiving data packets at agent.
Francisco J. Ros
fjrm at dif.um.es
Fri Apr 25 09:59:14 PDT 2008
Hi Maddy,
On Wednesday 23 April 2008 03:55:47 Madhava N wrote:
> Hi all,
> I have written a new MANET routing protocol by reading the document of
> Franscisco and Pedro. I am facing a problem that data packets are not at
> all received by the routing Agent.
>
The routing protocol does not receive the packet when the attached node is its
destination. Quick&dirty workaround: put the node in promiscuous mode in
order to process every packet which arrives at the interface (see Tap).
> That is at recv() function it is only receiving the HELLO (defined by me)
> packets. But the recv function is same as OLSR or AODV or DSDV which
> receives data packets as well.
>
> Also, I noted that if-queue parameter which i have used is never set. What
> could be the problem that I am unable to get the data packets at all.
>
Because you are not invoking "if-queue" from TCL. See add-target in
tcl/lib/ns-mobilenode.tcl.
Regards,
fran
> Any help is greatly appreciated.
>
> Regards,
> Maddy
> .
More information about the Ns-users
mailing list