Reduce dhclient renewal time for testing the hook

Viewed 17

I want to test some hook in /etc/dhcp/dhclient-enter-hooks.d/ and therefore I need to reduce the renewal time to several seconds just until the hook works as I expect. Yet, the dhclient obstinately reports something like

bound to 10.11.0.126 -- renewal in 11982 seconds.

I do not want to wait longer than three hours. What is the setting in /etc/dhcp/dhclient.conf that works?

0 Answers
Related