From 91e215de96a4a774ae6af5a0899c57e82727c7a0 Mon Sep 17 00:00:00 2001 From: Ciprian Hacman Date: Sat, 30 Oct 2021 10:21:50 +0300 Subject: [PATCH] Enable Router Advertisements for Debian 11 --- nodeup/pkg/model/sysctls.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nodeup/pkg/model/sysctls.go b/nodeup/pkg/model/sysctls.go index b1c4fe977c..ed04dfcade 100644 --- a/nodeup/pkg/model/sysctls.go +++ b/nodeup/pkg/model/sysctls.go @@ -151,6 +151,11 @@ func (b *SysctlBuilder) Build(c *fi.ModelBuilderContext) error { } if b.Cluster.Spec.IsIPv6Only() { + if b.Distribution == distributions.DistributionDebian11 { + sysctls = append(sysctls, + "# Enable Router Advertisements to get the default IPv6 route", + "net.ipv6.conf.ens5.accept_ra=2") + } sysctls = append(sysctls, "# Enable IPv6 forwarding for network plugins that don't do it themselves", "net.ipv6.conf.all.forwarding=1",