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...") |
(No difference)
|
Revision as of 08:27, 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>