Centos 6 error after closing ipv6: Module off not found Solution

  
                  

Centos 6 Turn off ipv6 Add the following in /etc/modprobe.d/dist.conf

alias net-pf-10 off alias ipv6 off

This step can disable ipv6, but Restart the network will prompt error FATAL: Module off not found.

The solution is as follows:

1. alias ipv6 off replaced by options ipv6 disable=1

2. /etc /sysconfig/network Add the following line

NETWORKING_IPV6=off

3. Close iptables of iptables #chkconfig ip6tables off

Copyright © Windows knowledge All Rights Reserved