设置网卡,关闭ipv6
/etc/sysconfig/network 增加:
NETWORKING_IPV6=no
/etc/modprobe.d/dist.conf 增加:
alias net-pf-10 off
options ipv6 disable=1
RedHat 5.x
Log in as root or superuser.
If the /etc/sysconfig/network file contains the line NETWORKING_IPV6=yes, change the line to:
NETWORKING_IPV6=no
In the file /etc/modprobe.conf, add this line:
options ipv6 disable=1Save the file and reboot the system.
http://www.cyberciti.biz/faq/redhat-centos-disable-ipv6-networking/