I have been trying 24.10-rc6 and have a full batman hybrid mesh as below:
WIFI AP <==Node1<==ethernet==>Node2<==80211s==>Node3<==ethernet==>Node4==> WIFI AP
Node2 is connected to ISP modem.
All the nodes are batman nodes and I have 3 vlans on the whole network(lan, iot, guest). Node2 runs dhcp/firewall/dns.
~# ubus call system board
{
"kernel": "6.6.73",
"hostname": "ap6",
"system": "ARMv7 Processor rev 0 (v7l)",
"model": "TP-Link OnHub",
"board_name": "tplink,onhub",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "24.10.0-rc6",
"revision": "r28388-58d0057481",
"target": "ipq806x/chromium",
"description": "OpenWrt 24.10.0-rc6 r28388-58d0057481",
"builddate": "1737575574"
}
}
What I have recently noticed is that the Node3<==>Node4 connection will sometimes stop working after a reboot(I just reboot every night). The only way I can fix it is drop the MTU value on both sides that I have set on the batman interfaces on either node(until recently was set to 1542 and i commented it today morning to make things work). Even rebooting again does not help. This happens sporadically and 6 out of 7 days of the week it all works just fine after the reboot. I have also seen that If I change the MTU value to says 1544.. or something then once in a while it works too. So I am guessing the action of changing MTU and /etc/init.d/network restart
is doing something that is triggering a fix/flush/re-initialization of something that was originally causing the problem.
The only relevant? error that I see in the logs around when this starts failing is:
[ 305.357254] qca8k gpio-0:10 lan1: failed (err=-22) to del object (id=3)
What I want to know if my configuration below is correct?
config interface 'batwire'
option proto 'batadv_hardif'
option device 'wan'
option master 'bat0'
# option mtu '1542'
Note that this(wan) is the only port that I have not included in the bridge(lets call it omni bridge, which has all the physical ports and vlans) that we are recommended to use with DSA as I thought there is no value in adding a vlan on this interface.
https://openwrt.org/docs/guide-user/network/wifi/mesh/batman