禁止IPV6
1. /etc/sysconfig/network
NETWORKING_IPV6=no
2. /etc/modprobe.d/ipv6.conf (新建文件)
alias net-pf-10 off
alias ipv6 off
blacklist ipv6
参考
# lsmod | grep ipv6
ipv6 321774 169 bonding
解决办法
/etc/sysconfig/network-scripts/ifcfg-bondX
IPV6INIT=no
1. /etc/sysconfig/network
NETWORKING_IPV6=no
2. /etc/modprobe.d/ipv6.conf (新建文件)
alias net-pf-10 off
alias ipv6 off
blacklist ipv6
以上两个修改重启后能够禁用 IPV6
参考
# lsmod | grep ipv6
ipv6 321774 169 bonding
解决办法
/etc/sysconfig/network-scripts/ifcfg-bondX
IPV6INIT=no