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

Re: [ns] multipath in DV routing



On Fri, 20 Apr 2001, yan feng wrote:

> Do anybody know how to implement "multipath"? ns-manual says unicast DV 
> routing can generate multipath routes. And it supposes to work like "if 
> multiple candidate routes to a destination are available, all of which are 
> learned through the the same protocol, then that node can use all of the 
> different routes to the destination simultaneously". But in 
> ./tcl/rtglib/route-proto.tcl file it seems just setting multiPath_ to 1 and 
> doesn't do anything else.

What version of ns are you using? DV routing was broken in
ns2.1b6, but got fixed shortly afterwards (see ns changes page). I
used it with multipath successfully for the simulations you'll see in:

Lloyd Wood, George Pavlou, Barry Evans, Effects on TCP of routing
strategies in satellite constellations, refereed journal paper,
Special issue on Satellite-Based Internet Technology and Services,
IEEE Communications Magazine, vol. 39, no. 3, pp. 172-181, March 2001.


set ns [new Simulator]
$ns rtproto DV
Node set multiPath_ 1

is sufficient to enable it on all nodes that are subsequently created.

L.

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