Sample Header Ad - 728x90

How to fix a route in ad-hoc networks

0 votes
1 answer
190 views
I have 4 raspberry PI connected through an ad-hoc network. They have the following addresses: **169.254.1.1 169.254.1.2 169.254.1.3 169.254.1.4** I need to fix the route as follow: **169.254.1.1** --> **169.254.1.2** --> **169.254.1.3** --> **169.254.1.4** Currently, I'm using B.A.T.M.A.N. protocol for mesh ad-hoc networks. I tried the **ip route add** command but it doesn't work. ---------- **EDIT** I tried to use ebtables to filter traffic from **MAC addresses** using
$ebtables -A INPUT -s [*mac address*] -j DROP
The rule is added correctly but it doesn't work, maybe I did something wrong with the syntax...
Asked by flavio actv (1 rep)
Oct 11, 2021, 10:25 AM
Last activity: Oct 13, 2021, 09:38 AM