Failover IP on Centos/Mageia/Fedora

This documentation explains how to configure a failover IP on servers installed with CentOS, Mageia or Fedora Linux.

Configuration on the Server

1. Copy the following file:

#  cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth0:0

2. Modify the file /etc/sysconfig/network-scripts/ifcfg-eth0:0:

DEVICE="eth0:0"
BOOTPROTO=static
IPADDR="my_failover_ip"
NETMASK="255.255.255.255"
ONBOOT=yes

3. Start the interface eth0:0 to activate the failover IP.