← Documents Documentation/networking/ipv6.rst GitHub 원문 ↗

Linux 6.18.37 · Networking

IPv6 Module Options

IPv6 module의 disable, autoconf, disable_ipv6 load-time parameter와 각각의 범위를 설명합니다.

Source pathDocumentation/networking/ipv6.rst
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

요약·해설

ipv6.rst:1-78

세 parameter는 module을 load하면서 IPv6 전체 기능, RA 기반 address 자동 구성, 모든 interface의 IPv6를 각각 제어합니다. runtime sysctl과 달리 `disable=1` 뒤 IPv6를 다시 켜려면 reboot가 필요합니다.

Module parameter
Parameter01
disableIPv6 전체 활성module은 load하되 기능과 socket 비활성
autoconfRA 기반 주소 자동 구성 끔모든 interface에서 자동 구성 켬
disable_ipv6모든 interface IPv6 활성모든 interface IPv6 주소 비활성

비활성화 범위를 비교합니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 .. SPDX-License-Identifier: GPL-2.0
2
3 ====
4 IPv6
5 ====
6
7
8 Options for the ipv6 module are supplied as parameters at load time.
9
10 Module options may be given as command line arguments to the insmod
11 or modprobe command, but are usually specified in either
12 ``/etc/modules.d/*.conf`` configuration files, or in a distro-specific
13 configuration file.
14
15 The available ipv6 module parameters are listed below. If a parameter
16 is not specified the default value is used.
17
18 The parameters are as follows:
19
20 disable
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
42 autoconf
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
62 disable_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

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

IPv6 module parameter 지정

1-19

IPv6 module option은 module을 load할 때 parameter로 전달합니다. `insmod`나 `modprobe` command line으로 줄 수도 있지만 보통 `/etc/modules.d/*.conf` 또는 distribution별 구성 파일에 둡니다. 생략한 parameter에는 기본값이 적용됩니다.

.. SPDX-License-Identifier: GPL-2.0

====
IPv6
====


Options for the ipv6 module are supplied as parameters at load time.

Module options may be given as command line arguments to the insmod
or modprobe command, but are usually specified in either
``/etc/modules.d/*.conf`` configuration files, or in a distro-specific
configuration file.

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 parameter

20-41

`disable=0`은 기본값으로 IPv6를 활성화합니다. `disable=1`은 다른 module dependency 때문에 IPv6 module 자체는 load해야 하지만 IPv6 주소와 동작은 원하지 않을 때 모든 기능을 비활성화합니다. interface에 IPv6 주소를 추가할 수 없고 IPv6 socket도 열 수 없으며 다시 활성화하려면 reboot가 필요합니다.

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.

autoconf parameter

42-61

`autoconf`는 모든 interface에서 Router Advertisement prefix를 이용한 IPv6 address 자동 생성을 제어합니다. 0이면 전역 autoconfiguration을 끄되 IPv6 loopback `::1`과 link-local address는 계속 추가합니다. 1은 모든 interface에서 autoconfiguration을 켜는 기본값입니다.

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 parameter

62-78

`disable_ipv6=0`은 모든 interface에서 IPv6를 켜는 기본값입니다. 1이면 모든 interface에서 IPv6를 끄고 IPv6 address가 추가되지 않게 합니다. module 기능 전체와 socket 생성까지 막는 `disable`과 달리 여기서는 interface 전체의 IPv6 사용 여부를 제어한다는 차이가 있습니다.

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.