隨便寫寫
2016年11月27日 星期日
ubuntu 16.04 關閉ipv6方法
1、開啟 /etc/sysctl.conf 。
sudo gedit /etc/sysctl.conf
2.在底部增加程式碼。
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
3.立即套用設定。
sudo sysctl -p
4.ip a | grep inet6
沒出現文字表示已關閉 ipv6 。
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言