Received: with ECARTIS (v1.0.0; list netdev); Fri, 17 Dec 2004 08:41:18 -0800 (PST) Received: from filer.marasystems.com (marasystems.com [83.241.133.2]) by oss.sgi.com (8.13.0/8.13.0) with ESMTP id iBHGeoJJ023251 for ; Fri, 17 Dec 2004 08:41:11 -0800 Received: from localhost (henrik@localhost) by filer.marasystems.com (8.11.6/8.11.6) with ESMTP id iBHGdli17494; Fri, 17 Dec 2004 17:39:47 +0100 Date: Fri, 17 Dec 2004 17:39:47 +0100 (CET) From: Henrik Nordstrom To: Andrea G Forte cc: Hasso Tepper , Harald Welte , Neil Horman , linux-net@vger.kernel.org, netdev@oss.sgi.com Subject: Re: primary and secondary ip addresses In-Reply-To: <41C30212.6000906@cs.columbia.edu> Message-ID: References: <41912F7A.6000408@redhat.com> <200412161153.51251.hasso@estpak.ee> <200412161302.42357.hasso@estpak.ee> <41C2F6E5.5010607@cs.columbia.edu> <41C30212.6000906@cs.columbia.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: ClamAV 0.80/627/Sun Dec 12 11:53:11 2004 clamav-milter version 0.80j on 127.0.0.1 X-Virus-Status: Clean X-archive-position: 12815 X-ecartis-version: Ecartis v1.0.0 Sender: netdev-bounce@oss.sgi.com Errors-to: netdev-bounce@oss.sgi.com X-original-sender: hno@marasystems.com Precedence: bulk X-list: netdev On Fri, 17 Dec 2004, Andrea G Forte wrote: > This does not help, since if I want to use my secondary IP address instead of > my primary, I cannot delete the primary otherwise all of my secondary IPs are > lost as well (and since I can only have only one primary IP address). Why change the primary address? What is wrong with simply changing the route to use the other source IP? > -If I use a secondary IP and try to invalidate the primary (i.e. by removing > its routing table entry), it takes about 500ms for the actual change (data > packets sent on the secondary IP instead of the primary) to take effect. This is most likely the routing cache or something. > I honestly do not understand what harm could do to have more than one primary > address, especially on different subnets. How it works today is that the first IP you add in a subnet becomes a primary, any additional IPs you add in the same subnet becomes secondary. You can have any number of primary IPs with each any number of secondary IPs, the primary IPs just can't be in the same subnet. Regards Henrik