Ubuntu18.04系統(tǒng)中如何關(guān)閉ipv6
發(fā)布時間:2022/10/29 11:32:10
Ubuntu18.04系統(tǒng)中如何關(guān)閉ipv6
在Ubuntu18.04系統(tǒng)中如何關(guān)閉ipv6呢?本文給出詳細(xì)說明。
1.查看ipv6
ifconfig
2.編輯配置文件/etc/sysctl.conf,在文件末尾添加以下命令后保存并重啟系統(tǒng)。
net.ipv6.conf.all.disable_ipv6=1
net.ipv6.conf.default.disable_ipv6=1
net.ipv6.conf.lo.disable_ipv6=1
3.再次查看ipv6
ifconfig
本文來源:
http://666323.cn/aws/article/6182.html
[復(fù)制鏈接]
鏈接已復(fù)制