[Babel-users] babel export routes from bird to routing table?

Juliusz Chroboczek jch at irif.fr
Fri Nov 18 23:10:16 UTC 2016


Hi Christof,

> * I am aware that babel 1.8 is not stable yet.

It's stable -- I just need to take the time to do a release.

> As Babel 1.8 will be incompatible to 1.7

Babeld 1.8 will be fully compatible with 1.7.  It's babeld 1.9 which will
change the source-specific routing extension, and that extension only.  If
you're not using source-specific routing (SADR), you won't see any
incompatibilities.

> So babel actually is placing a route in table 10 but not the default route
> that bird has placed in table 12. How would I achieve that?

I think there's a misunderstanding.  Babeld will not copy routes from
import-table into export-table.  It will:

  - announce routes found in export-table over the Babel protocol;
  - install any routes learned over the Babel protocol into import-table.

If there's an unfiltered default route in table 12 (your import-table), it
will be announced to neighbouring nodes, and will prevent babeld from
learning any default routes (since redistributed routes take priority over
routes being learned).

The solution to your problem is to use both tables when forwarding packets,
something like:

    ip rule add prio 10 from all lookup 10
    ip rule add prio 11 from all lookup 11
    ip rule add prio 12 from all lookup 12

If you really need the routes to be copied between the tables, please let
us know why, and we'll see if it's really a needed feature.

-- Juliusz





More information about the Babel-users mailing list