Re: Configuring down one alias brings down all aliases

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

 



On Fri, Nov 01, 2002 at 03:07:15AM -0800, David S. Miller wrote:
> Use the "primary" attribute on the 'ip' command line, which is what I
> said in my other email in this thread.

Ok, I see. This marks an interface as primary, does not help ifconfig's down
behaviour.

Downing a primary interface will down all secondaries on that subnet. So it
helps to make all secondary or all primary. On the default the first address
of a subnet is primary, all following are secondary.

Not sure if that is the best solution, but as I found, this was discussed
before:

http://www.uwsg.iu.edu/hypermail/linux/kernel/0110.2/1647.html

Anyway, ifconfig needs to know about the flag so it gets more clear. Since I
feel great hostility against ifconfig here, I will use rtnetlink and not try
to fix the ioctls() :)

Greetings
bernd
-
: 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