Re: primary and secondary ip addresses

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

 



On Tue, 9 Nov 2004, Neil Horman wrote:

Can anyone tell me why when removing a primary ip address from an interface, all of its associated secondary ip addresses (those addresses on the same subnet), are also removed? Theres a comment in the kernel thats pretty clear on the subject indicating it needs to be done, but I don't quite grasp the reasoning behind why.

A more valid question is why one can not add more than one primary in the same subnet.


ip addr add x.x.x.x/y dev eth0 primary

would make sense to me, clearly indicating that these addresses are maintained separately.

or put in another way why the addresses automatically become secondary addresses to the first added address.

Regards
Henrik
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux