For this specific, bug, the problem is as follows in the code for src/netword.c
`
if (def->dhcp4 || def->dhcp6) {
/* isc-dhcp dhclient compatible UseMTU, networkd default is to
* not accept MTU, which breaks clouds */ g_string_append_printf(s, "\n[DHCP]\nUseMTU=true\n");
/* NetworkManager compatible route metrics */ g_string_append_printf(s, "RouteMetric=%i\n", (def->type == ND_WIFI ? 600 : 100));
if (g_strcmp0(def->dhcp_identifier, "duid") != 0) g_string_append_printf(s, "ClientIdentifier=%s\n", def->dhcp_identifier);
}
`
It's literally hardcoded to write 2 or 3 dhcp options: UseMTU, RouteMetric and ClientIdentifier.
This bug appears to be pointing out that at least provide the option to add UseDNS=false, and more generally, allow the ability to configure all the DHCP options supported by systemd-networkd
I don't think the two bugs are related.
For this specific, bug, the problem is as follows in the code for src/netword.c
`
g_string_ append_ printf( s, "\n[DHCP] \nUseMTU= true\n" );
g_string_ append_ printf( s, "RouteMetric=%i\n", (def->type == ND_WIFI ? 600 : 100)); def->dhcp_ identifier, "duid") != 0)
g_ string_ append_ printf( s, "ClientIdentifi er=%s\n" , def->dhcp_ identifier) ;
if (def->dhcp4 || def->dhcp6) {
/* isc-dhcp dhclient compatible UseMTU, networkd default is to
* not accept MTU, which breaks clouds */
/* NetworkManager compatible route metrics */
if (g_strcmp0(
}
`
It's literally hardcoded to write 2 or 3 dhcp options: UseMTU, RouteMetric and ClientIdentifier.
This bug appears to be pointing out that at least provide the option to add UseDNS=false, and more generally, allow the ability to configure all the DHCP options supported by systemd-networkd