Disable IPv6: Difference between revisions
Jump to navigation
Jump to search
Created page with "*The kernel option <code>ipv6.disable=1</code> disables the whole IPv6 stack *If using the kernel option is not possible, add the following parameters to <code>/etc/sysctl.con..." |
No edit summary |
||
| Line 1: | Line 1: | ||
*The kernel option <code>ipv6.disable=1</code> disables the whole IPv6 stack | *The kernel option <code>ipv6.disable=1</code> disables the whole IPv6 stack | ||
*If using the kernel option is not possible, add the following parameters to <code>/etc/sysctl.conf</code>: | *If using the kernel option is not possible, add the following parameters to <code>/etc/sysctl.conf</code>: | ||
<pre># Disable IPv6 | |||
net.ipv6.conf.all.disable_ipv6 = 1 | |||
net.ipv6.conf.default.disable_ipv6 = 1 | |||
net.ipv6.conf.lo.disable_ipv6 = 1 | |||
net.ipv6.conf.eth0.disable_ipv6 = 1</pre> | |||
Revision as of 20:29, 21 August 2016
- The kernel option
ipv6.disable=1disables the whole IPv6 stack - If using the kernel option is not possible, add the following parameters to
/etc/sysctl.conf:
# Disable IPv6 net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1 net.ipv6.conf.eth0.disable_ipv6 = 1