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

Re: [ns] static routing question



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

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 ?


>

Tarik