[CentOS] Disable IPV6

Karanbir Singh mail-lists at karan.org
Wed Nov 29 19:49:57 UTC 2006

Aleksandar Milivojevic wrote:
> Quoting Tom Brown <tom at ng23.net>:
>> Hi
>> On a CentOS 4.x box how does one disable IPV6?
>> Is adding "alias net-pf-10 off" to the end of modprobe.conf and a
>> reboot still the 'standard' way of doing this ?
> Yes, it is the only way of doing it.  That alias will simply disable 
> automatic loading of ipv6 kernel module.  You can still load it manually 
> (using modprobe).
> In 2.4 kernels ipv6 kernel module was not automatically loaded.  If you 
> wanted ipv6 module to automatically be loaded in 2.4 kernels, you had to 
> use "alias net-pf-10 ipv6".  In 2.6 kernels, default was changed to 
> autoload the ipv6 module if userland application needs IPv6.  Nowdays, 
> almost all network daemons are IPv6 enabled.  Triggering the load of 
> ipv6 kernel module as system services are started (unless you disabled 
> autoloading of ipv6).

this question has been asked so many times on the list that we should 
add it to the FAQ

Karanbir Singh : http://www.karan.org/ : 2522219 at icq

More information about the CentOS mailing list