首页 > 代码库 > 关闭IPV6

关闭IPV6

[root@bgw-t ~]# cat > /etc/modprobe.d/ipv6.conf << EOF

alias net-pf-10 off

options ipv6 disable=1

EOF

 

[root@bgw-t ~]# echo "NETWORKING_IPV6=off" >> /etc/sysconfig/network