30.3.0.0.1 Static Routing

The static route computation strategy is the default route computation mechanism in ns. This strategy uses the Dijkstra's all-pairs SPF algorithm ../ns-2/route.ccRouteLogic::compute_routes. The route computation algorithm is run exactly once prior to the start of the simulation. The routes are computed using an adjacency matrix and link costs of all the links in the topology.

(Note that static routing is static in the sense that it is computed once when the simulation starts, as opposed to session and DV routing that allow routes to change mid-simulation. An alternative to static routing is Manual routing where routes are not computed but instead are set (manually) by the user.)



Tom Henderson 2011-11-05