freifunkh / ansible

Here we store all Ansible roles and configs used for Freifunk Hannover.
MIT License
7 stars 3 forks source link

bullseye, systemd-network: no link-local addresses on gre(tap)/wg devices #224

Closed 1977er closed 1 year ago

1977er commented 2 years ago

On systemd-network (re)start all net.ipv6.conf.(gre|gt|wg).addr_gen_mode settings are reverted to 1.

LinkLocalAddressing and IPv6LinkLocalAddressGenerationMode seem to have no impact on that behaviour.

Hotfix for sn02: a oneshot service called addr-gen-mode which fires sysctl commands after systemd-networkd was running.

More investigation is needed.

1977er commented 1 year ago

Add hotfix with addr-gen-mode-hotfix role in b2a91c3e0169be823095db92daa923347d30d238.

1977er commented 1 year ago

Retiring addr-gen-mode-hotfix. Mitigating the problem by setting fixed LL addresses. Works fine for gre*tor. gt-sn* interfaces don't need LL addresses anyway.