Subject: Re: ifconfig bug removes aliases

From: Aron Griffis <[email-masked]>
Date: Sat, 13 Mar 2004 10:28:30 -0500

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