brief

sometimes we want to disable ipv6 to avoid some other mistakes, also you will get a clean output at your command ip a or ifconfig

diable ipv6

echo "
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1 " >> /etc/sysctl.conf

sysctl -p
Copyright © opschina.org 2017 with zzlyzq@gmail.com all right reserved,powered by Gitbook该文件修订时间: 2017-07-11 11:32:48

results matching ""

    No results matching ""