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

Re: [ns] static routing question



On Wed, 8 Mar 2000, Tarik Alj wrote:

> run computes the routing table, so no route is defined before run is, well, run.

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.

> take a look at the intsproc :
> 
> Simulator instproc dump-routelogic-nh {}
> 
> in tcl/lib/ns-route.tcl
> > 
> > Two questions regarding static routing in case of grid
> > topologies :-
> > 
> > Is there a way to print the route from a source node
> > to a destination node , eg. 0 1 2 3 4
> > before using $ns run ?
> > If routing between 2 pairs of sources and destinations
> > uses a common path, is there a way to increase the
> > costs of links on the common path ?


<[email protected]>PGP<http://www.ee.surrey.ac.uk/Personal/L.Wood/>