IGMP/MLD report forwarding
Patches:
WIP/Draft - not yet upstream
Introduction
Currently batman-adv forwards/floods an IGMP/MLD Report to all other nodes by default. The multicast_mld_rtr_only option allows to change this behavior to only forward IGMP/MLD Reports to nodes with a multicast router, to reduce IGMP/MLD overhead in the mesh while still enabling layer 3 multicast routing. However this option is not always safe to use, so this page illustrates the scenarios where this option can and cannot be used.
tl;dr: Scenario C is the potentially unsafe scenario for a multicast_mld_rtr_only option.
Scenario A: Multicast to host on node without querier
Scenario A, Overview:
Scenario A, Analysis:
Answer: yes
Learning:
Multicast packet forwarding:
Scenario B: Multicast to host on node with a querier
Scenario B, Overview:
Scenario B, Analysis:
Answer: yes
Learning:
Multicast packet forwarding:
Scenario C: Multicast from host on node with a querier
Scenario C, Overview:
Scenario C, Analysis:
Answer: no!
Learning:
Multicast packet forwarding:
Potential Workarounds:
Scenario D: Multicast from host on node with a bridged-in querier
Scenario D, Overview:
Scenario D, Analysis:
Answer: yes
Learning:
Multicast packet forwarding:
Scenario E: Multicast to host on node with a bridged-in querier
Scenario E, Overview:
Scenario E, Analysis:
Answer: yes
Learning:
Multicast packet forwarding: