I thought this might be handy, even for the ones of us that know how to do it. I found there are multiple ways to do this. There are system-wide ways to disable, and you can also disable at interface level.

Please note, that this is for general networking, rather than disabling IPV6 within such applications, eg: Firefox.

Disable at system-wide level

To disable IPV6 at system-wide level, there are two methods.

1. Edit /etc/modprobe.conf and add the following line:

CODE
alias net-pf-10 off


2. Edit /etc/sysconfig/network and add the following line:

CODE
NETWORKING_IPV6=NO


Both of these would do effectively the same thing. Most of us here always use the first method, but thought it nice that there's an alternative smile.gif

Disable at interface level

Only one method for disabling at interface level. Edit /etc/sysconfig/network-scripts/ifcfg-xxxxx where xxxxx is the specific interface, in this example I will use /etc/sysconfig/network-scripts/ifcfg-eth0, and you add this line:

CODE
IPV6INIT=NO


The benefit of this is, that if you have two network cards, you could disable on eth0 but leave IPV6 enabled on eth1, for example.