Hi Andreas,
On Thursday 11 February 2016 10:19:07 Andreas Pape wrote:
Hi,
I want to give a short feedback concerning my attempt to use batman-adv-2016.0 instead of to older version I used first.
Unfortunately, using batman-adv-2016.0 does not solve my problem. I can still see claim frames sent by the mesh gateways into the common backbone network for MAC addresses out of the common backbone network itself. I enabled again both bla and dat support. Furthermore I have also still problems with DAT, because there are multiple ARP replies visible in the backbone network coming out of the mesh.
That reminds me that I have forgotten to mention in my earlier mail, that I did not test with the original batman-adv-2014.4.0 first but with a version having the patch applied I sent to the mailing list in March last year concerning possible fixes for dat in bla setups. If I remember it correctly I think there were two main issues in batman-adv-2014.4.0 when using dat in combination with bla: 1.Broadcast ARP requests from the backbone network are handled by each gateway, leading to multiple dat adress resoultions in parallel.
That shouldn't be a problem on its own.
- As dat uses tunneling of broadcasts in special batman-adv unicast
frames, the current bla code does not seem to prevent these broadcasts from reaching the backone network as it is done for normal broadcast coming from the mesh and heading for the backbone. Both effects together lead to a multiplication of arp requests and replies. My patch of last year tried to address this.
Hm, I see. I just checked the code and it seems we fixed this issue for speedy join in the mean time (affecting TT), but for bla the problem is still present.
Wouldn't it be sufficient to add something like a check for backbones ( batadv_bla_is_backbone_gw) into batadv_recv_unicast_packet() and drop packets if they came from the same backbone?
I have found your patch from last year. Would you like to rebase/split your patch to address the remaining issues? That would help us a lot. Please also put a proper patch message. I promise to be more responsive this time. :)
Good news is that disabling dat in batman-adv-2016.0 seems to solve my observed issues (in strange ways even the observed erroneous claim frames in the backbone network....). But I think dat is a clever feature to reduce broadcast load in the mesh network. Wouldn't it be useful to dig a little bit deeper into the combined use of dat and bla? I would volunteer for testing and providing ideas for improving the behaviour.
If you could help, that would be great! Your patch from last year already is a good start, so I'm sure you are capable of working on that. I would be happy to help with that, too.
Or do you think that I have an issue with my old 2.6.32 kernel?
I don't think so. To me it looks like the issue could still be present in current versions ...
Cheers, Simon