Difference between revisions of "Ubuntu IPv6"
From Teknologisk videncenter
m (Created page with "=Enabling/Disabling IPv6= ==In flight= ;Note:Enabling or disabling IPv6 this way is only in effect until next boot. Disabling <source lang=cli> sysctl -w net.ipv6.conf.all.disabl...") |
m |
||
Line 1: | Line 1: | ||
=Enabling/Disabling IPv6= | =Enabling/Disabling IPv6= | ||
− | ==In flight= | + | ==In flight== |
;Note:Enabling or disabling IPv6 this way is only in effect until next boot. | ;Note:Enabling or disabling IPv6 this way is only in effect until next boot. | ||
Disabling | Disabling | ||
Line 21: | Line 21: | ||
net.ipv6.conf.lo.disable_ipv6 = 1 | net.ipv6.conf.lo.disable_ipv6 = 1 | ||
</source> | </source> | ||
+ | {{Source cli}} | ||
[[Category:Linux]][[Category:IPv6]] | [[Category:Linux]][[Category:IPv6]] |
Revision as of 08:28, 3 November 2011
Enabling/Disabling IPv6
In flight
- Note
- Enabling or disabling IPv6 this way is only in effect until next boot.
Disabling
sysctl -w net.ipv6.conf.all.disable_ipv6=1
sysctl -w net.ipv6.conf.default.disable_ipv6=1
sysctl -w net.ipv6.conf.lo.disable_ipv6=1
Enabling
sysctl -w net.ipv6.conf.all.disable_ipv6=0
sysctl -w net.ipv6.conf.default.disable_ipv6=0
sysctl -w net.ipv6.conf.lo.disable_ipv6=0
Disable permanent
Add the following lines to /etc/sysctl.conf. /source lang=cli> net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1 </source>