Bugzilla – Full Text Bug Listing |
Summary: | wrong routing table (multipath) | ||
---|---|---|---|
Product: | ns-3 | Reporter: | posco.tso |
Component: | global-routing | Assignee: | Tom Henderson <tomh> |
Status: | NEW --- | ||
Severity: | major | CC: | ns-bugs |
Priority: | P5 | Keywords: | bug |
Version: | ns-3.12 | ||
Hardware: | Mac Intel | ||
OS: | Mac OS | ||
Attachments: | source code reproduces the bug |
Description
posco.tso
2012-01-31 06:05:18 UTC
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/0 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). (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/0 > > 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! Created attachment 1323 [details]
source code reproduces the bug
(In reply to comment #3) > Created attachment 1323 [details] > source code reproduces the bug Thank you, I will have a closer look. |