no DHCPRELEASE sent out by dhclient -r on Linux

Peter Rathlev peter at
Fri Jul 10 07:35:05 UTC 2015

Hi Marc,

On Wed, 2015-07-08 at 14:03 +0200, Marc Haber wrote:
> When I tell dhclient to explicitly release the current lease (dhclient
> -r), I see the following behavior:
> root at grml ~ # dhclient -v -r eth0
> Killed old client process

You need to point out to dhclient where the lease file is with the "-lf"
parameter. It should then release exactly that lease. Since the lease
file could be placed anywhere this is necessary.

You can probably see where the lease file is by looking at the running
dhclient process which should also have the "-lf" parameter:

$ ps ax | fgrep dhclient
19902 ? S 0:00 /sbin/dhclient -d -sf /usr/libexec/nm-dhcp-helper -pf /var/run/ -lf /var/lib/NetworkManager/ -cf /var/lib/NetworkManager/dhclient-em1.conf em1

Sorry for the long line. :-)


More information about the dhcp-users mailing list