[Ns-bugs] [Bug 1353] wrong routing table (multipath)

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Wed Feb 1 03:10:33 PST 2012


https://www.nsnam.org/bugzilla/show_bug.cgi?id=1353

--- Comment #2 from posco.tso at gmail.com 2012-02-01 06:10:33 EST ---
(In reply to comment #1)
> By default, this is the expected behavior.  If there is equal cost multipath to
> a destination, only one path is used.
> 
> Someone added support for equal-cost multipath a while back (where packets are
> distributed randomly across the multipaths), but no tests/examples were
> provided.  You will see a long-open bug on this:
> https://www.nsnam.org/bugzilla/show_bug.cgi?id=667
> 
> Can you try adding this statement to your program and see if it works?
> 
> Config::SetDefault ("ns3::Ipv4GlobalRouting::RandomEcmpRouting", BooleanValue
> (true));
> 
> If so, would you consider to attach your program to this bug report and we
> could add it as an example program? 
> 
> If it doesn't work, we can work on fixing it (similarly, a contributed test
> case program would help).

Yes, I had included the following statement when I tested the captioned
topology.

Config::SetDefault("ns3::Ipv4GlobalRouting::RandomEcmpRouting",
BooleanValue(true));

Apparently with correct routing table n1 must have two equal-cost paths to n5
and n6, turns out n1 correctly installs two paths for n5 but has only one path
to n6. Source code attached!

-- 
Configure bugmail: https://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Ns-bugs mailing list