linux内核 ipv6_如何在Linux上禁用IPv6(旧版本内核)

linux内核 ipv6

Update: this only works on older Linux kernels (e.g. Fedora 12). For newer kernels, please see How to disabling IPv6 on Linux

更新:这仅适用于较旧的Linux内核(例如Fedora 12)。 对于较新的内核,请参阅如何在Linux上禁用IPv6

IPv6 is enabled by default on most Linux distros. However, IPv4 is still the mostly used network and IPv6 is not used in many environment. This post introduces how to disable IPv6 support on Linux.

大多数Linux发行版都默认启用IPv6。 但是,IPv4仍然是最常用的网络,并且在许多环境中都没有使用IPv6。 这篇文章介绍了如何在Linux上禁用IPv6支持。

The method is simple:

方法很简单:

# echo "options ipv6 disable=1" >> /etc/modprobe.d/disable-ipv6.conf

“option ipv6 disable=1” tells Linux not to enable the ipv6 module.

“ option ipv6 disable = 1”告诉Linux不要启用ipv6模块。

翻译自: https://www.systutorials.com/disable-ipv6-on-linux/

linux内核 ipv6

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值