I'm working on a project for a course using batman-adv to set up a mesh network. I am attempting to set up a bridged exit point to a non-batman router and have an entry node for non-batman devices to connect to the network as well. The external router is also my DHCP.
I have been going off the examples here and here. But even copying them verbatim doesn't seem to work
I've managed to get my nodes up and running and they are able to ping each other with batctl. The problem is when I try and set up a bridge, that node no longer is able to and doesn't pass any traffic, despite batctl o still showing the nodes.
I'm not sure if I need to do some firewall magic or set default routes? Maybe even use relayd? My configs for /etc/config/networks are as follows:
Exit Node:
config interface 'nwi_mesh0'
option ifname 'mesh_base'
option proto 'batadv'
option mesh 'bat0'
option mtu '2304'
config interface 'vlan'
option type 'bridge'
option stp '1'
option ifname 'eth0 bat0'
option proto 'static'
option ipaddr '192.168.1.100'
option netmask '255.255.255.0'
option delegate '0'
Entry Node:
config iterface 'nwi_mesh0'
option ifname 'mesh_node0'
option proto 'batadv'
option mesh 'bat0'
option mtu '2304'
config interface 'lan'
option type 'bridge'
option ifname 'wlan0'
option proto 'static'
option ipaddr '192.168.2.1'
option netmask '255.255.255.0'
config interface 'bat_bridge'
option ifname 'wlan0 bat0'
option type 'bridge'
option stp '1'
option proto 'static'
option ipaddr '192.168.1.200'
option netmask '255.255.255.0
option delegate '0'
Intermediate Nodes:
config iterface 'nwi_mesh0'
option ifname 'mesh_nodeX'
option proto 'batadv'
option mesh 'bat0'
option mtu '2304'