[ns] DSR routing configuration

Bryan Hogan bryan at csn.ul.ie
Wed Apr 27 09:17:44 PDT 2005


On Wed, 27 Apr 2005, kaz wrote:

>
>
> I don't know if it can help you, but you can force the source to make a new
> route discovery. You need a timer (there is already one in the dsragent.cc,
> just make the same) which will erase the routing table of the source. (the
> code for this is in the xmitFailed function)
>
> It's a bit brutal, and it doesn't garanty that the new path will be
> different...

To do this you can alter the search route mechanism to ignore routes
containing certain nodes, thus forcing the new path to differ from the
inital one.

Bryan

> cheers
>
> kaz
>
> PS : instead of the timer, much better, implement a function in the "command"
> function, so that you can call it from your tcl script.
>
> raffi sakabedoyan wrote:
> > Hi,
> > Does anyone know how to change DSR route configuration during
> > simulation. Im trying to change the path between two nodes (multipath)
> > during simulation, but the DSR configuration for the routes is done
> > once in the beginning.
> > Can anyone help me?
> > Thank you
> >
>



More information about the Ns-users mailing list