Re: How to force DHCP renew?

2017-10-05 Thread Colin Walters
On Wed, Oct 4, 2017, at 06:20 PM, Thomas Haller wrote: > NM has a 5 seconds grace period, during which it ignores carrier going > away. It does so because the link can go down unexpectedly for unknown > reasons. > Actually, after NM changes the MTU, the 5 seconds are extended to 10 > seconds, be

Re: How to force DHCP renew?

2017-10-05 Thread Thomas Haller
On Wed, 2017-10-04 at 16:13 -0700, Stephen Hemminger wrote: > On Thu, 05 Oct 2017 00:20:28 +0200 > Thomas Haller wrote: > > > On Wed, 2017-10-04 at 11:07 -0700, Stephen Hemminger wrote: > > > On Azure (and probably other VM environments), there is a desire > > > to > > > cause guest VM to renew D

Re: How to force DHCP renew?

2017-10-04 Thread Stephen Hemminger
On Thu, 05 Oct 2017 00:20:28 +0200 Thomas Haller wrote: > On Wed, 2017-10-04 at 11:07 -0700, Stephen Hemminger wrote: > > On Azure (and probably other VM environments), there is a desire to > > cause guest VM to renew DHCP > > lease in response to host infrastructure changes. These include > > th

Re: How to force DHCP renew?

2017-10-04 Thread Thomas Haller
On Wed, 2017-10-04 at 11:07 -0700, Stephen Hemminger wrote: > On Azure (and probably other VM environments), there is a desire to > cause guest VM to renew DHCP > lease in response to host infrastructure changes. These include > things like spinning up > lots of VM's then suspending them and later

How to force DHCP renew?

2017-10-04 Thread Stephen Hemminger
On Azure (and probably other VM environments), there is a desire to cause guest VM to renew DHCP lease in response to host infrastructure changes. These include things like spinning up lots of VM's then suspending them and later unfreezing them as needed. The other scenario is doing renew follow