net.ipv6.conf.all.accept_ra=2 does not work

dE <[email protected]> Tue, 04 Jan 2022 08:49:35 +0000
Newsgroups org.kernel.vger.lartc
Message-ID <CADofXPCVB_b+UtK8NcSQ9O5K4vnY2ZXdFX-pxTCJnT8GJK73Sw@mail.gmail.com>
Hello everyone,
      I'm trying to configure my machine as an IPv6 router. When I set
net.ipv6.conf.all.forwarding=1, the default routes get deleted, which
is expected. But setting net.ipv6.conf.all.accept_ra=2 does not help
either. Set it before or after net.ipv6.conf.all.forwarding=1, the
default routes WILL get deleted and I've to add it manually. I've even
tried setting these in sysctl.conf and rebooted with the same effect.