Enable IPV6 in Linux distros.

Enable ipv6 in SysCtl / Grub / nmtui

Enabling IPv6 on Your Linux Distro

Good day! To fully enable IPv6 on your Linux distribution, you need to modify the following files to ensure IPv6 is enabled. Also make sure that IPv6 is enable in nmtui.

If you cannot activate IPv6, you must completely disable both IPv4 and IPv6 before reconfiguring your IPv4 settings. Ensure that IPv6 is set to automatic, then deactivate and reactivate your connection.

1. Edit /etc/sysctl.conf

Verify that the following lines exist and are set to 0:

net.ipv6.conf.all.disable_ipv6 = 0  
net.ipv6.conf.default.disable_ipv6 = 0

2. Edit /etc/default/grub

Locate the following line:

ipv6.disable=1  

Change it to:

ipv6.disable=0  

3. Apply the Changes

After making these modifications, reboot your system for the changes to take effect.