Hi,
On Wed, Mar 24, 2021 at 12:16:16PM -0000, oytunyapar(a)hotmail.com wrote:
Hi everybody,
As I check, batman-adv protocol, sends IP broadcast packets, to every slave
interface, including the slave interface from which the broadcast packet is received. Is
there any way for preventing the batman-adv from sending IP broadcast packets to some of
the slave interfaces (etc. the one which the packet is received)?
When there is just a single neighbor on the interface a node
received the packet on that batman-adv avoids sending it
back automatically. E.g. this case here:
https://www.open-mesh.org/projects/batman-adv/wiki/Broadcast#IIII-Single-Ne…
If there are multiple neighbors on the receiving interface then
batman-adv assumes that other neighbors might potentially not have
received the packet from the original sender. And will therefore
rebroadcast on the incoming interface, too.
If you are 100% sure that all other neighbors received it from
the original sender then there is this old patch which isn't
upstream though (including the discussion with why it was
rejetected for upstream):
https://patchwork.open-mesh.org/project/b.a.t.m.a.n./patch/1380030033-11533…
Regards, Linus