From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carl-Daniel Hailfinger Date: Tue, 04 Oct 2005 19:11:53 +0000 Subject: Re: [LARTC] ip address delete bug? Message-Id: <4342D3F9.80705@gmx.net> List-Id: References: <4341707D.90206@gmx.net> In-Reply-To: <4341707D.90206@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Hi, Peter Surda schrieb: > On Mon, 03 Oct 2005 19:55:09 +0200 Carl-Daniel Hailfinger > 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