This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux:disable_ipv6 [2022/09/19 10:02] admin |
linux:disable_ipv6 [2022/09/19 10:07] (current) admin |
||
---|---|---|---|
Line 7: | Line 7: | ||
Open a terminal window. | Open a terminal window. | ||
+ | |||
Change to the root user. | Change to the root user. | ||
+ | |||
Issue the command : | Issue the command : | ||
<code bash> | <code bash> | ||
sysctl -w net.ipv6.conf.all.disable_ipv6=1 | sysctl -w net.ipv6.conf.all.disable_ipv6=1 | ||
</code> | </code> | ||
+ | |||
Issue the command : | Issue the command : | ||
<code bash> | <code bash> | ||
Line 37: | Line 40: | ||
<code bash> | <code bash> | ||
net.ipv6.conf.all.disable_ipv6 = 1 | net.ipv6.conf.all.disable_ipv6 = 1 | ||
- | |||
net.ipv6.conf.default.disable_ipv6 = 1 | net.ipv6.conf.default.disable_ipv6 = 1 | ||
- | |||
net.ipv6.conf.lo.disable_ipv6 = 1 | net.ipv6.conf.lo.disable_ipv6 = 1 | ||
- | |||
</code> | </code> | ||
4. Save and close the file. | 4. Save and close the file. |