-
Notifications
You must be signed in to change notification settings - Fork 4
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
make it possible to use routing algo BATMAN-V of batman-adv #104
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,12 @@ iface br-{{ site_code }} inet static | |
# tune ARP and IPv6 neighbor soolicitation | ||
post-up sysctl -p /etc/sysctl.d/main-bridge-ip-neigh-tuning.conf | ||
# increase multicast table | ||
post-up bash -c 'echo 2048 > /sys/class/net/br-ffhb/bridge/hash_max' | ||
{% if batman_routing_algo is defined and batman_routing_algo == 'BATMAN_V' %} | ||
# let batman handle the multicast | ||
# https://gluon.readthedocs.io/en/latest/package/gluon-mesh-batman-adv.html | ||
post-up bash -c 'echo 2 > /sys/class/net/br-{{ site_code }}/brport/multicast_router' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @genofire wofür ist das? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. siehe Kommentar / Link There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hmm, hab ich gluon docs doch falsch verstanden ... e ich, ich sollte es beim batman interface und nicht deren bridge interface. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Und: ich hab die Doku jetzt so verstanden, dass diese Option unabhängig von BATMAN_V ist (also die ist anscheinend für BATMAN_IV und BATMAN_V sinnvoll). @genofire: kannst du nicht einen eigenen Pull Request machen, wo du nur den Commit für diese |
||
{% endif %} | ||
post-up bash -c 'echo 2048 > /sys/class/net/br-{{ site_code }}/bridge/hash_max' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @genofire wofür ist das? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Die Zeile hab ich nur "gefixed", um die ansible variable - aber ja, der commentar ist dabei unglücklich durch die Änderung von
|
||
|
||
iface br-{{ site_code }} inet6 static | ||
address {{ batman_ipv6_local.address }} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@genofire wofür ist das?