CENTOS7关闭IPV6

    nano /etc/sysctl.conf

    net.ipv6.conf.all.disable_ipv6=1

    nano /etc/sysconfig/network

    NETWORKING_IPV6=no

    nano /etc/sysconfig/network-scripts/ifcfg-eth0

    IPV6INIT="no"
    #IPV6_ADDR_GEN_MODE="eui64"
    #IPV6_PRIVACY="no"

    执行

    sysctl -p

    转载请注明:RAIN MAN » CENTOS7关闭IPV6

    喜欢 1
标签:

还没有人抢沙发呢~