开发进行时...

crazy coder

Avatar

禁用ipv6

CentOS/Fedora/Mandrake/RedHat

echo 'alias net-pf-10 off' >> /etc/modprobe.conf
echo 'alias ipv6 off' >> /etc/modprobe.conf

在/etc/sysconfig/network加入
NETWORKING_IPV6=NO


Debian/Ubuntu

echo 'alias net-pf-10 off' >> /etc/modprobe.d/00local
echo 'alias ipv6 off' >> /etc/modprobe.d/00local

或者在c/modprobe.d/aliases中修改alias net-pf-10 ipv6为
as net-pf-10 off