website/content/v1.13/reference/configuration/network/dhcpv4config.md
{{< highlight yaml >}} apiVersion: v1alpha1 kind: DHCPv4Config name: enp0s2 # Name of the link (interface). clientIdentifier: mac # Client identifier to use when communicating with DHCP servers.
{{< /highlight >}}
| Field | Type | Description | Value(s) |
|---|---|---|---|
name | string | Name of the link (interface). <details><summary>Show example(s)</summary>{{< highlight yaml >}} | |
| name: enp0s2 | |||
| {{< /highlight >}}</details> | |||
routeMetric | uint32 | An 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> | |