[systemd-devel] networkd: static fallback ip for DHCP
Benjamin Wozniak
Benjamin.Wozniak at intenta.de
Thu Nov 22 07:21:41 UTC 2018
Hi,
we are developing an embedded device that can only be accessed via network.
If DHCP is used for network configuration we need a plan B if for some reason
no lease can be obtained. Our idea is to have a static IP as fallback.
In systemd I didn't find any hooks to react to a lease fail. The files in
/var/run/systemd/netif apparently should not be used ("# This is private data.
Do not parse.").
Is the idea of a fallback IP address just not a good one, is such functionality
just not implemented in networkd or am I missing something here?
Thanks in advance,
Benjamin
More information about the systemd-devel
mailing list