azure linux has not default ipv6 route

Solution 1:

I fixed the problem. ipv6 forward is enabled by default and accept_ra is set to 1 which ignore router advertisement. Add following to /etc/sysctl.conf to turn off ipv6 forwarding:

net.ipv6.conf.all.forwarding=0

Update

The ipv6 forwarding is enable by docker ipv6 feature. So setting the interface accept_ra=2 for docker with ipv6 enabled.