CentOS 6 禁止IPv6

建立禁止启动ipv6模块网络

vi /etc/modprobe.d/disable-ipv6.confide

copy内容3d

install ipv6 /bin/trueblog


网络标注禁用ipv6ip

cat <<EOF>>/etc/sysconfig/networkget

IPV6INIT=noit

EOFclass


ipv6模块应该是没有加载的network

lsmod | grep ipv6grep

image

image


查ipv6 地址应该是没有的

ifconfig | grep -i inet6

image

image

相关文章
相关标签/搜索