DHCPv4 Configuration
To enable DHCPv4 on a physical link, create a DHCPv4Config configuration document with the name of the link:ignoreHostname: true: ignore the hostname provided by the DHCP server.routeMetric: 512: set the metric for routes provided by DHCP.clientIdentifier: configures the DHCP client identifier, which can have one of the following values:mac: use the MAC address as the client identifier (default).duid: use a DUID (DHCP Unique Identifier) as the client identifier, requiresduidRawfield to be set.off: disable the client identifier.
DHCPv6 Configuration
To enable DHCPv6 on a physical link, create a DHCPv6Config configuration document with the name of the link:Observing Status
Usetalosctl to get the list of all configured operators (which includes DHCP clients):
--namespace=network-config flag: