Public Cloud-old - IP failover ubuntu 18.04 - interface localhost
... / IP failover ubuntu 18.04 ...
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Frage

IP failover ubuntu 18.04 - interface localhost

Von
JeremyN
Erstellungsdatum 2019-02-26 15:44:46 (edited on 2024-09-04 11:27:28) in Public Cloud-old

Hello,
Après avoir commandé une IP failover, j'ai suivi le guide OVH linké dans le mail de confirmation d'achat : https://docs.ovh.com/fr/dedicated/network-ipaliasing/
pour configurer l'IP à la mode Ubuntu 17+
Je m'attendais à une opé pas simple sur netplan mais effectivement, la création / modif du fichier /etc/systemd/network/50-default.network suffit pour avoir une config persistante qui fonctionne :

[Address]
Address=xxx.yyy.zzz.ttt/32
Label=fofr01

Mais j'ai un doute : l'IP failover a été associée à mon interface localhost :

1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet xxx.yyy.zzz.tttt/32 scope global fofr01
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever

Est-ce sain de laisser ça tel quel en production ?