How do I find the DHCP lease time when I am using systemd-networkd
?
My network is defined in /etc/systemd/network/eth0.network
:
[Match]
Name=eth0
[Network]
DHCP=yes
There are other question on this site asking for the same information but they weren't using systemd-networkd
but dhclient
or some other method.
I've tried looking in journalctl
to no avail. I’m using ArchLinux.
grep lease /var/log/syslog
.