Disable ipv6 on RHEL 4 and 5

Edit /etc/sysconfig/network and change

NETWORKING_IPV6=yes to
NETWORKING_IPV6=no

Edit /etc/modprobe.conf and add these lines (if they’re not in it):

alias net-pf-10 off
alias ipv6 off

Stop the ipv6tables service by typing:

service ip6tables stop

Disable the ipv6tables service by typing:

chkconfig ip6tables off

IPv6 will be disabled after the next reboot of the system.

One Response to “Disable ipv6 on RHEL 4 and 5”

  1. 2spywareon 13 Jan 2022 at 1:24 am

    2maldives…

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.