Testé sur ubuntu 19.10 mais sans doute valable de 18.04 LTS jusqu’à 19.10 et peut-être 20.04 LTS quand elle sortira:
network:
renderer: networkd
ethernets:
eth0:
dhcp4: false
dhcp6: false
addresses: [89.234.141.145/32,"2a00:5881:8110:1000::2/128"]
routes:
- to: 0.0.0.0/0
via: 169.254.42.1
on-link: true
- to: "::/0"
via: "fe80::42:1"
nameservers:
addresses: [89.234.141.66,"2a00:5881:8100:1000::3","2a00:5884:8218::1"]
version: 2
Évidemment, les adresses seront à adapter à chaque vps