I'd like to ask this question primarily for general understanding.
I have a functioning batman-adv mesh network which transports a lan and a guest subnet to one of two batman gateways (internet upstream). One day (the wind direction must have changed or anything like that) the wifi connection for the batman communication started constantly trying to connect or anything - I am not really sure. This caused high cpu usage and bad routing performance to the internet.
Since at the moment I was not relay using this gateway with the rest of the mesh I thought I could simply disable the corresponding network interface in lucis Wireless tab. That worked as expected and everything was fine for the moment. Later i noticed that I could not ping any other devices in the lan subnet apart from the actual gateway router.
but still working fine:
- internet access
- vpn connection and pingin (not in lan brindge)
- services on router
- and in general everything apart from the mentioned issue
Batman-adv is a layer 2 routing / switching technology and might get confused if the bridged mesh interface is not available?
Apart from all of that... I am aware that this is not the intended way of using openwrt and meshing. I am just really curious what causes this behavior.
config interface 'lan' option type 'bridge' option proto 'static' option stp '1' option netmask '255.255.255.0' option ifname 'bat0.1 eth0.1 if-lan' option delegate '0' config interface 'guest' option type 'bridge' option ifname 'if-guest bat0.2' option proto 'static' option netmask '255.255.255.0' config interface 'lan_mesh' option ifname 'if-lan-mesh' option master 'bat0' option mtu '2304' option proto 'batadv_hardif' config interface 'bat0' option proto 'batadv' option routing_algo 'BATMAN_V' option gw_mode 'server' option orig_interval '5000'
config wifi-iface 'lan' option device 'radio0' option mode 'ap' option encryption 'psk2+ccmp' option network 'lan' option ifname 'if-lan' option disabled '0' config wifi-iface 'wifinet0' option ifname 'if-lan-mesh' option device 'radio0' option mode 'mesh' option mesh_id 'lan-bridge' option mesh_fwding '0' option encryption 'psk2+ccmp' option network 'lan-mesh' option hidden '1' option disabled '1'