netdev
[Top] [All Lists]

Re: primary and secondary ip addresses

To: Andrea G Forte <andreaf@xxxxxxxxxxxxxxx>
Subject: Re: primary and secondary ip addresses
From: "David S. Miller" <davem@xxxxxxxxxxxxx>
Date: Fri, 17 Dec 2004 11:20:25 -0800
Cc: hno@xxxxxxxxxxxxxxx, hasso@xxxxxxxxx, laforge@xxxxxxxxxxxx, nhorman@xxxxxxxxxx, linux-net@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <41C30212.6000906@xxxxxxxxxxxxxxx>
References: <41912F7A.6000408@xxxxxxxxxx> <200412161153.51251.hasso@xxxxxxxxx> <Pine.LNX.4.61.0412161103320.30452@xxxxxxxxxxxxxxxxxxxxx> <200412161302.42357.hasso@xxxxxxxxx> <41C2F6E5.5010607@xxxxxxxxxxxxxxx> <Pine.LNX.4.61.0412171621200.15793@xxxxxxxxxxxxxxxxxxxxx> <41C30212.6000906@xxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Fri, 17 Dec 2004 10:58:10 -0500
Andrea G Forte <andreaf@xxxxxxxxxxxxxxx> 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).

By definition, a secondary IP address on an interface is not to
be used as a source.   It is the whole reason for the distinction
between primary and secondary IP addresses, and it is why all secondaries
are deleted once the primary is removed (because there are no valid
source addresses to choose from any longer, therefore IP valid
communications are no longer possible).

<Prev in Thread] Current Thread [Next in Thread>