Red Hat Bugzilla – Bug 88555
BAD: ****DHCLIENT***** RH8.0,9.0 Default Versions, DOES NOT RELEASE IPs UPON SHUTDOWN!
Last modified: 2007-04-18 12:52:56 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225
Description of problem:
The DHCP package is not used in RH8.0,9.0, and the DHCLIENT package which is
being used in its place does not send releases when the system is shutdown.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Actual Results: Messes up DNS Servers which use DHCP info to register
information to the IP. IP was never released.
Expected Results: The IP should ALWAYS be released on a shutdown....DUH!!!!
*** Bug 88556 has been marked as a duplicate of this bug. ***
From the Man page:
The client normally doesnÃ¢t release the current lease as it is not
required by the DHCP protocol. Some cable ISPs require their clients
to notify the server if they wish to release an assigned IP address.
The -r flag explicitly releases the current lease, and once the lease
has been released, the client exits.
/sbin/dhclient -r -lf /var/lib/dhcp/dhclient-eth0.leases -pf
should release the eth0 device.