Need Help Setting up IP Failover

Hello, I am trying to use the Linode IP Failover feature (https://blog.linode.com/2007/11/12/supp … -failover/">https://blog.linode.com/2007/11/12/support-for-high-availability-ip-failover/). I am having trouble getting ServerB to take over ServerA's IP.

I did the following on ServerA and ServerB:

  • Server A (34.56.78.90) IP failover set to be allowed on ServerB (12.345.6.78) using the Linode admin panel

  • Edited Server B /etc/network/interfaces:

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
 address 12.345.6.78
 netmask 255.255.255.0
 gateway 12.34.56.1

# ServerA fail over IP
iface eth0:1 inet static
 address 34.56.78.90
 netmask 255.255.255.0

on Server B

/etc/init.d/networking restart

On Server A

ifdown eth0

On Server B

ifup eth0:1

On Server B - I am receiving 5 packets transmitted, 0 packets received, 100% unanswered (0 extra) on this command

arping -I eth0:1 '34.56.78.90' -uc 5

At the end, I still cannot reach 34.56.78.90 publicly. Is this how IP Failover is used or am I getting this all wrong? Any hints would be appreciated!

Regards

Simon

0 Replies

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct