1dhcp6c.conf(5) Linux System Manager's Manual dhcp6c.conf(5)
2
3
4
6 dhcp6c.conf - configuration file of the DHCPv6 client daemon, dhcp6c
7
8
10 dhcp6c.conf is a configuration file for dhcp6c (DHCPv6 client).
11
12 dhcp6c is configured by the configuration information (such as rapid-
13 commit, requesting temp-address, or prefix-delegation) in this file.
14 dhcp6c.conf is an ASCII text file and lines that start with # are com‐
15 ments.
16
17
18 STATEMENTS
19
20 interface <interface name>
21 {
22 [declarations]
23 };
24 Write configurations for this interface in this statement. In [decla‐
25 rations], options can be specified.
26
27
28 DECLARATIONS
29
30 send [dhcpoptions];
31 With this declaration, dhcp6c sends specified options. Currently
32 rapid-commit is defined.
33
34 send rapid-commit;
35 This declaration enables dhcp6c to request the dhcp6s server to perform
36 a Rapid Commit.
37
38 request [dhcpoptions];
39 This declaration enables dhcp6c to request specified options. Cur‐
40 rently temp-address, domain-name-servers, and prefix-delegation are
41 defined.
42
43 request domain-name-servers;
44 The DHCPv6 mechanism provides a way to obtain configuration information
45 such as a list of available DNS servers or NTP servers. This declara‐
46 tion enables dhcp6c to request a DNS server address from the DHCPv6
47 server.
48
49 request prefix-delegation;
50 This declaration enables dhcp6c to request a Prefix Delegation to the
51 DHCPv6 server. dhcp6c gets a prefix assignment from the DHCPv6 server.
52
53 request temp-address;
54 This declaration enables dhcp6c to request temporary addresses. dhcp6c
55 requests Non-temporary Addresses as default. This option makes dhcp6c
56 request Temporary Addresses.
57
58 information-only;
59 This declaration enables dhcp6c to request host configuration informa‐
60 tion from the DHCPv6 server. If dhcp6c doesn't need to be assigned any
61 addresses, this option should be specified.
62
63 address {
64 [<ipv6 address>/<prefix length>];
65 [prefer-life-time <preferred-lifetime>];
66 [valid-life-time <valid-lifetime>];
67 };
68 This declaration defines the dhcp6c client preferred IPv6 address, the
69 preferred lifetime of the address, and the valid lifetime for this
70 interface.
71
72 prefix {
73 [<ipv6 prefix>/<prefix length>];
74 [prefer-life-time <preferred-lifetime>];
75 [valid-life-time <valid-lifetime>];
76 };
77 This declaration defines the dhcp6c client acting as a requesting
78 router for the preferred prefix, the prefix length, and the prefix's
79 preferred lifetime, and valid lifetime for this interface.
80
81 prefer-life-time <preferred-lifetime>;
82 This declaration sets the preferred lifetime (in seconds) of the
83 address or prefix. This declaration is valid only in address or prefix
84 declarations.
85
86 valid-life-time <valid-lifetime>;
87 This declaration sets the valid lifetime (in seconds) of the address or
88 prefix. This declaration is valid only in address or prefix declara‐
89 tions.
90
91 renew-time <renew-time>;
92 This declaration specifies the Renew Time (in seconds) for this Iden‐
93 tity Association (IA). Renew Time is a T1 value in an IA option. dhcp6c
94 sets the Renew Time in IA options to the specified value.
95
96 rebind-time <rebind-time>;
97 This declaration specifies the Rebind Time (in seconds) for this IA.
98 Rebind Time is T2 value in an IA option. dhcp6c sets the Rebind Time in
99 IA options to the specified value.
100
101
102 DHCPOPTIONS
103
104 rapid-commit
105 If this option is used in a "send [dhcpoptions];" declaration, dhcp6c
106 sends DHCPv6 messages with a Rapid Commit option.
107
108 domain-name-servers
109 If this option is used in a "request [dhcpoptions];" declaration,
110 dhcp6c requests the DNS server address via the DHCPv6 mechanism.
111
112 prefix-delegation
113 If this option is used in a "request [dhcpoptions];" declaration,
114 dhcp6c requests a Prefix Delegation to the DHCPv6 servers.
115
116 prefix-delegation-interface <interface name>
117 Specifies the name of the interface definition in radvd.conf
118 that dhcp6c will write the 'prefix' declaration for. By default,
119 dhcp6c will write a radvd.conf prefix declaration for the interface
120 on which it receives the prefix delegation lease.
121
122 use-ra-prefix;
123 This declaration tells the client not to request the address prefix
124 configured in the server's address or range statements. With this
125 option, client address prefixes can be set only by router advertise‐
126 ments, and the prefix configured in server address or range statements
127 will be ignored. This is a Red Hat extension; previously, the only way
128 to set client address prefixes was by router advertisement.
129
130
132 This is a sample of the dhcp6c.conf file.
133 interface eth0 {
134 send rapid-commit;
135 request prefix-delegation;
136 request domain-name-servers;
137 request temp-address;
138 iaid 11111;
139 address {
140 3ffe:10::10/64;
141 prefer-life-time 6000;
142 valid-life-time 8000;
143 };
144 renew-time 11000;
145 rebind-time 21000;
146 };
147
148
150 Dynamic Host Configuration Protocol for IPv6 (DHCPv6), IPv6 Prefix
151 Options for DHCPv6, dhcp6c(5)
152
153
155 Kazuo Hiekata <hiekata@yamato.ibm.com>
156
157
158
159
160
161dhcp6c.conf 17 March 2003 dhcp6c.conf(5)