Proxmox Node offline but Vm is running

skh

New Member
Aug 18, 2017
2
0
1
25
Hey, I've set up Proxmox on my Hetzner Node and configured a vm bridge vmbr0 on it. It does work but I have a strange problem. I've ordered a 2nd IP. I configured the vm to use the 2nd ip. It does work as well, but after some time the network of the node goes offline and I can't access it anymore unless I restart it. The vm works but the node itself does not, as it doesn't have an Internet Connection.

The node network works if the vm is turned off and even if it's turned on but after some time it shuts down the network for some reason.

Node config /etc/network/interfaces
auto eth0
iface eth0 inet static
address 94.130.12.x.x
netmask 255.255.255.x
gateway 94.130.12.x
# route 94.130.12.64/26 via 94.130.12.xx
up route add -net 94.130.12.x netmask 255.255.255.x gw 94.130.12.x dev eth0

iface eth0 inet6 static
address 2a01:4f8:10b:1099::2
netmask 64
gateway fe80::1

auto vmbr0
iface vmbr0 inet static
address 94.130.12.xxx
netmask 255.255.255.255
pointopoint 94.130.12.x
gateway 94.130.12.x
bridge_ports eth0
bridge_stp off
bridge_fd 1
bridge_hello 2
bridge_maxage 12


Vm config /etc/network/interfaces
auto ens18
iface ens18 inet static
address 94.130.12.xx
netmask 255.255.255.255
pointopoint 94.130.22.x
gateway 94.130.12.x
nameserver 8.8.8.8
nameserver 8.8.4.4
 
Hetzner has a special setup, best checkout the docs. On a first glance, you are using a IP on your interface eth0 and your bridge, that will not work.

Hey, thanks the fast and kind reply. I've now removed the ip address from the eth0 interface and it seemed to be working fine with the vm. But now I have a different problem. Neither the host, nor the vm is accessible now
 
Please reset your network config and go through the Hetzner wiki article, for your configuration. Our standard network setup is very different from that of Hetzner's.