Bug 125298
Summary: | need way to carry over old lease to dhclient | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Alexander Larsson <alexl> | ||||||
Component: | dhcp | Assignee: | Daniel Walsh <dwalsh> | ||||||
Status: | CLOSED ERRATA | QA Contact: | |||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 2 | ||||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2004-08-24 12:33:50 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: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 124120 | ||||||||
Attachments: |
|
Description
Alexander Larsson
2004-06-04 15:40:23 UTC
Created attachment 100869 [details]
patch to implement -ns
This patch works for me if i put DHCLIENTARGS=-ns in /etc/sysconfig/network. Hmmm, in fact the interface isn't downed, the hang is just when doing "ifconfig eth0 0 up". This should be a nop since the interface is already up. I dunno whats causing this, will investigate. Hold on the patch until this has been further analyzed. Ah, so the "0" is whats causing it. It sets the interface ip to 0.0.0.0, which is needed when you broadcast for the initial dhcp ip. What we need to do is to make it do a renew instead, and carry over the lease from the old dhcp call. Created attachment 100941 [details]
Don't set ip to 0.0.0.0 if we have a lease for the current ip already
With this patch things work if i carry over the dhcp client leases file from the initrd. Patch applied to dhcp-3_0_1rc12-8 Dan Closing, this is working fine An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2004-566.html |