Bug 55665
Summary: | ifconfig does not reflect changed ipaddress configuration | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Nilesh Chaudhari <nileshch> |
Component: | net-tools | Assignee: | Crutcher Dunnavant <crutcher> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.2 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2001-11-05 06:16:36 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
Nilesh Chaudhari
2001-11-04 12:14:35 UTC
That problem come from /sbin/ifdown. Since RH7.2, /sbin/ifup and /sbin/ifdown use /sbin/ip to create and delete IP addresses. You change your address in step 3. and then restart network. So, /sbin/ifdown attempt to remove NEW address instead of OLD address. This causes error. RTNETLINK answers: Cannot assign requested address The OLD address not removed, and when /sbin/ifup create new address, That interface have two address, OLD and NEW one. Workaround is 1. /etc/init.d/network stop ; CHANGE configuration ; /etc/init.d/network start or 2. /etc/init.d/network stop ; /sbin/ip addr flush eth0 ; /etc/init.d/network start Anyway, it's a serious bug. Must be fixed soon. The workaround works perfectly. It seems the problems arises only when the ip address is changed from dhcp to static or from static to static. The other way (i.e. static to dhcp) runs fine without any errors. This is fixed in a later initscritps package (6.40.2-1, for example.) |