I have multiple raspberry pi 3 model B boards with an external wifi adapter attached to them. My purpose is:
- Create a mesh network of RSP devices.
- Each RSP board should have their own AP and clients (mobile/laptops) can be connected to it.
- Clients of these AP can be moving around different RSP device range and still should be able to talk to each other no matter which AP they are connected to (like they are connected to a single network)
To fix #1: I used batman-adv on the internal wifi interface (wlan0) of RSP3 and now all the devices can ping each other through their virtual bat0 interfaces.
For #2: I used the external wifi adapter(wlan1) and with the help of hostapd and dnsmasq, I can run the AP (same ssid and channel on all AP) on each of the RSP board. I have also connected few mobile devices in different APs now.
My main blocking issue is objective #3:
To solve this, I tried to create a bridge between wlan0 and wlan1 interfaces with bridge-utils tool. But in RSP, both the interfaces do not support WDS module. So till now I am unable to make a single network for all the clients. I also tried to use IP forwarding between wlan0 and wlan1 but I cannot ping the connected clients from other RSP devices.
Is there any other approach (other than WDS) to create a single network for all the connected clients?