Pcornel
Virtualization · Monitoring

Network Usage

Cheat sheet · https://pcornel.dk/topic.php?topic=3669

Back to the Topic

Answer

Monitor VM network usage per vNIC and per host uplink: throughput, packets per second, drops and errors. Saturated uplinks or drops on the virtual switch point to capacity or teaming problems.

Remember

  • Drops on vSwitch differ from physical drops.
  • Check per uplink, not just totals.
  • PPS matters for small packets.

First checks

  • virsh domifstat <vm> <vnet> — VM NIC counters
  • Get-Counter '\Hyper-V Virtual Network Adapter(*)\Bytes/sec' — Hyper-V
  • ip -s link — host interface counters

Verify in this order

VM traffic → vSwitch → uplinks

Where it usually breaks

First mismatch in management intent → host/cluster capability → hypervisor runtime/task → virtual resource/device → guest state → workload-visible read-back; preserve identity/native error/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3669

Confirmation

Confirm action

Continue?