Disable IPv6 on RHEL5 or Centos5

Recently, bonding module requires IPv6 module. There are two possible solutions. The first is to define zeroconf to off, by adding the following line to /etc/sysconfig/network :
NOZEROCONF=yes

The other method, which actually disables IPv6 is to insert into /etc/modprobe.conf the following line:
options ipv6 disable=1

That should do the trick. You will need to restart/reload your modules, of course.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.