Issue with network and Hetzner dedicated server with PVE

tjdef

New Member
Mar 22, 2020
1
0
1
24
Hello,

I've successfully installed Proxmox 6.1-8 on my Hetzner dedicated server.

I've an additional IP address (not failover) which is going to be displayed in this topic as MY-ADD-IP.
Obviously my main IP address is going to be displayed as MY-MAIN-IP.

I can't ping my VM, and I also can't reach my VM from any device.
When I try to ping, I have this error:

Code:
ping: test.com Temporary failure in name resolution

My Hetzner dedicated server network configuration:


Code:
### Hetzner Online GmbH installimage

source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback
iface lo inet6 loopback

auto enp2s0
iface enp2s0 inet static
  address MY-MAIN-IP
  netmask 255.255.255.224
  gateway MY-ADD-IP
  # route 88.198.47.0/27 via MY-ADD-IP
  up route add -net 88.198.47.0 netmask 255.255.255.224 gw MY-ADD-IP dev enp2s0

iface enp2s0 inet6 static
  address 2a01:4f8:221:411a::2
  netmask 64
  gateway fe80::1

auto vmbr0
iface vmbr0 inet static
        address MY-MAIN-IP
        netmask 255.255.255.224
        bridge_ports none
        bridge_stp off
        bridge_fd 0
        up ip route add MY-ADD-IP/32 dev vmbr0

My VM network configuration:

Code:
source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback

allow-hotplug ens18
iface ens18 inet static
        address MY-ADD-IP/32
        gateway 88.198.4.1
        dns-nameservers 8.8.8.8
        dns-search 8.8.8.8

Let me know if you need more informations, and thanks for your help! :D