[Ns-bugs] [Bug 406] GlobalRouteManager behaviour after Ipv4 interface SetDown and SetUp procedure
code@nsnam.ece.gatech.edu
code at nsnam.ece.gatech.edu
Wed Nov 12 11:06:05 PST 2008
http://www.nsnam.org/bugzilla/show_bug.cgi?id=406
--- Comment #9 from Egemen <egemen.cetinkaya at gmail.com> 2008-11-12 14:06:05 EDT ---
(In reply to comment #6)
> >
> > Attached is a patch that we used. I am not sure how sound this strategy is?
> >
> > However, this does not help with the case where there are multiple paths
> > between a source destination pair. When one of the paths becomes unavailable,
> > we are not able to make the simulator use the alternative path with the global
> > routing manager.
> >
>
> The reason the patch will not completely work is that it doesn't delete the
> existing routes. Try adding a loop that deletes everything first, before
> reinitializing things.
>
> for (uint32_t i = 0; i < ipv4->GetNRoutes(); i++)
> {
> ipv4->RemoveRoute (i)
> }
>
We have couple of questions:
1-I am not sure where to implement above code partly due to lack of complete
picture of GlobalRouting implementation.
2-Once the routes are removed, I guess we can rebuild the routes on all nodes
with BuildGlobalRoutingDatabase () and InitializeRoutes () methods. Is this
accurate?
--
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Ns-bugs
mailing list