OVH VPS Configure failover IP in Ubuntu

On Ubuntu

Default config look like

/etc/network/interfaces.d/50-cloud-init.cfg is used to auto configure network interface with dhcp.

First find the gateway used by the VPS.

We found the gateway IP

The VPS had main IP of the server is and secondary IPS,,

Here is the modified /etc/network/interfaces

Here is a PHP script to create OVH failover IP config for Ubuntu/Debian.

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *