Bug 682145 - ifconfig eth0:0 down will remove other child interface
Summary: ifconfig eth0:0 down will remove other child interface
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: net-tools
Version: 6.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jiri Popelka
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks: 682147
TreeView+ depends on / blocked
 
Reported: 2011-03-04 09:58 UTC by Gris Ge
Modified: 2011-03-04 14:23 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 682147 (view as bug list)
Environment:
Last Closed: 2011-03-04 14:23:07 UTC
Target Upstream Version:


Attachments (Terms of Use)

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).


Note You need to log in before you can comment on or make changes to this bug.