[systemd-devel] dhcp address change callback?
Lennart Poettering
mzerqung at 0pointer.de
Mon Jan 25 08:49:14 PST 2016
On Mon, 25.01.16 10:25, Dan Williams (dcbw at redhat.com) wrote:
> While it would be nice to attach metadata to addresses to indicate that
> an address came from DHCP or RA or PPP or LL or whatever, the kernel
> has no facility for that so users are stuck asking management daemons
> like networkd or NetworkManager where the address came from if they
> need to know.
Well, for routes we actually can indicate that (RTPROT_DHCP) and we do
set in networkd at least. Hence you could derive some info there, even
though it won't let you know this as property of the configured
address.
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list