All of lore.kernel.org
 help / color / mirror / Atom feed
From: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2005@gmx.net>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] ip address delete bug?
Date: Tue, 04 Oct 2005 19:11:53 +0000	[thread overview]
Message-ID: <4342D3F9.80705@gmx.net> (raw)
In-Reply-To: <4341707D.90206@gmx.net>

Hi,

Peter Surda schrieb:
> On Mon, 03 Oct 2005 19:55:09 +0200 Carl-Daniel Hailfinger
> <c-d.hailfinger.devel.2005@gmx.net> wrote:
> 
> 
>>it seems that "ip address delete" will delete all addresses of the same
>>class on an interface if it is ordered to only delete the first one:
> 
> Incidentally I encountered similar behavior with kernel 2.4 and older iproute
> (20010824 with some patches) a couple of weeks ago, so it's nothing new.

OK, I found out that this is documented behaviour, although the hint is 
not in the man page.

"secondary --- this address is not used when selecting the default 
source address for outgoing packets. An IP address becomes secondary if 
another address within the same prefix (network) already exists. The 
first address within the prefix is primary and is the tag address for 
the group of all the secondary addresses. When the primary address is 
deleted all of the secondaries are purged too."

That means there is no way to change the IP of an interface if the 
prefix and network size stay the same. Are there any plans to fix that?


> Yours sincerely,
> Peter

Regards,
Carl-Daniel
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

  parent reply	other threads:[~2005-10-04 19:11 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-03 17:55 [LARTC] ip address delete bug? Carl-Daniel Hailfinger
2005-10-03 18:00 ` Peter Surda
2005-10-04 19:11 ` Carl-Daniel Hailfinger [this message]
2005-10-04 21:23   ` Alexey Toptygin
2005-10-04 21:23     ` Alexey Toptygin
2005-10-04 22:58     ` [LARTC] " Carl-Daniel Hailfinger
2005-10-04 22:58       ` Carl-Daniel Hailfinger
2005-10-04 23:08       ` [LARTC] " Alexey Toptygin
2005-10-04 23:08         ` Alexey Toptygin
     [not found]         ` <1128474946.6224.8.camel@localhost.localdomain>
2005-10-05 15:32           ` [LARTC] " Carl-Daniel Hailfinger
2005-10-05 15:32             ` Carl-Daniel Hailfinger
2005-10-04 23:20 ` [LARTC] " Peter Surda
2005-10-04 23:23 ` Stephen Hemminger

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=4342D3F9.80705@gmx.net \
    --to=c-d.hailfinger.devel.2005@gmx.net \
    --cc=lartc@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.