Bug 76659

Summary: ifdown does not release the address obtain by DHCP
Product: [Retired] Red Hat Linux Reporter: Christian Lepine <clepine>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED NOTABUG QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-10-24 18:55:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Christian Lepine 2002-10-24 17:40:36 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)

Description of problem:
The script /sbin/ifdown or /etc/sysconfig/network-scripts/ifdown does not 
release the address obtain by DHCP.

You should add at line 79 and 82 the following :
         dhcpcd  -k  ${DEVICE}
to release the address obtain by DHCP.

With this modification the client releases the address obtain by the DHCP (when 
using dhcpcd).

Without this modification I had trouble making ddns work well.


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.Configure a network card using dhcp
2.start network
3.stop network (there is no dhcp-release send by the client)
	

Actual Results:  no dhcp-release send by client

Expected Results:  dhcp-release send by client

Additional info:

Comment 1 Bill Nottingham 2002-10-24 18:55:10 UTC
*** Bug 76660 has been marked as a duplicate of this bug. ***

Comment 2 Bill Nottingham 2002-11-12 05:17:14 UTC
See 49642, it was changed to use the cache.