dhclient: lease renewal woes

Shawn Routhier sar at isc.org
Sun Sep 9 17:13:59 UTC 2012


Depending on your version you may be able to use the
following options:
dhcp-renewal-time
dhcp-rebind-tine
Rather than modifying the code.

They can be set in the server configuration file if you have access
to it.  They can also be set int he client configuration file to supersede
what the client receives.

In my test bed the following in the the client configuration file
supersede dhcp-renewal-time = encode-int(5, 32); 
sets the renew time to 5 seconds.



On Sep 9, 2012, at 9:37 AM, Steve Clark wrote:

> On 09/09/2012 12:11 AM, Mr Dash Four wrote:
>>> It's a useful test to see if it's client related or a provider issue
>>> that affects all clients.
>> I did what I usually do when I get stuck in a situation like this one - examine the source and modify it to suit my own needs. Problem solved - no more mindless attempts by dhclient to connect to the dhcp server when half of the lease is still valid, just instant renewal when needed!
>> _______________________________________________
>> dhcp-users mailing list
>> dhcp-users at lists.isc.org
>> https://lists.isc.org/mailman/listinfo/dhcp-users
>> 
> Mr. Dash Four,
> 
> could you be so kind as to share your patches. I have the same problem with my cable modem and provider and
> get a filled up log file as follows until I kill dhclient and restart it. Running
> dhclient-4.1.1-18.P1.fc12.x86_64.
> 
> Sep  9 03:42:14 joker dhclient[1344]: DHCPREQUEST on eth0 to 10.99.0.1 port 67
> Sep  9 03:42:28 joker dhclient[1344]: DHCPREQUEST on eth0 to 10.99.0.1 port 67
> Sep  9 03:42:39 joker dhclient[1344]: DHCPREQUEST on eth0 to 10.99.0.1 port 67
> Sep  9 03:42:52 joker dhclient[1344]: DHCPREQUEST on eth0 to 10.99.0.1 port 67
> Sep  9 03:42:59 joker dhclient[1344]: DHCPREQUEST on eth0 to 10.99.0.1 port 67
> Sep  9 03:43:16 joker dhclient[1344]: DHCPREQUEST on eth0 to 10.99.0.1 port 67
> Sep  9 03:43:26 joker dhclient[1344]: DHCPREQUEST on eth0 to 10.99.0.1 port 67
> Sep  9 03:43:41 joker dhclient[1344]: DHCPREQUEST on eth0 to 10.99.0.1 port 67
> Sep  9 03:44:02 joker dhclient[1344]: DHCPREQUEST on eth0 to 10.99.0.1 port 67
> Sep  9 03:44:11 joker dhclient[1344]: DHCPREQUEST on eth0 to 10.99.0.1 port 67
> Sep  9 03:44:20 joker dhclient[1344]: DHCPREQUEST on eth0 to 10.99.0.1 port 67
> Sep  9 03:44:41 joker dhclient[1344]: DHCPREQUEST on eth0 to 10.99.0.1 port 67
> Sep  9 03:45:02 joker dhclient[1344]: DHCPREQUEST on eth0 to 10.99.0.1 port 67
> 
> 
> -- 
> Stephen Clark
> NetWolves
> Director of Technology
> Phone: 813-579-3200
> Fax: 813-882-0209
> Email: steve.clark at netwolves.com
> http://www.netwolves.com
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20120909/4acf4dd5/attachment.html>


More information about the dhcp-users mailing list