Project

General

Profile

Actions

Bug #187

closed

Asymmetric VLAN generates loop

Added by Antonio Quartulli almost 10 years ago. Updated about 7 years ago.

Status:
Rejected
Priority:
High
Target version:
-
Start date:
05/28/2014
Due date:
% Done:

0%

Estimated time:

Description

In case of an asymmetric VLAN configuration as shown in the picture it is possible to generate a loop even if BLA is enabled.

The loop is triggered by the fact that the two potential backbone nodes won't recognize each other. This can be understood by looking at the steps taken by a BLA ANNOUNCE message:
  1. is generated at node B for VLAN y
  2. is broadcast'd over eth0.x
  3. reaches eth0 on node A and does not get decapsulated
  4. enters bat0.y and gets encapsulated once again
  5. batman-adv does not find the BLA message because the "encapsulated_proto" field is not ARP
  6. the message gets forwarded in the mesh because the node thinks to be alone on the LAN
  7. the message reaches node B the loop starts

I don't see a clear solution to this problem because even if we make batman-adv decapsulate any packet until we get to the inner layer, we still have the problem that node A won't be recognized by nodeB (nodeA will always send with no VLAN header).

Any thought?


Files

bla-loop.png (4.99 KB) bla-loop.png Antonio Quartulli, 05/28/2014 07:53 AM
Actions

Also available in: Atom PDF