Another way to temporary add more IP's to the same interface:
ip addr add dev <devicename> label
devicename:number
ip link set dev devicename:number up
One question: if the mentioned "first method" with separate "ifcfg-eth..."
files for each IP will be obsolete, how can you configure different
bootprotocols in one ifcfg-eth0 file?
BOOTPROTO_1='static'
BOOTPROTO_2='dhcp'
--
____ _
| _ \ ___ ___ _ __ ___ | |_ _ __ ___ ___ _ __ ___ _ __
| | | |/ _ \ / _ \| '_ ` _ \| __| '__/ _ \ / _ \| '_ \ / _ \ '__|
| |_| | (_) | (_) | | | | | | |_| | | (_) | (_) | |_) | __/ |
|____/ \___/ \___/|_| |_| |_|\__|_| \___/ \___/| .__/ \___|_|
|_|