Hi,
I had to do set the preference for direct routing with following line to get Multipath working.
Agent/rtProto/Direct set preference_ 200
One more thing, Multipath routing only works when all the paths have same cost. If that is not the case, only route (s) with the lower cost will be used.
If this is not the case and I'm missing something, please let me know.
Thanks,
Shekhar
-----Original Message-----
From: Lloyd Wood [mailto:[email protected]]
Sent: Friday, April 20, 2001 8:53 AM
To: yan feng
Cc: [email protected]
Subject: 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/>