Bug 682145

Summary: ifconfig eth0:0 down will remove other child interface
Product: Red Hat Enterprise Linux 6 Reporter: Gris Ge <fge>
Component: net-toolsAssignee: Jiri Popelka <jpopelka>
Status: CLOSED NOTABUG QA Contact: qe-baseos-daemons
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0   
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 682147 (view as bug list) Environment:
Last Closed: 2011-03-04 14:23:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 682147    

Description Gris Ge 2011-03-04 09:58:47 UTC
Description of problem:

These command will hit the problem:
ifconfig eth0:0 192.168.1.1
ifconfig eth0:1 192.168.1.2
ifconfig eth0:0 down
ifconfig

Then you will find out that eth0:1 disappear.


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

RHEL6.0 GA (Both 32 bits and 64bits hit the probelm)

How reproducible:
100%

Steps to Reproduce:
ifconfig eth0:0 192.168.1.1
ifconfig eth0:1 192.168.1.2
ifconfig eth0:0 down
ifconfig
#check eth0:1
  
Actual results:
eth0:1 also been removed.

Expected results:
The child interface is independent of others. eth0:1 should be still there.

Additional info:

Comment 1 Jiri Popelka 2011-03-04 14:23:07 UTC
Hello Gris,

thanks for the report however this is not a bug.
Please read bug #602368, that will give you all the explanation you need.

And try to use 'ip' command instead of ifconfig.
Give it a try and you will find it
much more useful (see bug #602368, comment #6).