cdn-ops/global/overlay/etc/puppet/modules/cdn/templates/cache/10-cdn-ip6tunl.netdev.erb
Patrik Lundin 41298df063
Setup interface for ip6ip6 tunneling
Running into systemd-networkd bugs, don't be fooled by "Local=::1" and
"Remote=::1". This still results in the equivalent of setting them to
'any' or '::' because we are using the default interface name.
2024-10-29 17:01:46 +01:00

17 lines
594 B
Plaintext

[NetDev]
Name=ip6tnl0
Kind=ip6tnl
[Tunnel]
Independent=true
# Local and Remote should be 'any' or '::' but right now it does not work.
# However, by using the name "ip6tnl0" that matches the name of the interface
# automatically created when the kernel module is loaded it seems we can set
# anything "non-zero" here and the config will be accepted but still leaving
# "::" as both Local and Remote on the interface. This then results in the
# wanted configuration for now. One bug cancelling out another bug?
# https://github.com/systemd/systemd/issues/34930
Local=::1
Remote=::1
Mode=ip6ip6