Centos6 关闭IPV6

编辑 /etc/modprobe.d/dist.conf 文件增加如下内容:

alias net-pf-10 off
options ipv6 disable=1

编辑 /etc/sysconfig/network 增加内容:

NETWORKING_IPV6=no

关闭ip6tables

chkconfig ip6tables off
reboot

你可能感兴趣的:(centos,alias,NetWork,编辑,休闲)