netdev
[Top] [All Lists]

Re: ifconfig bug removes aliases

To: Julian Anastasov <ja@xxxxxx>
Subject: Re: ifconfig bug removes aliases
From: Aron Griffis <aron@xxxxxx>
Date: Sat, 13 Mar 2004 10:28:30 -0500
Cc: netdev@xxxxxxxxxxx
In-reply-to: <Pine.LNX.4.58.0403131204500.1130@xxxxxxxxxxxx>
References: <20040310212056.GA5661@xxxxxxxxxxxxxxxxx> <Pine.LNX.4.58.0403131204500.1130@xxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.6i
Julian Anastasov wrote: [Sat Mar 13 2004, 05:07:05AM EST]
> On Wed, 10 Mar 2004, Aron Griffis wrote:
> 
> > Hello, here is the sequence:
> >
> >     ifconfig eth0:1 10.10.10.1 netmask 255.255.0.0
> >     ifconfig eth0:2 10.10.10.2 netmask 255.255.0.0
> >     ifconfig eth0:1 down
> >
> > At this point eth0:2 has disappeared also.  It appears that the aliases
> > must be on the same subnet for this to occur, and the creation order is
> > also important.
> 
>       From inet_del_ifa:
> 
> /* 1. Deleting primary ifaddr forces deletion all secondaries */

Thanks, I am aware of that behavior, but that is not the bug I am
describing.  In this case it is the deletion of one alias that causes
another to be removed as well.

Aron

<Prev in Thread] Current Thread [Next in Thread>