Project

General

Profile

Actions

Bug #213

closed

batman-adv gets confused if multiple interfaces sharing the same macaddr are bridged to multiple VLANs on the same batX interface

Added by Alessandro Bolletta over 9 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
04/22/2015
Due date:
% Done:

0%

Estimated time:

Description

How to reproduce this bug:
if I create 2 VLANs on the top of a bat0 interface and then I bridge bat0.x with eth0.x and and bat0.y with eth0.y, and if eth0.x and eth0.y share the same MAC address, the batman-adv routing engine gets crazy.

Infact, if I try through another host facing to bat0.x or/and bat0.y to do a batctl traceroute pointing to the MAC address of the host who shares the same MAC address, I can see that the routing path changes unexpectedly, getting right for a while and then randomly gets wrong, such as in a loop fashion.

At the moment, in order to avoid this behaviour, the best workaround I found is having different MAC addresses on every interface bridged on a different vlan configured the same mesh cloud interface (let's assume bat0, for example). It's not so much pratical, especially for who wants to configure (and then bridge with external interfaces) many VLAN interfaces on the batman-adv mesh.

I'm going to categorize it as a "bug", since it's a batman-adv related problem and I think it should be great if it could be solved.


Files

batmanadv-vlan-loop-graph.pdf (386 KB) batmanadv-vlan-loop-graph.pdf Alessandro Bolletta, 04/22/2015 04:23 PM
Actions

Also available in: Atom PDF