Vlan forward traffic to/from wifi

Hi,

I have used marcś script below to create a wireless access point and mesh point on my Banana Pi R64 running OpenWrt 22.03.2. I can access the pi over wireless but can not figure how to setup vlans to transfer the data to/from wifi to lanx. The reason I am not using relayd as I have in the past is that I have have problems with it falling over and making the system inaccessible some of the time.

Thanks,

Aaron

Go into the bridges for your interfaces in the devices tab and add bat0.x to associate vlans for Batman-adv.

x = the vlan tag

EDIT: e.g. for lan, configure the br-lan under the devices tab in luci and add bat0.x to the bridge ports

Oh! have I installed the wrong scripts?

Well, the scripts basically turn the router into a dumb AP by turning off DNS, DHCP, and the firewall, and makes a 802.11s mesh point. That’s it. If you want vlans to work with the mesh, you’ll need to download kmod-batman-adv and luci-proto-batman-adv. The latter can be found in onemarcfifty’s git.

onemarcfifty also has a video about Batman-adv mesh and how to set that up. You’ll want to watch it and complete the setup for a Batman mesh to use vlan tagging.

1 Like

Thanks! Yeah, I found and followed his BATMAN video and the setup seems to work just need to plug the pi via ethernet in my desktop and test tomorrow to make sure.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.