xref: /linux/Documentation/networking/ipv6.rst (revision 8c994eff8fcfe8ecb1f1dbebed25b4d7bb75be12)
1.. SPDX-License-Identifier: GPL-2.0
2
3====
4IPv6
5====
6
7
8Options for the ipv6 module are supplied as parameters at load time.
9
10Module options may be given as command line arguments to the insmod
11or modprobe command, but are usually specified in either
12``/etc/modules.d/*.conf`` configuration files, or in a distro-specific
13configuration file.
14
15The available ipv6 module parameters are listed below.  If a parameter
16is not specified the default value is used.
17
18The parameters are as follows:
19
20disable
21
22	Specifies whether to load the IPv6 module, but disable all
23	its functionality.  This might be used when another module
24	has a dependency on the IPv6 module being loaded, but no
25	IPv6 addresses or operations are desired.
26
27	The possible values and their effects are:
28
29	0
30		IPv6 is enabled.
31
32		This is the default value.
33
34	1
35		IPv6 is disabled.
36
37		No IPv6 addresses will be added to interfaces, and
38		it will not be possible to open an IPv6 socket.
39
40		A reboot is required to enable IPv6.
41
42autoconf
43
44	Specifies whether to enable IPv6 address autoconfiguration
45	on all interfaces.  This might be used when one does not wish
46	for addresses to be automatically generated from prefixes
47	received in Router Advertisements.
48
49	The possible values and their effects are:
50
51	0
52		IPv6 address autoconfiguration is disabled on all interfaces.
53
54		Only the IPv6 loopback address (::1) and link-local addresses
55		will be added to interfaces.
56
57	1
58		IPv6 address autoconfiguration is enabled on all interfaces.
59
60		This is the default value.
61
62disable_ipv6
63
64	Specifies whether to disable IPv6 on all interfaces.
65	This might be used when no IPv6 addresses are desired.
66
67	The possible values and their effects are:
68
69	0
70		IPv6 is enabled on all interfaces.
71
72		This is the default value.
73
74	1
75		IPv6 is disabled on all interfaces.
76
77		No IPv6 addresses will be added to interfaces.
78
79