I had temporarily enabled IPv6 on my tp link archer c1200 (not openwrt, stock firmware) and found that all devices connected to the router got IPv6 address.
The problem I am facing is, even after turning off IPv6 on the router, the IPv6 address on some of the devices not going away. This causes internet connectivity issues on them.
I tried turning off all the devices including router, kept it off for few minutes. And then tried on. Still those devices (two raspberry pi's running raspbian) still they get IPv6 address.
It appears that this question does not involve OpenWrt in any way.
As general advice most OS will put a link local v6 (starts with fe80) onto every interface even in a v4 only network. This does not affect Internet usage. IPv6s of the globally unique class (GUA, starts with 2 or 3) are expected to lead to the Internet and should not be present in a v4 only connection.
It appears you are using firmware that is not from the official OpenWrt project.
When using forks/offshoots/vendor-specific builds that are "based on OpenWrt", there may be many differences compared to the official versions (hosted by OpenWrt.org). Some of these customizations may fundamentally change the way that OpenWrt works. You might need help from people with specific/specialized knowledge about the firmware you are using, so it is possible that advice you get here may not be useful.
Ask for help from the maintainer(s) or user community of the specific firmware that you are using.
Provide the source code for the firmware so that users on this forum can understand how your firmware works (OpenWrt forum users are volunteers, so somebody might look at the code if they have time and are interested in your issue).
If you believe that this specific issue is common to generic/official OpenWrt and/or the maintainers of your build have indicated as such, please feel free to clarify.
Thank you. Yes, this is not at all related to openwrt or forks of openwrt.
This is stock firmware of tplink. I posted here hoping some generic network assistance might get from here.