Ubuntu IPv6

From Teknologisk videncenter
Revision as of 08:27, 3 November 2011 by Heth (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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>