OVH Community, your new community space.

Failover IPs not working.


teozfrank
11-01-2015, 01:41
Hi I ordered a block of 4 IP addresses and I followed the instructions as hightlighted here -> http://docs.ovh.ca/en/guides-network...an-derivatives

Im using ubuntu server 14.04

Here is a paste of my config setting up two of these IP's I have (I have removed them for the example)

Code:
    auto eth0:0
    iface eth0:0 inet static
        address IP1HERE
        netmask 255.255.255.255
    auto eth0:1
    iface eth0:1 inet static
        address IP2HERE
        netmask 255.255.255.255
        # IPFO 1
        post-up /sbin/ifconfig eth0:0 IP1HERE netmask 255.255.255.255 broadcast IP1HERE
        pre-down /sbin/ifconfig eth0:0 down
     
        # IPFO 2
        post-up /sbin/ifconfig eth0:1 IP2HERE netmask 255.255.255.255 broadcast IP2HERE
        pre-down /sbin/ifconfig eth0:1 down
Does this look okay? It doesnt work so i'd assume I need to change or I missed something?
Any help would be appreciated,
Frank.