[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] routelogic lookup before $ns run



LLoyd suggested you could use manual routing :

" unless you're using manual routing, presumably:
tcl/ex/many_tcp.{tcl,txt} and the corresponding test suite. 

link cost stuff is described in Ch. 23.

L. "

Now if you want you can compute the routing table yourself, "before run". Or you 
could modify the costs after run is launched, and have the routing table adjust 
itself. Just look at what run is doing. Then you can decide what is better for 
you.

 
> Is there a way that routelogic lookup can be used
> before the simulation is actually started using $ns
> run ?
> 
> I'm trying to lookup the path from a source to
> destination node from the routing table, so as to
> increase link costs along a route, so that other
> routes will take a min-cost path in static routing.
> 
> Any advice will be greatly appreciated !
> 
> Thanks,
> 
> Sarathy.

Tarik