Back to Talos

DHCPv4Config

website/content/v1.13/reference/configuration/network/dhcpv4config.md

1.13.01.3 KB
Original Source
<!-- markdownlint-disable -->

{{< highlight yaml >}} apiVersion: v1alpha1 kind: DHCPv4Config name: enp0s2 # Name of the link (interface). clientIdentifier: mac # Client identifier to use when communicating with DHCP servers.

# Raw value of the DUID to use as client identifier.

duidRaw: 00:01:00:01:23:45:67:89:ab:cd:ef:01:23:45

{{< /highlight >}}

FieldTypeDescriptionValue(s)
namestringName of the link (interface). <details><summary>Show example(s)</summary>{{< highlight yaml >}}
name: enp0s2
{{< /highlight >}}</details>
routeMetricuint32An optional metric for the routes received from the DHCP server.

Lower values indicate higher priority. Default value is 1024. | | |ignoreHostname |bool |Ignore hostname received from the DHCP server. | | |clientIdentifier |ClientIdentifier |Client identifier to use when communicating with DHCP servers.

Defaults to 'mac' if not set. |none mac duid | |duidRaw |HardwareAddr |Raw value of the DUID to use as client identifier.

This field is only used if 'clientIdentifier' is set to 'duid'. <details><summary>Show example(s)</summary>{{< highlight yaml >}} duidRaw: 00:01:00:01:23:45:67:89:ab:cd:ef:01:23:45 {{< /highlight >}}</details> | |