Mailinglist Archive: opensuse-factory (592 mails)

< Previous Next >
Re: [opensuse-factory] [RFC] kernel IP configuration: promote_secondaries default setting
  • From: vetter <vetter@xxxxxxxxxxxxxxxxxxxxxxx>
  • Date: Fri, 6 Oct 2006 08:47:17 +0200 (CEST)
  • Message-id: <Pine.LNX.4.64.0610060845440.27667@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx

< Previous Next >