30. Unicast Routing

This section describes the structure of unicast routing in ns. We begin by describing the interface to the userSectionsec:API, through methods in the Simulator../ns-2/ns-lib.tcl and the RouteLogic../ns-2/ns-lib.tcl. We then describe configuration mechanisms for specialized routingSectionsec:uni:specroute such as asymmetric routing, or equal cost multipath routing The next section describes the the configuration mechanisms for individual routing strategies and protocolsSectionsec:uni:protconfig. We conclude with a comprehensive look at the internal architectureSectionsec:rtg-internals of routing in ns.

The procedures and functions described in this chapter can be found in ~ns/tcl/lib/ns-route.tcl, ~ns/tcl/rtglib/route-proto.tcl, ~ns/tcl/mcast/McastProto.tcl, and ~ns/rtProtoDV.{cc, h}.


Tom Henderson 2011-11-05