Dropped network packets from VM but host OK.

gob

Renowned Member
Aug 4, 2011
69
2
73
Chesterfield, United Kingdom
I have a single host PVE version 8.1.4 with a pretty basic out of the box configuration
I have
2 debian 12 LXC containers
1 debian 12 VM
1 Windows 2019 Server VM

The PVE host itself has no problems accessing the outside world and shows consistent ping latency with now packet loss. However the linux CT and VM guests display packetloss when using vmbr0 and the same NIC as the host..
However the Windows VM on vmbr0 shows no packet loss.

Pinging the PVE host IP from the guest shows no dropped packets.
However the below is from pinging the network gateway from the guest:
ping 192.168.29.1
PING 192.168.29.1 (192.168.29.1) 56(84) bytes of data.
64 bytes from 192.168.29.1: icmp_seq=7 ttl=64 time=0.188 ms
64 bytes from 192.168.29.1: icmp_seq=8 ttl=64 time=0.175 ms
64 bytes from 192.168.29.1: icmp_seq=9 ttl=64 time=0.168 ms
64 bytes from 192.168.29.1: icmp_seq=10 ttl=64 time=0.180 ms
64 bytes from 192.168.29.1: icmp_seq=11 ttl=64 time=0.183 ms
64 bytes from 192.168.29.1: icmp_seq=12 ttl=64 time=0.190 ms
64 bytes from 192.168.29.1: icmp_seq=13 ttl=64 time=0.174 ms
64 bytes from 192.168.29.1: icmp_seq=14 ttl=64 time=0.186 ms
64 bytes from 192.168.29.1: icmp_seq=15 ttl=64 time=0.179 ms
64 bytes from 192.168.29.1: icmp_seq=16 ttl=64 time=0.195 ms
64 bytes from 192.168.29.1: icmp_seq=44 ttl=64 time=0.182 ms
64 bytes from 192.168.29.1: icmp_seq=80 ttl=64 time=0.193 ms
64 bytes from 192.168.29.1: icmp_seq=81 ttl=64 time=0.151 ms
64 bytes from 192.168.29.1: icmp_seq=82 ttl=64 time=0.233 ms
64 bytes from 192.168.29.1: icmp_seq=83 ttl=64 time=0.144 ms

Note how the first 6 pings are dropped and then seq 17 to 43 and 45 to 79 etc.
The same ping from the host is fine.
The system is under no heavy load - < 3% CPU and 10% RAM
Any suggestions on how to troubleshoot this further?

Thanks
 
Hello,

Please post the content of /etc/network/interfaces of your PVE server, as well as network configuration (ip a + ip r) of all his hosts.

Kind regards,

GD
 
  • Like
Reactions: gob
Hi @GuillaumeDelaney

I'm not sure exactly what you mean by (ip a + ip r) but here's the basic network info.

PVE Host:

auto lo
iface lo inet loopback

iface eno1 inet manual

iface eno3 inet manual

iface eno4 inet manual

iface eno2 inet manual

auto vmbr0
iface vmbr0 inet static
address 192.168.29.20/23
gateway 192.168.29.1
bridge-ports eno1
bridge-stp off
bridge-fd 0

auto vmbr1
iface vmbr1 inet static
address 10.10.29.20/24
bridge-ports eno4
bridge-stp off
bridge-fd 0
#DMZ

Debian 12 LXC:

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 192.168.29.21/23
gateway 192.168.29.1



1708529787690.png

Windows 2019 Server VM

1708529937627.png
1708530048226.png
 
Last edited:
Hello,

"ip a" is the short order for "ip address show", and
"ip r" is the short order for "ip route show".

Simply type them in a terminal to get interesting network related infos.

But it's okay, since the print screens and configs you sent also give us that information :)

In your IP configuration, IP ranges given to each interface and to each VM are overlapping each other. Moreover, some have been given the same IP address.
vmbr0 : address 192.168.29.20/23
vmbr1 : address 192.168.29.20/24 same address, and the subnet is overlapping with vmbr0's.

Also, your Windows VM has the same address as your eth0 PVE interface.

Avoid overlapping, solve your IP address conflicts and you should solve your dropped packets issue .

Kind regards,


GD
 

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!