I have tried a similar setup at another place (spoiler - didn't work):
Obviously the versions are different but I am not aware of any major changes regarding batman. Does anyone may have a hint how to properly monitor what batman is doing on the link layer by batctl td or comparable tools?
Hardeware:
- Fritz 3370
- TD-W8970B
OpenWRT:
- OpenWrt SNAPSHOT r12896-5d7812495b
- OpenWrt 19.07.2 r10947-65030d81f3
Kernel:
- 4.19.108
- 4.14.171
Batman:
- batctl 2020.0-openwrt-1 [batman-adv: 2020.0-openwrt-1]
- batctl openwrt-2019.2-3 [batman-adv: openwrt-2019.2-5]
Network Config:
- (Fritz 3370)
config interface 'lan'
option type 'bridge'
option proto 'static'
option stp '1'
option netmask '255.255.255.0'
option ipaddr 'x.x.x.x'
option ifname 'bat0 if-lan'
option delegate '0'
option gateway 'x.x.x.x'
option ip6assign '64'
config interface 'bat0'
option proto 'batadv'
option routing_algo 'BATMAN_IV'
option aggregated_ogms '1'
option ap_isolation '0'
option bonding '0'
option fragmentation '1'
option gw_bandwidth '10000/2000'
option log_level '0'
option orig_interval '1000'
option bridge_loop_avoidance '1'
option distributed_arp_table '1'
option multicast_mode '1'
option multicast_fanout '16'
option network_coding '0'
option hop_penalty '30'
option isolation_mark '0x00000000/0x00000000'
# add eth0 as hardif to bat0
config interface 'bat0_hardif_eth0'
option proto 'batadv_hardif'
option master 'bat0'
option mtu '1536'
option ifname 'eth0.1'
option 'elp_interval' 500
# change throughput_override to 0 to use automatic detection; also allows kbit suffix
option 'throughput_override' '1mbit'
- (TD-W8970B)
config interface 'lan'
option type 'bridge'
option ifname 'eth0.1 if-lan bat0'
option proto 'dhcp'
config interface '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 ap_isolation '1'
option gw_mode 'client'
option orig_interval '1000'
config interface 'bat0_hardif_eth0'
option proto 'batadv_hardif'
option master 'bat0'
option mtu '1536'
option ifname 'eth0.3'
option 'elp_interval' 500
# change throughput_override to 0 to use automatic detection; also allows kbit suffix
option 'throughput_override' '1mbit'
batctl if
- eth0.1: active
- eth0.3: active
Using ip addr the interface masters are set like my uneducated mind would consider it correct.
Sadly batctl n still does not show anything.
I am pretty confident that I set the VLANs correctly but maybe some notices something. I will go on and create another post now asking for specific help.