« Previous | Next » 

Revision 8f7d1f1c


Added by Dimitris Aragiorgis over 6 years ago

Create ebtables chains with RETURN policy

This fixes inter-node private networks in case of multicast packets.
Multicast packets are forwarded to all interfaces bridged
on the bridge. Lets assume the following:

prv0 bridge with tap0, tap1, and eth1.
From tap0 comes a multicast packet.
We will see:
forward IN=tap0 OUT=tap1
forward IN=tap0 OUT=eth1
input IN=tap0

In FORWARD chain we have:

-i tap0 -j FROMTAP0
-o tap0 -j TOTAP0
-i tap1 -j FROMTAP1
-0 tap1 -j TOTAP1

So the first packet will match the first rule. FROMTAP0 does not
drop it since the src MAC is correct and ACCEPTs it!

We fix this by changing the policy to RETURN.

Signed-off-by: Dimitris Aragiorgis <>


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences