VM sporadisch nicht per ping erreichbar bzw. Netzwerkausfälle

BerndKleinert

Active Member
Feb 14, 2020
41
4
28
42
Hallo,

ich habe 3 Debian 11 VM's die auf einem Proxmox VE 7.2.3 mit Debian 11 laufen. Bei einer dieser VM's habe ich sporadisch Ping-Timeouts. Ich kann mir das nicht erklären. Auch wenn ich per SSH eingeloggt bin "hängt" die Verbindung wenn die VM per ping nicht erreichbar ist. Wenn ich die Firewall bei der VM deaktiviere ändert sich nichts. Jetzt hatte ich längere Zeit kein ping auf die VM laufen, war aber noch die ganze Zeit per SSH eingeloggt. Ich starte den ping erneut und fliege in dem Moment per SSH von der VM - irgendwie seltsam.
Kann man hier irgendwas debuggen?
Der Internetzugriff der VM funktioniert, die darauf laufende Nextcloud ist erreichbar und per SSH ist die VM auch erreichbar.
Komisch ist auch, gefühlt ist es am Anfang wenn ich mtr oder ping starte schlimm, später werden die Timeouts weniger.

Bei der Installation bin ich nach den zwei Links vorgegangen:

https://community.hetzner.com/tutorials/install-and-configure-proxmox_ve/de
bzw.
https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Buster

Ein Log von mtr von einem "fremden/unbekannten" Server aus auf die genannte VM:

Code:
                                                 My traceroute  [v0.94]
example.org (5.xxx.xxx.xxx) -> guest.example.de                                                     2022-05-17T11:24:18+0200
Keys:  Help   Display mode   Restart statistics   Order of fields   quit
                                                                               Packets               Pings
 Host                                                                        Loss%   Snt   Last   Avg  Best  Wrst StDev
 1. static.65.41.xxx.xxx.clients.your-server.de                               0.0%   672    1.4   0.7   0.2  15.7   1.7
 2. core24.fsn1.hetzner.com                                                   0.0%   671    3.1   5.8   0.3  53.1   6.9
 3. ex9k1.dc10.fsn1.hetzner.com                                               0.0%   671    0.4   0.5   0.3  15.4   1.3
 4. host.example.de                                                           0.0%   671    0.4   0.3   0.3   0.4   0.1
 5. guest.example.de                                                         41.7%   671    0.6   0.5   0.4   1.4   0.1

Die /etc/network/interfaces ist bei allen 3 VM's (bis auf die IP) identisch. Ich poste aber vielleicht doch mal die Dateien.

Die /etc/network/interfaces vom Host:

Code:
auto lo
iface lo inet loopback

auto enp3s0
iface enp3s0 inet static
  address 78.haupt-ip
  netmask 255.255.255.255
  pointopoint 78.ip-von-Hetzner
  gateway 78.ip-von-Hetzner

auto vmbr0
iface vmbr0 inet static
  address 78.haupt-ip
  netmask 255.255.255.255
  bridge_ports none
  bridge_stp off
  bridge_fd 0
  up ip route add 78.xx.xxx.xx7/32 dev vmbr0
  up ip route add 78.xx.xxx.xx8/32 dev vmbr0
  up ip route add 78.xx.xxx.xx9/32 dev vmbr0
  up ip route add 78.xx.xxx.xx1/32 dev vmbr0
  up ip route add 78.xx.xxx.xx4/32 dev vmbr0

Die /etc/network/interfaces vom guest:

Code:
auto lo
iface lo inet loopback

allow-hotplug ens18
iface ens18 inet static
        address 78.xx.xx.xx8/27
        netmask 255.255.255.255
        pointopoint 78.haupt-ip
        gateway 78.haupt-ip

Hat jemand eine Idee? Eigentlich müsste es eine Einstellung der VM sein..
 
Last edited:
Du hast bei deinem Guest in der Zeile address bereits eine Netmask (/27) mitgegeben, aber in der nächsten Zeile noch eine Netmask 255.255.255.255 = (/32) eingetragen. Ist das Absicht bzw. wird das bei Hetzner so benötigt?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!