I installed batman-adv on 4-Raspberry Pi Model 3, and I now want to emulate an out of reach situation. Instead of physically moving the PIs into another room, I want to use some mechanism that will do this for me. I ran the following command on node D:
ip6tables -A INPUT -m mac --mac-source XX:XX:XX:XX:XX:XX -j DROP
where the MAC source is the MAC address of wlan0 of node A.
For instance, I have A, B, C, D each running batman-adv, I want to route all the traffic from node A to node D through node C. Now I can't login into D, and the route tables do not show any change (i.e., batctl o).
Did I approached this correctly? Basically what I want to do is from A, B, C, D, to be able to route packages from A to D through C, instead of physically moving D out of reach of A. How do I do this, and how can I check if it works?