X Tutup
Skip to content

Commit 4e26a5b

Browse files
committed
network: make IAID and DUID for DHCPv6 configurable explicitly
Closes systemd#18996.
1 parent cde74a6 commit 4e26a5b

14 files changed

+307
-97
lines changed

man/networkd.conf.xml

Lines changed: 28 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -98,15 +98,12 @@
9898
</refsect1>
9999

100100
<refsect1>
101-
<title>[DHCP] Section Options</title>
102-
103-
<para>This section configures the DHCP Unique Identifier (DUID) value used by DHCP
104-
protocol. DHCPv6 client protocol sends the DHCP Unique Identifier and the interface
105-
Identity Association Identifier (IAID) to a DHCP server when acquiring a dynamic IPv6
106-
address. DHCPv4 client protocol sends IAID and DUID to the DHCP server when acquiring
107-
a dynamic IPv4 address if <option>ClientIdentifier=duid</option>. IAID and DUID allows
108-
a DHCP server to uniquely identify the machine and the interface requesting a DHCP IP.
109-
To configure IAID and ClientIdentifier, see
101+
<title>[DHCPv4] Section Options</title>
102+
103+
<para>This section configures the DHCP Unique Identifier (DUID) value used by DHCP protocol. DHCPv4
104+
client protocol sends IAID and DUID to the DHCP server when acquiring a dynamic IPv4 address if
105+
<option>ClientIdentifier=duid</option>. IAID and DUID allows a DHCP server to uniquely identify the
106+
machine and the interface requesting a DHCP IP address. To configure IAID and ClientIdentifier, see
110107
<citerefentry><refentrytitle>systemd.network</refentrytitle><manvolnum>5</manvolnum></citerefentry>.
111108
</para>
112109

@@ -188,6 +185,28 @@ DUIDRawData=00:00:ab:11:f9:2a:c2:77:29:f9:5c:00</programlisting>
188185
</variablelist>
189186
</refsect1>
190187

188+
<refsect1>
189+
<title>[DHCPv6] Section Options</title>
190+
191+
<para>This section configures the DHCP Unique Identifier (DUID) value used by DHCPv6 protocol.
192+
DHCPv6 client protocol sends the DHCP Unique Identifier and the interface Identity Association
193+
Identifier (IAID) to a DHCPv6 server when acquiring a dynamic IPv6 address. IAID and DUID allows a
194+
DHCPv6 server to uniquely identify the machine and the interface requesting a DHCP IP address. To
195+
configure IAID, see
196+
<citerefentry><refentrytitle>systemd.network</refentrytitle><manvolnum>5</manvolnum></citerefentry>.
197+
</para>
198+
199+
<para>The following options are understood:</para>
200+
201+
<variablelist class='network-directives'>
202+
<varlistentry>
203+
<term><varname>DUIDType=</varname></term>
204+
<term><varname>DUIDRawData=</varname></term>
205+
<listitem><para>As in the [DHCPv4] section.</para></listitem>
206+
</varlistentry>
207+
</variablelist>
208+
</refsect1>
209+
191210
<refsect1>
192211
<title>See Also</title>
193212
<para>

man/systemd.network.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1983,6 +1983,9 @@ IPv6Token=prefixstable:2002:da8:1::</programlisting></para>
19831983
<term><varname>UseNTP=</varname></term>
19841984
<term><varname>UseHostname=</varname></term>
19851985
<term><varname>UseDomains=</varname></term>
1986+
<term><varname>IAID=</varname></term>
1987+
<term><varname>DUIDType=</varname></term>
1988+
<term><varname>DUIDRawData=</varname></term>
19861989
<listitem>
19871990
<para>As in the [DHCPv4] section.</para>
19881991
</listitem>

0 commit comments

Comments
 (0)
X Tutup