
How to turn off ubuntu's IPv6
Modify the /etc/sysctl.conf
file and add the following
Lazy version
1
2
3
4
net.ipv6.conf.all.disable_ipv6=1
net.ipv6.conf.default.disable_ipv6=1
net.ipv6.conf.lo.disable_ipv6=1
Execute sysctl -p to make the settings take effect
1
2
3
echo "net.ipv6.conf.all.disable_ipv6=1 \n
net.ipv6.conf.default.disable_ipv6=1 \n
net.ipv6.conf.lo.disable_ipv6=1 \n ">> /etc/sysctl.conf
💘 相关文章
- 关闭ubuntu的IPv6 的方法
- Debian 10 how to turn IPv6 on and off
- ubuntu 開機無法啟動排查記錄
- 使用ipv6进行rsync基于密匙证书进行数据同步教程。
- ipv6 /64的可用IP地址計算方法
- 在ARM服务器中基于ubuntu系统一键架设nginx quic http3环境
- how can do speed test network for debian /ubuntu?
- ubuntu 使用snap安装包和软件的一些常用命令
- sh: 0: getcwd() failed: No such file or directory的原因
- How to query the hard disk usage time of various distribution Linux systems