[rhelv6-list] Disable ipv6.
David C. Miller
millerdc at fusion.gat.com
Wed Mar 9 21:02:44 UTC 2011
Is there anything different in RHEL6 for disabling ipv6? I have seen two methods on the net but want to make sure RHEL6 does not have some new way for doing this.
------------------------
Add a new file /etc/modprobe.d/ECS.conf containing
alias net-pf-10 off
alias ipv6 off
Edit /etc/sysconfig/network and add a line saying
NETWORKING_IPV6=off
Then do
chkconfig ip6tables off
then reboot.
----------------------
HOWTO Disable IPv6 in Redhat
If, for some reason, you want to disable IPv6 on a Red Hat environment, here’s how to do it.
Edit /etc/sysconfig/network
Change the following:
NETWORKING_IPV6=yes to
NETWORKING_IPV6=no
Edit /etc/modprobe.conf
Add the following if it does not exist:
alias net-pf-10 off
alias ipv6 off
Stop the ipv6tables service
service ip6tables stop
Disable the ipv6tables service
chkconfig ip6tables off
After these changes, IPv6 will be disabled after the next reboot of your system.
David.
More information about the rhelv6-list
mailing list