NethServer network connection problem with ESXI and OVH

Hello,

First step, I have installed, NethServer on ESXI machine in OVH (NethServer ISO, default install).

Second step, first problem: I launch the NethServer VM and there is a message with network problem.

The problem is not new: Neth 7 Networking Problems with OVH Custom ip rules.

Do you have the solution for this problem?

Docs with CentOS configuration:

I think that the problem exist for Proxmox VE too.

First manual solution (not the best, it is not automatic):

I have edited: vi /etc/sysconfig/network-scripts/ifcfg-ensXXX (personal data has been replaced by GATEWAY_IP / IP_FAILOVER / VIRTUAL_MAC) instead of default settings:

DEVICE=ensXXX
BOOTPROTO=none
GATEWAY=GATEWAY_IP
IPADDR=IP_FAILOVER
NETMASK=255.255.255.255
NM_CONTROLLED=no
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
IPV6INIT=no
PEERDNS=yes
ARP=yes
HWADDR=VIRTUAL_MAC

And I have created: vi /etc/sysconfig/network-scripts/route-ensXXX:

GATEWAY_IP dev ensXXX
default via GATEWAY_IP dev ensXXX

Next steps:

ifdown ensXXX
ifup ensXXX

Good, now it works on https://IP_FAILOVER:9090/.

But, there is a another problem after first connection, the FQDN must to be changed by NethServer.
I have changed it: Result, the connection is now lost (no ping, nothing) and network configuration is now by default (before my settings which work).

PS: in /etc/hosts, there an IP address that I have never selected:
192.168.1.1 fqdn hostname

@nethserver team, can you rename this topic?

“NethServer network connection problem with ESXI/Proxmox Server and OVH/Scaleway/DigitalOcean/…”