networkd.conf systemd Developer Vinay Kulkarni kulkarniv@vmware.com networkd.conf 5 networkd.conf networkd.conf.d Global Network configuration files /etc/systemd/networkd.conf /etc/systemd/networkd.conf.d/*.conf /usr/lib/systemd/networkd.conf.d/*.conf Description These configuration files control global network parameters. For e.g. DHCP Unique Identifier (DUID). [DUID] Section Options This section configures the DHCP Unique Idendifier (DUID) value used by DHCP protocol. DHCPv6 client protocol sends the DHCP Unique Identifier and the interface Identity Association Identifier (IAID) to a DHCP server when acquiring a dynamic IPv6 address. DHCPv4 client protocol sends IAID and DUID to the DHCP server when acquiring a dynamic IPv4 address if . IAID and DUID allows a DHCP server to uniquely identify the machine and the interface requesting a DHCP IP. To configure IAID and ClientIdentifier, see systemd.network 5. The DUID value specified here overrides the DUID that systemd-networkd generates using the machine-id from the /etc/machine-id file. To configure DUID per-network, see systemd.network 5. The configured DHCP DUID should conform to the specification in RFC 3315, RFC 6355. To configure IAID, see systemd.network5 . The following options are available in [DUID] section: Type= The type of DUID specified in this section. The following values are supported: raw : If Type=raw, then RawData= specifies the entire DUID. For e.g: RawData=00:02:00:00:ab:11:f9:2a:c2:77:29:f9:5c:00 specifies a 14 byte long DUID-EN ("00:02"), with enterprise number 43793 ("00:00:ab:11"), and identifier value "f9:2a:c2:77:29:f9:5c:00".If Type is not specified and RawData is specified, Type defaults to 'raw'. Type will support the following values in the future: link-layer-and-time : If Type=link-layer-and-time, then MACAddress= and TimeStamp= specify the hardware address and time-stamp for DUID-LLT. vendor : If Type=vendor, then EnterpriseNumber= and RawData= specify the enterprise number and identifier for DUID-EN. link-layer : If Type=link-layer, then MACAddress= specifies the hardware address for DUID-LL. uuid : If Type=uuid, then UUID= specifies DUID-UUID. RawData= Specifies the DUID bytes as a single newline-terminated, hexadecimal string, with each byte separated by a ':'. The following options will be supported in the future: MACAddress= Specifies the link-layer address for DUID Type or . TimeStamp= Specifies the DUID generation time for DUID Type . EnterpriseNumber= Specifies the enterprise number for DUID Type . UUID= Specifies the UUID for DUID Type . See Also systemd1, systemd.network5, machine-id1