Saturday, April 17, 2010

How to disable IPv6 in RHEL 5, Fedora, CentOS?

In Red Hat Enterprise 5 Linux internet protocol version 6 (IPv6) module is turned on by default and if your network is not ready to run IPv6 then you need to turn it off on your Linux server.

Steps to disabled IPv6 on RHEL 5:

1. In Fedora, CentOS or RHEL5 Linux modules are loaded using /etc/modprobe.conf file.

Add these line to disable autloading of IPv6 module in /etc/modprobe.conf
alias net-pf-10 off
alias ipv6 off 
2. Next edit /etc/sysconfig/network
# nano /etc/sysconfig/network 


Change to the following.
NETWORKING_IPV6=no 


3. Also to disable the IPv6 service.
# service ip6tables stop 


4. permanently disabling.
# chkconfig ip6tables off 

No comments:

Post a Comment