You are on page 1of 2

Ubuntu Server 20.

04 configure OVH failover IP – ServerOK 09/02/2022 14:30

Ubuntu Server 20.04 configure OVH failover IP


To configure IP in Ubuntu 20.04 guest, create file

1 vi /etc/netplan/50-cloud-init.yaml

add following content

1 network:
2 version: 2
3 ethernets:
4 eth0:
5 addresses:
6 - YOUR_FO_IP_HERE/32
7 nameservers:
8 addresses:
9 - 1.1.1.1
10 search: []
11 optional: true
12 routes:
13 - to: 0.0.0.0/0
14 via: YOUR_GW_IP_HERE
15 on-link: true

example

1 root@easyengine:~# cat /etc/netplan/50-cloud-init.yaml


2 network:
3 version: 2
4 ethernets:
5 eth0:
6 addresses:
7 - 164.132.150.95/32
8 nameservers:
9 addresses:
10 - 1.1.1.1
11 search: []
12 optional: true
13 routes:
14 - to: 0.0.0.0/0
15 via: 51.255.79.254
16 on-link: true
17 root@easyengine:~#

Test network config using

1 netplan try

If everything works fine, you can apply the changes with

1 netplan apply

https://serverok.in/ubuntu-server-20-04-configure-ovh-failover-ip Page 1 sur 2


Ubuntu Server 20.04 configure OVH failover IP – ServerOK 09/02/2022 14:30

See OVH, netplan

! One thought on “Ubuntu Server 20.04 configure OVH failover IP”

StormMadness says:
August 3, 2021 at 10:26 pm

Can confirm: this works like a charm on a fresh Ubuntu Server 20.04 install. I’m using Proxmox
7.0-10 on an OVH dedicated server.

Thank you good sir!

Reply

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

Comment *

Name *

Email *

Website

Post Comment

Copyright 2022 ServerOk | All Rights Reserved

https://serverok.in/ubuntu-server-20-04-configure-ovh-failover-ip Page 2 sur 2

You might also like