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

Activation of mesh_no_rebroadcast for Mesh-on-WAN/LAN #652

Closed
FFS-Roland opened this Issue Feb 15, 2016 · 1 comment

Comments

Projects
None yet
3 participants
@FFS-Roland

FFS-Roland commented Feb 15, 2016

Currently option mesh_no_rebroadcast '1' is only set on interface 'mesh_vpn' per default, but will also reduce load on the other cable based meshing variants. All ARP and most ICMPv6 on Freifunk Client Network is forewarded as broadcasts on mesh-level ethernet, where especially IPv6 Router Advertisements are consuming a lot of ressources on Nodes.

The comment of Linus Lüssing, who implemeted this option in batman-adv on September 2013:
With this option set incoming multicast payload frames on <iface> are not being rebroadcasted on <iface> again. This option should be set on links which are known to be transitive and symmetric only, for instance point-to-point wifi longshots or wired links.

Therefore at Freifunk Stuttgart we began to set this option manually on installations using Mesh-on-LAN and/or Mesh-on-WAN since September 2015 using SSH:

uci set network.mesh_wan.mesh_no_rebroadcast='1'
uci set network.mesh_lan.mesh_no_rebroadcast='1'
uci commit
reboot

In times of very high broadcast and multicast traffic this prevented nodes from beeing overloaded, in particular TP-Link WR841N/ND.

Our proposal is to activate this option by default on mesh_wan and mesh_lan. This can be done e.g. with modification of two files:

\package\gluon-mesh-batman-adv-core\files\lib\gluon\upgrade\330-gluon-mesh-batman-adv-core-mesh-on-wan

if not c:get('network', 'mesh_wan') then
c:section('network', 'interface', 'mesh_wan',
  { ifname = 'br-wan'
  , proto = 'batadv'
  , mesh = 'bat0'
+++ , mesh_no_rebroadcast = '1'
  , auto = site.mesh_on_wan and 1 or 0
  })
end

\package\gluon-mesh-batman-adv-core\files\lib\gluon\upgrade\340-gluon-mesh-batman-adv-core-mesh-on-lan

uci:section('network', 'interface', 'mesh_lan',
{ ifname = sysconfig.lan_ifname
  , proto = 'batadv'
  , mesh = 'bat0'
  , macaddr = util.generate_mac(1, 1)
+++ , mesh_no_rebroadcast = '1'
  , auto = enable and 1 or 0
  })

With best regards from Stuttgart,
Roland.

@T-X

This comment has been minimized.

Show comment
Hide comment
@T-X

T-X Feb 16, 2016

Contributor

There is just one scenario that I could think of where things would break: A WDS wifi bridge solution with STA isolation enabled. And a mesh-on-wan/lan router connected to one of this bridge-STAs via cable. But I've never heard of anyone enabling STA isolation there.

So looks good to me.

Contributor

T-X commented Feb 16, 2016

There is just one scenario that I could think of where things would break: A WDS wifi bridge solution with STA isolation enabled. And a mesh-on-wan/lan router connected to one of this bridge-STAs via cable. But I've never heard of anyone enabling STA isolation there.

So looks good to me.

@NeoRaider NeoRaider added this to the 2016.2 milestone Feb 16, 2016

@NeoRaider NeoRaider changed the title from activation of mesh_no_rebroadcast to Activation of mesh_no_rebroadcast for Mesh-on-WAN/LAN Feb 16, 2016

@NeoRaider NeoRaider closed this in f0ad8ed Feb 16, 2016

chris007de added a commit to freifunkMUC/gluon that referenced this issue Feb 23, 2016

gluon-mesh-batman-adv-core: enable mesh_no_rebroadcast for Mesh-on-WA…
…N/LAN

Ethernet links provide transitive connectivity in all but very unusual
setup, enable mesh_no_rebroadcast to reduce load for devices on links with
many nodes.

Fixes #652

rotanid added a commit to tecff/gluon that referenced this issue Mar 2, 2016

gluon-mesh-batman-adv-core: enable mesh_no_rebroadcast for Mesh-on-WA…
…N/LAN

Ethernet links provide transitive connectivity in all but very unusual
setup, enable mesh_no_rebroadcast to reduce load for devices on links with
many nodes.

Fixes #652

rotanid added a commit to tecff/gluon that referenced this issue Mar 15, 2016

gluon-mesh-batman-adv-core: enable mesh_no_rebroadcast for Mesh-on-WA…
…N/LAN

Ethernet links provide transitive connectivity in all but very unusual
setup, enable mesh_no_rebroadcast to reduce load for devices on links with
many nodes.

Fixes #652

rotanid added a commit to tecff/gluon that referenced this issue Apr 3, 2016

gluon-mesh-batman-adv-core: enable mesh_no_rebroadcast for Mesh-on-WA…
…N/LAN

Ethernet links provide transitive connectivity in all but very unusual
setup, enable mesh_no_rebroadcast to reduce load for devices on links with
many nodes.

Fixes #652

rotanid added a commit to tecff/gluon that referenced this issue Apr 27, 2016

gluon-mesh-batman-adv-core: enable mesh_no_rebroadcast for Mesh-on-WA…
…N/LAN

Ethernet links provide transitive connectivity in all but very unusual
setup, enable mesh_no_rebroadcast to reduce load for devices on links with
many nodes.

Fixes #652

rotanid added a commit to tecff/gluon that referenced this issue May 7, 2016

gluon-mesh-batman-adv-core: enable mesh_no_rebroadcast for Mesh-on-WA…
…N/LAN

Ethernet links provide transitive connectivity in all but very unusual
setup, enable mesh_no_rebroadcast to reduce load for devices on links with
many nodes.

Fixes #652

rotanid added a commit to tecff/gluon that referenced this issue May 10, 2016

gluon-mesh-batman-adv-core: enable mesh_no_rebroadcast for Mesh-on-WA…
…N/LAN

Ethernet links provide transitive connectivity in all but very unusual
setup, enable mesh_no_rebroadcast to reduce load for devices on links with
many nodes.

Fixes #652

rotanid added a commit to tecff/gluon that referenced this issue May 11, 2016

gluon-mesh-batman-adv-core: enable mesh_no_rebroadcast for Mesh-on-WA…
…N/LAN

Ethernet links provide transitive connectivity in all but very unusual
setup, enable mesh_no_rebroadcast to reduce load for devices on links with
many nodes.

Fixes #652

rotanid added a commit to tecff/gluon that referenced this issue May 18, 2016

gluon-mesh-batman-adv-core: enable mesh_no_rebroadcast for Mesh-on-WA…
…N/LAN

Ethernet links provide transitive connectivity in all but very unusual
setup, enable mesh_no_rebroadcast to reduce load for devices on links with
many nodes.

Fixes #652

rotanid added a commit to tecff/gluon that referenced this issue May 20, 2016

gluon-mesh-batman-adv-core: enable mesh_no_rebroadcast for Mesh-on-WA…
…N/LAN

Ethernet links provide transitive connectivity in all but very unusual
setup, enable mesh_no_rebroadcast to reduce load for devices on links with
many nodes.

Fixes #652

rotanid added a commit to tecff/gluon that referenced this issue May 24, 2016

gluon-mesh-batman-adv-core: enable mesh_no_rebroadcast for Mesh-on-WA…
…N/LAN

Ethernet links provide transitive connectivity in all but very unusual
setup, enable mesh_no_rebroadcast to reduce load for devices on links with
many nodes.

Fixes #652

rotanid added a commit to tecff/gluon that referenced this issue May 26, 2016

gluon-mesh-batman-adv-core: enable mesh_no_rebroadcast for Mesh-on-WA…
…N/LAN

Ethernet links provide transitive connectivity in all but very unusual
setup, enable mesh_no_rebroadcast to reduce load for devices on links with
many nodes.

Fixes #652

rotanid added a commit to tecff/gluon that referenced this issue Jun 12, 2016

gluon-mesh-batman-adv-core: enable mesh_no_rebroadcast for Mesh-on-WA…
…N/LAN

Ethernet links provide transitive connectivity in all but very unusual
setup, enable mesh_no_rebroadcast to reduce load for devices on links with
many nodes.

Fixes #652

rotanid added a commit to tecff/gluon that referenced this issue Jun 23, 2016

gluon-mesh-batman-adv-core: enable mesh_no_rebroadcast for Mesh-on-WA…
…N/LAN

Ethernet links provide transitive connectivity in all but very unusual
setup, enable mesh_no_rebroadcast to reduce load for devices on links with
many nodes.

Fixes #652

rotanid added a commit to tecff/gluon that referenced this issue Jul 1, 2016

gluon-mesh-batman-adv-core: enable mesh_no_rebroadcast for Mesh-on-WA…
…N/LAN

Ethernet links provide transitive connectivity in all but very unusual
setup, enable mesh_no_rebroadcast to reduce load for devices on links with
many nodes.

Fixes #652

rotanid added a commit to tecff/gluon that referenced this issue Jul 12, 2016

gluon-mesh-batman-adv-core: enable mesh_no_rebroadcast for Mesh-on-WA…
…N/LAN

Ethernet links provide transitive connectivity in all but very unusual
setup, enable mesh_no_rebroadcast to reduce load for devices on links with
many nodes.

Fixes #652

rotanid added a commit to tecff/gluon that referenced this issue Jul 13, 2016

gluon-mesh-batman-adv-core: enable mesh_no_rebroadcast for Mesh-on-WA…
…N/LAN

Ethernet links provide transitive connectivity in all but very unusual
setup, enable mesh_no_rebroadcast to reduce load for devices on links with
many nodes.

Fixes #652

rotanid added a commit to tecff/gluon that referenced this issue Jul 20, 2016

gluon-mesh-batman-adv-core: enable mesh_no_rebroadcast for Mesh-on-WA…
…N/LAN

Ethernet links provide transitive connectivity in all but very unusual
setup, enable mesh_no_rebroadcast to reduce load for devices on links with
many nodes.

Fixes #652

rotanid added a commit to tecff/gluon that referenced this issue Jul 21, 2016

gluon-mesh-batman-adv-core: enable mesh_no_rebroadcast for Mesh-on-WA…
…N/LAN

Ethernet links provide transitive connectivity in all but very unusual
setup, enable mesh_no_rebroadcast to reduce load for devices on links with
many nodes.

Fixes #652

rotanid added a commit to tecff/gluon that referenced this issue Aug 12, 2016

gluon-mesh-batman-adv-core: enable mesh_no_rebroadcast for Mesh-on-WA…
…N/LAN

Ethernet links provide transitive connectivity in all but very unusual
setup, enable mesh_no_rebroadcast to reduce load for devices on links with
many nodes.

Fixes #652

rotanid added a commit to tecff/gluon that referenced this issue Aug 18, 2016

gluon-mesh-batman-adv-core: enable mesh_no_rebroadcast for Mesh-on-WA…
…N/LAN

Ethernet links provide transitive connectivity in all but very unusual
setup, enable mesh_no_rebroadcast to reduce load for devices on links with
many nodes.

Fixes #652

rotanid added a commit to tecff/gluon that referenced this issue Sep 7, 2016

gluon-mesh-batman-adv-core: enable mesh_no_rebroadcast for Mesh-on-WA…
…N/LAN

Ethernet links provide transitive connectivity in all but very unusual
setup, enable mesh_no_rebroadcast to reduce load for devices on links with
many nodes.

Fixes #652

rotanid added a commit to tecff/gluon that referenced this issue Sep 7, 2016

gluon-mesh-batman-adv-core: enable mesh_no_rebroadcast for Mesh-on-WA…
…N/LAN

Ethernet links provide transitive connectivity in all but very unusual
setup, enable mesh_no_rebroadcast to reduce load for devices on links with
many nodes.

Fixes #652

rotanid added a commit to tecff/gluon that referenced this issue Sep 19, 2016

gluon-mesh-batman-adv-core: enable mesh_no_rebroadcast for Mesh-on-WA…
…N/LAN

Ethernet links provide transitive connectivity in all but very unusual
setup, enable mesh_no_rebroadcast to reduce load for devices on links with
many nodes.

Fixes #652

ecsv pushed a commit to FreifunkVogtland/gluon that referenced this issue Jun 9, 2017

gluon-mesh-batman-adv-core: enable mesh_no_rebroadcast for Mesh-on-WA…
…N/LAN

Ethernet links provide transitive connectivity in all but very unusual
setup, enable mesh_no_rebroadcast to reduce load for devices on links with
many nodes.

Fixes #652
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment