[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: DSDV in ns-2.1b5
On Thu, 8 Jul 1999, Satish Kumar wrote:
>
> You might want to check if the AgentTrace, RouterTrace or MacTrace Tcl
> variables are set to ON in the wireless.tcl example file.
Thanks, Satish
But, I had set to ON for all Traces in the wireless.tcl file.
Therefore, I don't think that is the reason for my problem.
One thing I suspect is that a routing table would have wrong information.
I tried to make a printout elements of a routing table and
I found that some garbage values were stored in the routing table.
For example, a next hop field (rte.hop) is set by 255.
Have you looked at the 'dsdv.cc' file?
In the 'makeUpdate()' function on that file, there is a statement:
:
rte.dst = myaddr_;
rte.hop = iph->src_; <--- Is this correct ??
rte.metric = 0; (It is 255 initially and seems to be
: increased by 256 - (into 511, 767...)
- Youngbae
> > Hello.
> >
> > I need some help from whoever have tested on dsdv routing
> > implementation (CMU's extensions) in the current version of ns-2.
> >
> > I have tried to execute ns-2 for cbr traffics with a DSDV
> > routing agent ( tcl/mobility/dsdv.tcl and dsdv/dsdv.cc files ).
> > I have used my own scenario and connection files.
> > I really suspect that this DSDV version works properly.
> >
> > 1) Nothing is in a output trace file (out.tr), except for movement
> > of nodes (M). Looks no data packets go through the network.
> >
> > 2) some bugs at functions to handle routing table update ??
> >
> > It is surprising if the DSDV does not work because CMU folks
> > reported a simulation result using DSDV routing agent in their paper.
> > Anyone who have experienced similar problems with dsdv,
> > please answer for me.
> >
> > regards,
> > - Youngbae
> >
> > /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
> > Young-Bae Ko {[email protected]}
> >
> > http://www.cs.tamu.edu/people/youngbae
> > Dept. of Computer Science [Tel] 409-845-5007
> > Texas A&M University [Fax] 409-847-8578
> > /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
> >
>
>
>
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
Young-Bae Ko {[email protected]}
http://www.cs.tamu.edu/people/youngbae
Dept. of Computer Science [Tel] 409-845-5007
Texas A&M University [Fax] 409-847-8578
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */