netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ifconfig bug removes aliases
@ 2004-03-10 21:20 Aron Griffis
  2004-03-13 10:07 ` Julian Anastasov
  0 siblings, 1 reply; 3+ messages in thread
From: Aron Griffis @ 2004-03-10 21:20 UTC (permalink / raw)
  To: netdev

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.

Aron

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ifconfig bug removes aliases
  2004-03-10 21:20 ifconfig bug removes aliases Aron Griffis
@ 2004-03-13 10:07 ` Julian Anastasov
  2004-03-13 15:28   ` Aron Griffis
  0 siblings, 1 reply; 3+ messages in thread
From: Julian Anastasov @ 2004-03-13 10:07 UTC (permalink / raw)
  To: Aron Griffis; +Cc: netdev


	Hello,

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 */

Regards

--
Julian Anastasov <ja@ssi.bg>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ifconfig bug removes aliases
  2004-03-13 10:07 ` Julian Anastasov
@ 2004-03-13 15:28   ` Aron Griffis
  0 siblings, 0 replies; 3+ messages in thread
From: Aron Griffis @ 2004-03-13 15:28 UTC (permalink / raw)
  To: Julian Anastasov; +Cc: netdev

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-03-13 15:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-10 21:20 ifconfig bug removes aliases Aron Griffis
2004-03-13 10:07 ` Julian Anastasov
2004-03-13 15:28   ` Aron Griffis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).