Friday, August 13, 2010

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
After these changes, IPv6 will be disabled after the next reboot of your system.

1 comment:

Ahmed Amer said...

Hey ,
May I ask why I should disable IPV6?have you ever met a case/issue that enforced you to disable it?