<div dir="ltr"><div><div>Hi Matthieu,<br><br></div>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.<br><br>Anyway I have been googleing a bit more and I decided to use:<br></div>- on GW router<br><div>uci set babeld.@filter[2].type=redistribute<br>uci set babeld.@filter[2].ip=<a href="http://0.0.0.0/0">0.0.0.0/0</a><br>uci set babeld.@filter[2].proto=0<br>uci set babeld.@filter[2].action="metric 128"<br><br></div><div>instead of<br><br>uci set <span class="il">babeld</span>.@filter[2].type=redistribute<br>uci set <span class="il">babeld</span>.@filter[2].ip=<a href="http://0.0.0.0/0" target="_blank">0.0.0.0/0</a><br>uci set <span class="il">babeld</span>.@filter[2].action=allow<br><br></div><div>- on 2ND router:<br>uci set babeld.@filter[2].type=redistribute<br>uci set <span class="il">babeld</span>.@filter[2].ip=<a href="http://192.168.4.0/24" target="_blank">192.168.4.0/24</a><br>uci set babeld.@filter[2].proto=0<br>uci set babeld.@filter[2].action="metric 128"<br><br></div><div>instead of<br><br>uci set <span class="il">babeld</span>.@filter[2].type=redistribute<br>uci set <span class="il">babeld</span>.@filter[2].ip=<a href="http://192.168.4.0/24" target="_blank">192.168.4.0/24</a><br>uci set <span class="il">babeld</span>.@filter[2].action=allow<br>---------<br><br></div><div>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 -> <a href="http://wiki.openwrt.org/doc/uci/babeld">http://wiki.openwrt.org/doc/uci/babeld</a><br></div><div><br></div><div>Regards<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-07-27 22:22 GMT+02:00 Matthieu Boutier <span dir="ltr"><<a href="mailto:boutier@pps.univ-paris-diderot.fr" target="_blank">boutier@pps.univ-paris-diderot.fr</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi!<div><br><div><span class=""><blockquote type="cite"><div>root@GW:~# ip route</div><div><div dir="ltr"><a href="http://192.168.3.0/24" target="_blank">192.168.3.0/24</a> dev eth0.1  proto kernel  scope link  src 192.168.3.1<br>192.168.3.135 via 192.168.3.135 dev eth0.1  proto babel onlink<br><a href="http://192.168.4.0/24" target="_blank">192.168.4.0/24</a> via 192.168.3.135 dev eth0.1  proto babel onlink<br>192.168.4.1 via 192.168.3.135 dev eth0.1  proto babel onlink<br></div></div></blockquote><br></span><span class=""><blockquote type="cite"><div><div dir="ltr">I currently dont have Wan port connected anywhere on GW router at the moment, is this why I cant see <a href="http://0.0.0.0/0" target="_blank">0.0.0.0/0</a> on 2ND?<br></div></div></blockquote><div><br></div></span>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 <a href="http://0.0.0.0/0" target="_blank">0.0.0.0/0</a> dev … via … proto static".</div><div><br></div><div><blockquote type="cite"><div><div dir="ltr">Is this configuration OK?<br></div></div></blockquote><div><br></div>Not sufficient, for reasons detailed here:</div><div><br></div><div><div>    <a href="http://lists.alioth.debian.org/pipermail/babel-users/2014-July/001736.html" target="_blank">http://lists.alioth.debian.org/pipermail/babel-users/2014-July/001736.html</a></div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Matthieu</div></font></span></div><br></div></div></blockquote></div><br></div>