Sidebar navigationMain contentFooter
Jump toContribute on Github

How to configure a failover IP on FreeBSD

Reviewed on 07 October 2023Published on 29 July 2021

This page shows you how to configure a failover IP on Dedibox servers running on FreeBSD.

  • You have an account and are logged into the Dedibox console
  • You have created a Dedibox dedicated server

Failover IP configuration on FreeBSD

  1. Connect to your server using SSH.

  2. Open the network configuration file in a text editor, for example nano:

    nano /etc/rc.conf
  3. Add the following line to the file, replace FAILOVER_IP with your failover IP address:

    ifconfig_em0_alias0="inet FAILOVER_IP netmask"

    Your modified configuration file should look like the following example:

    ifconfig_em0="inet IP_ADDRESS netmask"
    ifconfig_em0_alias0="inet FAILOVER_IP netmask"
  4. Save the file and exit the text editor.

  5. Restart the network to activate the new IP address:

    /etc/rc.d/netif restart && /etc/rc.d/routing restart
See also
How to configure a failover IP on Debian/UbuntuHow to configure a failover IP on Windows Server
Cloud Products & Resources
  • Scaleway Console
  • Compute
  • Storage
  • Network
  • IoT
  • AI
Dedicated Products & Resources
  • Dedibox Console
  • Dedibox Servers
  • Network
  • Web Hosting
  • Blog
  • Careers
  • Scaleway Learning
Scaleway Docs
Follow us
ContractsLegal NoticePrivacy PolicyCookie PolicyDocumentation license
© 1999-2024 – Scaleway SAS