Rate limit for multiple NICs as a whole in a same VM

Hello!
I am unaware of any way to rate limit every NIC on the VM as a whole.

You can rate limit the nic individually under Hardware>TheNetworkinterface>Advanced.
ratelimit.png
You could use something like Ansible to set all of the NIC's to the same rate limit value.
 
Hello!
I am unaware of any way to rate limit every NIC on the VM as a whole.

You can rate limit the nic individually under Hardware>TheNetworkinterface>Advanced.
View attachment 69616
You could use something like Ansible to set all of the NIC's to the same rate limit value.
Thanks for the reply...
Set rate-limit for each NIC is easy, can be done like this:
#/bin/bash
# Usage: change-vlan.sh <VMID>
for i in {0..9}; do qm set $1 -net$i model=virtio,bridge=vmbr1,firewall=1,tag=10,rate=0.5,link_down
=0; done

But still no idea on how to do rate limit for all the NICs as a whole .(.
 

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!