Mailinglist Archive: opensuse-factory (592 mails)

< Previous Next >
[opensuse-factory] [RFC] kernel IP configuration: promote_secondaries default setting
  • From: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@xxxxxxx>
  • Date: Thu, 05 Oct 2006 21:11:17 +0200
  • Message-id: <452558D5.8020500@xxxxxxx>
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.

Regards,
Carl-Daniel
--
http://www.hailfinger.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups