<div dir="ltr">Hi everybody!<br><br>I would like to ask you for some help regarding configuring babeld on 2 openwrt routers.<br>The 1st router (named GW) is doing NAT, 2nd router (named 2ND) has firewall "disabled".<br>Wan port from 2ND (which is running dhcp client) is connected to Lan port of GW (which is serving dhcp).<br>Each router has also connection to his client and I would like to be able share data between clients and all devices should have internet conection.<br><br>Openwrt version is CC 15.05 - RC3 revision 46163 and I have downloaded and installed<br>babeld_1.6.1-1_ar71xx.ipk package.<br><br>On the GW I change the following:<br><br>uci del network.lan.type<br>uci set network.lan.ipaddr=192.168.3.1<br>uci commit network<br><br>uci del babeld.@interface[0].ignore<br>uci set babeld.@interface[0].ifname=eth0.1 ## the Lan interface<br>uci add babeld filter<br>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].action=allow<br>uci commit babeld<br><br>uci set system.@system[0].hostname=GW<br>uci commit system<br>----------------------<br><br>On the 2ND I change:<br><br>echo "config defaults<br>        option input ACCEPT<br>        option output ACCEPT<br>        option forward ACCEPT" > /etc/config/firewall<br><br>uci del network.lan.type<br>uci set network.lan.ipaddr=192.168.4.1<br>uci set network.wan.defaultroute=0<br>uci commit network<br><br>uci del babeld.@interface[0].ignore<br>uci set babeld.@interface[0].ifname=eth0.1 ## the Lan interface<br>uci del babeld.@interface[1].ignore<br>uci set babeld.@interface[1].ifname=eth1 ## the Wan interface<br>uci add babeld filter<br>uci set babeld.@filter[2].type=redistribute<br>uci set babeld.@filter[2].ip=<a href="http://192.168.4.0/24">192.168.4.0/24</a><br>uci set babeld.@filter[2].action=allow<br>uci commit babeld<br><br>uci set system.@system[0].hostname=2ND<br>uci commit system<br>----------------------<br><br>root@GW:~# ip route<br><a href="http://192.168.3.0/24">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">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>----------------------<br><br>root@2ND:~# ip route<br><a href="http://192.168.3.0/24">192.168.3.0/24</a> dev eth1  proto kernel  scope link  src 192.168.3.135<br>192.168.3.1 dev eth1  proto static  scope link  src 192.168.3.135<br><a href="http://192.168.4.0/24">192.168.4.0/24</a> dev eth0.1  proto kernel  scope link  src 192.168.4.1<br><br><br>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">0.0.0.0/0</a> on 2ND?<br><br>Is this configuration OK?<br><br>Thank you in advance and Regards<br><br></div>