[ns] Unequal Cost Multipath Routing

Nick K nick51502 at yahoo.com
Thu Mar 12 12:02:22 PDT 2009


Hello,

I have seen several other posts regarding this but never saw an answer.  I know the DV routing protocol uses equal cost multipath routing in a round robin fashion.  I would like it to be able to use "unequal" cost multipath routing in a weighted round robin fashion (i.e. eventually I'd like to assign a percentage of usage to each path).  I have narrowed the code to be modified down to ~/tcl/rtglib/route-proto.tcl.  I have put tons of debug in the rtObject compute-routes code and can actually see where paths with higher costs actually get removed (delete-routes) but don't know how or why.  Has anyone ever modified this compute-routes function to be able to utilize paths that have different costs?

Thanks,
Nick


      


More information about the Ns-users mailing list