Re: DHCP lease renew

On Mon, 2018-12-24 at 08:03 +0000, Usyskin, Alexander via
networkmanager-list wrote:

I'm trying to force DHCP lease renew for specific interface.
Basically replicate in Linux IpRenewAddress function from Win32 API.
Without NetworkManager it's fairly simple, like "dhclient -r eth4 &&
dhclient -1 eth4".
But NetworkManager manages dhclient in different way, so that lead to
an unexpected consequences.

I can't find a way to ask NetworkManager to forcefully renew the
lease. Neither through DBus API, nor from command line.
Is there any way to do such thing?
If not, how can I file an enhancement request?

Please CC me on reply, I'm not subscribed to this list.


$ nmcli device reapply $IFNAME

(or, on D-Bus, via Device's Reapply() method).

(or, fully reactivate the profile, like)

  nmcli connection up "$PROFILE"


Attachment: signature.asc
Description: This is a digitally signed message part

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]