linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tim Hockin <thockin@sun.com>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: issue: deleting one IP alias deletes all
Date: Tue, 23 Oct 2001 10:54:30 -0700	[thread overview]
Message-ID: <3BD5AED6.90401C9C@sun.com> (raw)

So we've noticed, and taken issue with this behavior.

If you have several IP aliases on an interface (eth0:0, eth0:1, eth0:2) you
get inconsistent behavior when downing them.

* if I 'ifconfig down' eth0:1, I am left with eth0:0 and eth0:2
* if I 'ifconfig down' eth0:0, eth0:1 and eth0:2 go away, too

I assert that this should not happen.  I have a simple patch to fix this
behavior, but I want to know a few things.

* Is this supposed to happen? Why?
* Is it correct that both the real interface and the first alias are marked
as primary (! IFA_F_SECONDARY), while all other aliases are secondary?  It
seems to me that ALL ALIASES should be secondary.  Is this wrong? Why?

Can anyone fill me in?

Thanks
Tim
-- 
Tim Hockin
Systems Software Engineer
Sun Microsystems, Cobalt Server Appliances
thockin@sun.com

             reply	other threads:[~2001-10-23 17:58 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-23 17:54 Tim Hockin [this message]
2001-10-24 11:36 ` issue: deleting one IP alias deletes all Kurt Roeckx
2001-10-24 12:00   ` Kurt Roeckx
2001-10-25 16:30 ` Matthew G. Marsh
2001-10-26 19:51   ` Michal Jaegermann
2001-10-24  1:01 Julian Anastasov
2001-10-24  5:28 ` David Ford
2001-10-24  6:18   ` Petr Titera
2001-10-24  6:52     ` David Ford
2001-10-24 12:48     ` Wilson
2001-10-25 16:34     ` Matthew G. Marsh
2001-10-24  8:19   ` Julian Anastasov
2001-10-24 14:02   ` Christopher Friesen
2001-10-24 15:34     ` Tim Hockin
2001-10-24 17:14       ` Christopher Friesen
2001-10-24 20:36     ` David Ford
2001-10-24 20:54       ` Tim Hockin
2001-10-27 17:26         ` kuznet
2001-10-25 17:40       ` Matthew G. Marsh
2001-10-25 19:56         ` David S. Miller
2001-10-25 20:01         ` Tim Hockin
2001-10-25 20:29           ` Andi Kleen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3BD5AED6.90401C9C@sun.com \
    --to=thockin@sun.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).