[Babel-users] not routing

Juliusz Chroboczek Juliusz.Chroboczek at pps.jussieu.fr
Fri Nov 6 19:15:56 UTC 2009


> Except babeld on B is not inserting a default route to A until the
> adsl line on A goes away.  And it withdrawls it when the line comes
> back up.

Yep.

I'm stuck -- I don't see a solution to this case.  In fact, I believe
that a theoretically sound solution to your problem doesn't even exist.

Work-around: try this on your slow node:

diff -rN -u old-babeld/route.c new-babeld/route.c
--- old-babeld/route.c  2009-11-06 20:15:21.524004826 +0100
+++ new-babeld/route.c  2009-11-06 20:15:21.536979906 +0100
@@ -519,8 +519,14 @@
     if(!route_feasible(route))
         return;
 
+#define HORRIBLE_HACK_FOR_MICHAEL
+
+#ifdef HORRIBLE_HACK_FOR_MICHAEL
+#warning Using horrible hack for Michael.
+#else
     if(find_xroute(route->src->prefix, route->src->plen))
        return;
+#endif
 
     installed = find_installed_route(route->src->prefix,
     route->src->plen);



More information about the Babel-users mailing list