Mar 04
If you ever wanted to disable IPv6 OR remove that annoying “sit0″ network interface:
— as seen on: http://www.vincentverhagen.nl/2007/06/22/disable-ipv6-on-red-hat/
If, for some reason, you want to disable IPv6 on a Red Hat environment, here’s how to do it. I’ve tested this with FC4, FC5, FC6, RHEL 4(.4), RHEL 5, CentOS 4(.4), CentOS 5.0.
Oh, you need to do this as root…
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.