[Babel-users] openwrt babel configuration

Dane Medic dm70dm at gmail.com
Mon Aug 3 17:24:08 UTC 2015


Hi Matthieu,

thank you for your answer. I think I don't know enough about babeld to
understand the info from the link you gave, but the configuration I have
pasted worked when I've connected the GW to wan port.

Anyway I have been googleing a bit more and I decided to use:
- on GW router
uci set babeld. at filter[2].type=redistribute
uci set babeld. at filter[2].ip=0.0.0.0/0
uci set babeld. at filter[2].proto=0
uci set babeld. at filter[2].action="metric 128"

instead of

uci set babeld. at filter[2].type=redistribute
uci set babeld. at filter[2].ip=0.0.0.0/0
uci set babeld. at filter[2].action=allow

- on 2ND router:
uci set babeld. at filter[2].type=redistribute
uci set babeld. at filter[2].ip=192.168.4.0/24
uci set babeld. at filter[2].proto=0
uci set babeld. at filter[2].action="metric 128"

instead of

uci set babeld. at filter[2].type=redistribute
uci set babeld. at filter[2].ip=192.168.4.0/24
uci set babeld. at filter[2].action=allow
---------

so both configurations are working for me so far, but I think many of us
users would be thankful if someone explained all this proto and le and ge
... switches. Maybe even on this wiki ->
http://wiki.openwrt.org/doc/uci/babeld

Regards

2015-07-27 22:22 GMT+02:00 Matthieu Boutier <
boutier at pps.univ-paris-diderot.fr>:

> Hi!
>
> root at GW:~# ip route
> 192.168.3.0/24 dev eth0.1  proto kernel  scope link  src 192.168.3.1
> 192.168.3.135 via 192.168.3.135 dev eth0.1  proto babel onlink
> 192.168.4.0/24 via 192.168.3.135 dev eth0.1  proto babel onlink
> 192.168.4.1 via 192.168.3.135 dev eth0.1  proto babel onlink
>
>
> I currently dont have Wan port connected anywhere on GW router at the
> moment, is this why I cant see 0.0.0.0/0 on 2ND?
>
>
> Yes, but it's not sufficient.  The "redistribute" command tells Babel to
> pick routes from the kernel, so you must have a default route installed on
> your gateway, such that Babel can redistribute it.  For testing, you may
> use a static route, with some kind of "ip route add 0.0.0.0/0 dev … via …
> proto static".
>
> Is this configuration OK?
>
>
> Not sufficient, for reasons detailed here:
>
>
> http://lists.alioth.debian.org/pipermail/babel-users/2014-July/001736.html
>
> Matthieu
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/babel-users/attachments/20150803/217ce743/attachment.html>


More information about the Babel-users mailing list