如何检查Debian Linux上是否启用了IPv6?


11

可以禁用Debian Linux上的IPv6堆栈,尤其是Wheezy吗?如果是这样,我怎么知道它是否在系统上被禁用?

Answers:



5

是的你可以:

echo net.ipv6.conf.all.disable_ipv6=1  > /etc/sysctl.d/disableipv6.conf 
sysctl --system

但是您可能需要做其他几件事,如Debian Wiki中的相关文章所述。压榨的说明对Wheezy仍然有效。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.