On up-to-date RHEL5 or CentOS5 (currently that means 5.10 aka 5U10)
Add the following line to /etc/sysctl.conf:
1
|
net.ipv6.conf.all.disable_ipv6 = 1
|
On a live system you can disable it with:
1
|
echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6
|