common: ipv6_accept_ra_interfaces sets accept_ra=2 on bridges that sysctl at boot does not see

This commit is contained in:
2026-10-25 10:20:56 +00:00
parent c49fd28b76
commit 5160e11dc2
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -1,5 +1,9 @@
ipv6_stable_secret_seed: "@JW7rQ^P3*f^KRkX3744DZQJb3DfMgZJJMtGc!Jmy!ECBqb^QzAMYLHD8dLvf8m%2bRSRFhgY#SXzAgnxWTvHv#ti6b5PngR^k2gHbQW*%dJ9sdeKM$H77Gymh&xamNN" ipv6_stable_secret_seed: "@JW7rQ^P3*f^KRkX3744DZQJb3DfMgZJJMtGc!Jmy!ECBqb^QzAMYLHD8dLvf8m%2bRSRFhgY#SXzAgnxWTvHv#ti6b5PngR^k2gHbQW*%dJ9sdeKM$H77Gymh&xamNN"
# Bridges and other interfaces that appear after sysctl runs at boot and so miss the accept_ra=2 of
# "all"; without it a forwarding host ignores the router advertisements on them.
ipv6_accept_ra_interfaces: []
# Times of the heavy disk jobs, for hosts on a shared HDD pool that keep them out of the backup window. # Times of the heavy disk jobs, for hosts on a shared HDD pool that keep them out of the backup window.
disk_maintenance: disk_maintenance:
# systemd OnCalendar for fstrim.timer; unset keeps the distribution schedule. # systemd OnCalendar for fstrim.timer; unset keeps the distribution schedule.
+4
View File
@@ -46,7 +46,11 @@
dest: "/etc/sysctl.d/ipv6-slaac-override.conf" dest: "/etc/sysctl.d/ipv6-slaac-override.conf"
content: | content: |
net.ipv6.conf.all.accept_ra = 2 net.ipv6.conf.all.accept_ra = 2
{% for iface in ipv6_accept_ra_interfaces %}
net.ipv6.conf.{{ iface }}.accept_ra = 2
{% endfor %}
notify: reload_sysctl notify: reload_sysctl
tags: ipv6_accept_ra
- name: Set sysctl settings for TCP BBR - name: Set sysctl settings for TCP BBR
copy: copy: