On Thu, 5 Oct 2006, Carl-Daniel Hailfinger wrote:

> Hi,
> 
> /proc/sys/net/ipv4/conf/*/promote_secondaries is currently set to 0
> by default. Changing that to 1 would be a user-visible change for
> users with multiple ip addresses on one interface, but the changed
> behaviour is IMO less surprising than the current one.
> 
> Description for promote_secondaries:
> Deleting the primary IP address of an interface forces deletion all
> secondary IP addresses unless promote_secondaries is set.
> 
> This side effect of killing all secondary addresses without warning
> (and without documentation about this behaviour) has caused me and
> lots of others quite some grief.
> Scenario: You are logged into a remote box on one of its secondary
> IP addresses (to be able to change the primary IP address without
> disrupting your work), delete the primary IP address to later add
> the new primary IP address and suddenly find out that the secondary
> IP address you were using for administration has vanished. No way
> to connect to the box (it has no IP address anymore), so you have
> to ask someone to flip the power switch and hope it works with
> the old config after reboot.
> If promote_secondaries had been set, the disaster would not have
> happened.


I vote for promote_secondaries set to 1.

-- 
Andreas Vetter
Universitaet Wuerzburg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to