Use this when shaping or capping VM network bandwidth.
Network Limits
Network limits cap or shape a VM's or port group's bandwidth (traffic shaping, Network I/O Control, Hyper-V bandwidth management, tc on Linux) so one VM or traffic type cannot saturate a shared uplink.
1. Network limits cap a VM's bandwidth.
2. Useful for backup or untrusted VMs.
3. Hyper-V: minimum bandwidth weights for fair sharing.
4. Check drops caused by shaping.
5. Document limits.
vNIC traffic → shaper → uplink
Context & applicabilityCommon mistakes · platform/version boundaries
- Shaping applied on port groups shared by many VMs, limiting all of them.
- Limiting burst size so small that TCP throughput collapses.
- Forgetting that ingress shaping on a standard vSwitch is not available (only outbound).
- Not reserving bandwidth for vMotion and storage on converged uplinks.
Operational reference
Fast context before you go deeper.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Shaping applies per port or port group.
- Bursts may exceed average.
- Shape before uplink saturates.
qm set <vmid> --net0 virtio,bridge=vmbr0,rate=100— Proxmox MB/s limitSet-VMNetworkAdapter <vm> -MaximumBandwidth 1GB— Hyper-V bandwidthtc -s qdisc show dev <tap>— Linux shaping
ReferenceWhy it matters1 section · depth on demand
Examples
| Platform | Setting |
|---|---|
| vSphere | Traffic shaping on port groups; Network I/O Control shares/reservations on vDS |
| Hyper-V | Set-VMNetworkAdapter -MaximumBandwidth / -MinimumBandwidthWeight |
| Proxmox / KVM | Rate limit per vNIC (MB/s), or tc on the host |
Make sure storage and live-migration traffic is not starved by VM traffic on shared uplinks.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
Network limits shape a VM's bandwidth:
qm set 120 --net0 virtio,bridge=vmbr0,tag=20,rate=100 # MB/s
Set-VMNetworkAdapter -VMName vm1 -MaximumBandwidth 1GB -MinimumBandwidthWeight 20
virsh domiftune vm1 vnet0 --inbound 125000,250000 --outbound 125000 # KiB/s average,peak
vSphere vDS supports ingress/egress traffic shaping per port group and Network I/O Control (shares/reservations per traffic type: VM, vMotion, vSAN, NFS). Use minimum-bandwidth weights rather than hard limits for infrastructure traffic on shared uplinks.
ReferenceConfiguration & state1 section · depth on demand
Commands
# Proxmox (MB/s)
qm set 101 --net0 virtio,bridge=vmbr0,rate=50
# Hyper-V (bits/s)
Set-VMNetworkAdapter -VMName vm01 -MaximumBandwidth 500000000
Documented example, not captured output.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Resource Management → Network Limits. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://libvirt.org/html/libvirt-libvirt-domain.html · confidence 94%