-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Batman-adv ethernet meshing #56
Comments
Thinking loud: this current setup can also have some negative impact on the DHCP lease share. Since the ethernet attached nodes are bridged and bat-adv does not know about this connection (not sending OGM packets over it), it might be a situation where ALFRED is not sharing correctly the DHCP leasse file over the bridged nodes thus there might be duplicated IP addresses on the network. |
i'm heavily using batman-adv via ethernet on our freifunk jena mesh at the moment, i can't see any drawbacks, especially alfred seems to work like a charm. but we use a old batman-adv version (a patched 2013.4)... if we could make a branch with enabled batman-adv-lan-meshing i maybe could test it in the next days. |
On Mon, Jul 25, 2016 at 05:02:53AM -0700, Micha Stöcker wrote:
it surely works if you only use batman-adv over ethernet. however, |
Batadv on ethernet was disabled in this commit. |
alfred does not depend on batman-adv. It can run on a purely switched (bridged) network. It only propagates information over a link-local (broadcast domain). It doesn't care if that link-local involves batman-adv or not. So, no, this doesn't have any impact on dnsmasq-lease-share. The only real problem caused by this setup is the impossibity of solving loops caused by two ethernet cables connecting two different BATADV clouds (but that are, in fact, all the same link-local) In conclusion, this "issue" is blocked by an upstream bug, but is not affecting alfred or anything at all, only complex scenarios of ethernet connections |
Daniel sent recently a mail regarding the OGM race condition to On 30/07/16 14:37, Gui wrote:
|
By the way you can enable batman-adv on ethernet using specific config section |
Can we re-examine this issue please? The original LibreMesh purpose was to use the layer 3 routing protocol (BMX* or Babeld) just on the frontier nodes between clouds within which there should be just layer 2 routing by BATMAN-adv. Inside these clouds, Batman-adv should be in charge of routing also on cable (as Babeld is not there for managing that). According to the comments above, it was related to an upstream bug, that I hope has been fixed over the last 3 years (?). @G10h4ck @spiccinini @nicopace @gmarcos87 @altergui opinions? |
On some devices (I saw this on a MediaTek-based router YouHua WR1200JS) we could have problems due to switches breaking 802.1ad packages, see https://forum.openwrt.org/t/mediatek-and-vlan-802-1ad-on-ethernet/42346 |
I suggest to speak batman-adv on br-lan while br-lan contains bat0. Sounds impossible?
batman-adv this, but it's removing a check in the kernel to make it working:
|
The fact that we should modify Batman-adv's kmod means that we should host a binary routing repository (and fork the source code one), right? |
Is not that we need both of them in, it is that we need bat0 to stay inside br-lan so clients packets get routed by batman-adv. Because of that then we would need It is interesting to test how it would perform in this setup, and if performances are good we could attempt to convince |
I think @altergui did some tests on the ebtables performance implications |
Fixed in #726 |
Currently, by default, lime-config do not use BAT-ADV in ethernet interfaces. So the expected behavior would be to have eth0.15 (for instance) which runs BAT-ADV, but this was removed in some point because there were supose to be problems with BAT-ADV.
I would like to review this issue and if it does not exist anymore enable again the bat-adv ethetrnet mesh.
The text was updated successfully, but these errors were encountered: