I solved it.
I configured the server’s network settings to static and the problem was solved. I think this is an “openVswitch” problem, I have not encountered such a problem on a physical machine.
Thanks.
I’m leaving the working configs below
BEFORE:
This is the network config written by ‘subiquity’
network:
ethernets:
ens16:
dhcp4: true
version: 2
AFTER
network:
ethernets:
ens16:
addresses:
- 192.168.30.20/23
nameservers:
addresses:
- 192.168.30.1
- 192.168.30.2
search: […]
routes:
- to: default
via: 192.168.30.10
version: 2