[systemd-devel] Retrieving networkd dhcp options

Rouven Czerwinski r.czerwinski at pengutronix.de
Thu Feb 2 08:40:06 UTC 2023


Hi,

for a project we are using systemd and have switched over to networkd
for network configuration. An open question we now have is that the
application running on the hardware requires information contained in
the DHCP options, i.e. where to fetch the configuration from. I found
/run/systemd/netif/leases/* but, the "This is private data. Do not
parse." indicates that this shouldn't be used by other applications.

Is there any other method to retrieve the dhcp options obtained from
the server via networkd?

Best regards,
Rouven Czerwinski


More information about the systemd-devel mailing list