Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

ovh failover ips, those over eth0:7 not working

xrzxrz Barred
edited March 2016 in Help

all bellow eth0:7 (0,1,2,3,4,5.6) and eth0:7 works, why?

sample of non working:

auto eth0:08

iface eth0:08 inet static
address 1.2.3.4
netmask 255.255.255.255
broadcast 1.2.3.4

1.2.3.4 is failover ip

even ifconfig show only up to eth0:7 ??

Comments

  • Drop the 0 before the 8 in both locations.

    I've never had an issue with multiple interfaces, but always kept :#

  • xrzxrz Barred
    edited March 2016

    works now, i had one address and broadcast with plain (no ip set) :D too much single ips tho ...

  • FalzoFalzo Veteran

    Should not use that deprecated annotation anymore, better use

    up ip addr add 1.2.3.4/32 dev eth0

    per additional ip...

  • If it''s for VM, have you select the same HW mac address in ovh control panel?

  • @WebProject said:
    If it''s for VM, have you select the same HW mac address in ovh control panel?

    You have to select no Mac at all. Just use post-up to spin up your interfaces.

    Like that (Debian):

    post-up /sbin/ip addr add Fail-Over-IP/32 dev eth0 brd + label eth0:0
    pre-down /sbin/ip addr del Fail-Over-IP/32 dev eth0 brd + label eth0:0

  • Sweety, there's no 0s ("s" is used to make plural sentence) -- eth0:08 - that's should be "eth0:8"

    And correct me if I am wrong.

    Also @AshleyUk mentioned that.

    EDIT: Do not forget to restart the networking service.

Sign In or Register to comment.