2020-04-28 06:01:50 +08:00
|
|
|
.. SPDX-License-Identifier: GPL-2.0
|
|
|
|
|
|
|
|
====
|
|
|
|
IPv6
|
|
|
|
====
|
|
|
|
|
2009-03-04 19:18:11 +08:00
|
|
|
|
|
|
|
Options for the ipv6 module are supplied as parameters at load time.
|
|
|
|
|
|
|
|
Module options may be given as command line arguments to the insmod
|
2012-03-31 04:37:16 +08:00
|
|
|
or modprobe command, but are usually specified in either
|
2020-04-28 06:01:50 +08:00
|
|
|
``/etc/modules.d/*.conf`` configuration files, or in a distro-specific
|
2012-03-31 04:37:16 +08:00
|
|
|
configuration file.
|
2009-03-04 19:18:11 +08:00
|
|
|
|
|
|
|
The available ipv6 module parameters are listed below. If a parameter
|
|
|
|
is not specified the default value is used.
|
|
|
|
|
|
|
|
The parameters are as follows:
|
|
|
|
|
|
|
|
disable
|
|
|
|
|
|
|
|
Specifies whether to load the IPv6 module, but disable all
|
|
|
|
its functionality. This might be used when another module
|
|
|
|
has a dependency on the IPv6 module being loaded, but no
|
|
|
|
IPv6 addresses or operations are desired.
|
|
|
|
|
|
|
|
The possible values and their effects are:
|
|
|
|
|
|
|
|
0
|
|
|
|
IPv6 is enabled.
|
|
|
|
|
|
|
|
This is the default value.
|
|
|
|
|
|
|
|
1
|
|
|
|
IPv6 is disabled.
|
|
|
|
|
|
|
|
No IPv6 addresses will be added to interfaces, and
|
|
|
|
it will not be possible to open an IPv6 socket.
|
|
|
|
|
|
|
|
A reboot is required to enable IPv6.
|
|
|
|
|
2009-06-01 18:07:33 +08:00
|
|
|
autoconf
|
|
|
|
|
|
|
|
Specifies whether to enable IPv6 address autoconfiguration
|
|
|
|
on all interfaces. This might be used when one does not wish
|
|
|
|
for addresses to be automatically generated from prefixes
|
|
|
|
received in Router Advertisements.
|
|
|
|
|
|
|
|
The possible values and their effects are:
|
|
|
|
|
|
|
|
0
|
|
|
|
IPv6 address autoconfiguration is disabled on all interfaces.
|
|
|
|
|
|
|
|
Only the IPv6 loopback address (::1) and link-local addresses
|
|
|
|
will be added to interfaces.
|
|
|
|
|
|
|
|
1
|
|
|
|
IPv6 address autoconfiguration is enabled on all interfaces.
|
|
|
|
|
|
|
|
This is the default value.
|
|
|
|
|
|
|
|
disable_ipv6
|
|
|
|
|
|
|
|
Specifies whether to disable IPv6 on all interfaces.
|
|
|
|
This might be used when no IPv6 addresses are desired.
|
|
|
|
|
|
|
|
The possible values and their effects are:
|
|
|
|
|
|
|
|
0
|
|
|
|
IPv6 is enabled on all interfaces.
|
|
|
|
|
|
|
|
This is the default value.
|
|
|
|
|
|
|
|
1
|
|
|
|
IPv6 is disabled on all interfaces.
|
|
|
|
|
|
|
|
No IPv6 addresses will be added to interfaces.
|
|
|
|
|