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 .(.