Re: ip address delete bug?

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Peter Surda schrieb:
On Mon, 03 Oct 2005 19:55:09 +0200 Carl-Daniel Hailfinger
<c-d.hailfinger.devel.2005@xxxxxxx> 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@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux