

GRUB_CMDLINE_LINUX="ipv6.disable=1 crashkernel=auto rd.lvm.lv=ol/root rd.lvm.lv=ol/swap rhgb quiet numa=off transparent_hugepage=never"

Restrict -6 default kod nomodify notrap nopeer noqueryĪdd ipv6.disable=1 to the GRUB_CMDLINE_LINUX entry in the /etc/default/grub file /]# cat /etc/default/grub | grep GRUB_CMDLINE_LINUX Right click on Parameters and select New and then DWORD (32-bit) Value. Then, navigate through HKEYLOCALMACHINE, SYSTEM, CurrentControlSet, services, TCPIP6 and Parameters. First, click on the Start Button and type in regedit and hit Enter. Remove the following line from the /etc/ntp.conf cat /etc/ntp.conf | egrep ' -6' The proper way to disable IPv6 is to disable via the registry. Remove the following line from the /etc/hosts file ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 cat /etc/sysconfig/network-scripts/ifcfg-enp0s3 | grep IPV6INITĭisable IPv6 in /etc/sysconfig/network cat /etc/sysconfig/network | grep NETWORKING_IPV6 Inet6 fe80::a00:27ff:feb8:3544/64 scope linkĪdd the disable_ipv6 = 1 entries to the /etc/nf file #- Disable IPv6ĭisable IPv6 in all /etc/sysconfig/network-scripts/ifcfg-* files, e.g. disables all IPv6 components except for the IPv6 loopback interface.
#DISABLE IPV6 LOOPBACK WINDOWS 10 WINDOWS 10#
To display the current policy table on Windows, run the following command: netsh interface ipv6 show prefixpolicies The following prefix policy settings are used by default on Windows 10/11 and Windows Server 2019/2016. Only tested on windows 10 system, you can use Disable-NetAdapterBinding to disable. Inet6 fe80::ad02:9b6a:bf40:5a3a/64 scope link At least for me, I dont see a loopback device in my device manager. You can use such a solution without the need to completely disable the IPv6 on a source and the target host.

Regenerate a GRUB configuration file and overwrite the existing oneįirst of all, check if IPv6 is active at all ~]# /sbin/ip -6 addr.Add ipv6.disable=1 to the GRUB_CMDLINE_LINUX entry in the /etc/default/grub file.Remove the “restrict -6” line from the /etc/ntp.conf.Remove the “::1” line from the /etc/hosts file.Disable IPv6 in all /etc/sysconfig/network-scripts/ifcfg-* files, e.g.Add the disable_ipv6 = 1 entries to the /etc/nf file.First of all, check if IPv6 is active at all.Unless you have something very very special on your System, these 10 Steps should do it. In case you are not interested in IPv6, you can use the following HowTo to disable it on Oracle Linux 7.
