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

# vi /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

One Response to “How to disable IPv6 in RHEL 5, Fedora, CentOS?”

  1. 1chrysleron 13 Jan 2022 at 12:40 am

    3hearings…

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.