summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-12-30 02:16:37 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2024-12-30 02:27:39 +0100
commit7bbe9ad796d69370d49e2f3eeddd4727ba413ffc (patch)
tree9f921fa19598b61bfe15fbd83d931409b8c8760d /man
parentman/networkd.conf: update section explanation (diff)
downloadsystemd-7bbe9ad796d69370d49e2f3eeddd4727ba413ffc.tar.xz
systemd-7bbe9ad796d69370d49e2f3eeddd4727ba413ffc.zip
network: introduce system wide default setting for DHCPv4 client ID
Typically, the same client identifier setting is used for all interfaces. Hence, better to provide the system-wide setting to specify the client identifier.
Diffstat (limited to 'man')
-rw-r--r--man/networkd.conf.xml14
-rw-r--r--man/systemd.network.xml7
2 files changed, 19 insertions, 2 deletions
diff --git a/man/networkd.conf.xml b/man/networkd.conf.xml
index e843e3d9b1..1d5edfd45f 100644
--- a/man/networkd.conf.xml
+++ b/man/networkd.conf.xml
@@ -257,6 +257,20 @@
<variablelist class='network-directives'>
<varlistentry>
+ <term><varname>ClientIdentifier=</varname></term>
+ <listitem>
+ <para>Specifies the default DHCPv4 client identifier to be used. Takes one of <option>mac</option>
+ or <option>duid</option>. If set to <option>mac</option>, the MAC address of each link will be used.
+ If set to <option>duid</option>, an RFC4361-compliant Client ID, which is the combination of IAID
+ and DUID, is used. IAID can be configured by <varname>IAID=</varname> in each matching
+ <filename>.network</filename> file. DUID can be configured by <varname>DUIDType=</varname> and
+ <varname>DUIDRawData=</varname>. Defaults to <option>duid</option>.</para>
+
+ <xi:include href="version-info.xml" xpointer="v258"/>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><varname>DUIDType=</varname></term>
<listitem><para>Specifies how the DUID should be generated. See
<ulink url="https://tools.ietf.org/html/rfc3315#section-9">RFC 3315</ulink>
diff --git a/man/systemd.network.xml b/man/systemd.network.xml
index 6ed4dde4df..1c26609917 100644
--- a/man/systemd.network.xml
+++ b/man/systemd.network.xml
@@ -2371,8 +2371,11 @@ NFTSet=prefix:netdev:filter:eth_ipv4_prefix</programlisting>
<option>duid</option>. If set to <option>mac</option>, the MAC address of the link is used. If set
to <option>duid</option>, an RFC4361-compliant Client ID, which is the combination of IAID and
DUID, is used. IAID can be configured by <varname>IAID=</varname>. DUID can be configured by
- <varname>DUIDType=</varname> and <varname>DUIDRawData=</varname>. Defaults to
- <option>duid</option>.</para>
+ <varname>DUIDType=</varname> and <varname>DUIDRawData=</varname>. When
+ <varname>Anonymize=</varname> is enabled, <option>mac</option> is unconditionally used and the
+ specified value will be ignored. When unspecified, the value specified in the same setting in
+ <citerefentry><refentrytitle>networkd.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>
+ will be used.</para>
<xi:include href="version-info.xml" xpointer="v220"/>
</listitem>