31.2.0.0.2 MultiPath Routing

Each node can be individually configured to use multiple separate paths to a particular destination. The instance variable multiPath_ determines whether or not that node will use multiple paths to any destination. Each node initialises its instance variable from a class variable of the same name. If multiple candidate routes to a destination are available, all of which are learned through the same protocol, then that node can use all of the different routes to the destination simultaneously. A typical configuration is as shown below:
        Node set multiPath_ 1 # All new nodes in the simulation use multiPaths where applicable;
{\rm or alternately}
        set n1 [$ns Node] # only enable $n1 to use multiPaths where applicable;
        $n1 set multiPath_ 1
Currently, only DV routing can generate multipath routes.



Tom Henderson 2014-12-17