On Mon, Jun 30, 2014 at 6:14 PM, Mantas Mikulėnas <graw...@gmail.com> wrote: > I noticed commit 68ceb9df6a39a7 says: > > sd-dhcp-client/networkd: set lifetimes for IPv4 addresses > > Note that /proc/sys/net/ipv4/ip_dynaddr needs to be non-zero. > > If I understand it correctly, the commit makes it so that IPv4 address > lifetimes from DHCP show up as "valid_lft X preferred_lft Y" in `ip > addr`.
Correct. > If that's the case, why the sysctl requirement, if the same > information already shows up in `ip -4 addr` when set by > NetworkManager, even though the sysctl has always been zero on my > system? > > Also: I tried searching ~/src/linux/Documentation for ip_dynaddr, and > it seems to be talking about IP address rewriting or masquerading, > *not* lifetimes/expiry? Confused. Indeed, the commit message seems wrong. Patrik, care to comment? (he is on holiday, so don't expect an answer for another month or so :) ). Cheers, Tom _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel