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