I'm using batman-adv on a multilink (eth/wifi) network, and I cannot set MTU to 1532 on all interfaces.
One way to avoid fragmentation is to set bat0 MTU to 1468.
I tried setting mtu in /etc/config/network, but I can't seem to find the right place to set it.
using
config interface 'bat0'
option proto 'none'
option ifname 'bat0'
option mtu '1468'
Unfortunately, "default" naming of interfaces can be confusing, as there can be "reuse" of the same name and that the physical interface and the batman-adv portal interface were challenging to unwind from each other.
From that linked page (as my memory of the older config style is very dusty), it shows
config interface 'nwi_mesh0'
option ifname 'mesh0'
option proto 'batadv'
option mesh 'bat0'
# option routing_algo 'BATMAN_V'
option mtu '2304'
I believe the configuration stanza you're referring to is setting MTU for mesh0 inteface, which is the physical interface.
What I wanted was to lower MTU for virtual interface bat0 to 1468 so that it would fit in a 1500 byte ethernet packet