[CentOS] Disabling IPv6 in CentOS 4.7

Hann-huei Chiou koala at fractal.ee.ntu.edu.tw
Mon Jun 8 22:48:28 UTC 2009


Hi,

On Sun, Jun 07, 2009 at 09:50:11PM -0400, Stephen Harris wrote:
> I thought I'd done that standard stuff
>   /etc/modprobe.conf:
>     alias net-pf-10 off
>     alias ipv6 off
>   /etc/sysconfig/network:
>     NETWORKING_IPV6=no
> 
> But on reboot I still see ipv6 entries against the eth devices, ipv6 module
> is still loaded, and sit0 tunnel is present.
> 
> What needs to be done to disable ipv6?

Just put these in your /etc/modprobe.conf to disable IPv6:

blacklist net-pf-10
blacklist ipv6
install ipv6 /bin/true

Regards,



More information about the CentOS mailing list