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

dE <[email protected]> Tue, 4 Jan 2022 14:20:58 +0530
Newsgroups gmane.linux.network.routing
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.