# How to limit network in VM

**URL:** <https://forum.opennebula.io/t/how-to-limit-network-in-vm/9753>\
**Category:** Installation & Configuration\
**Created:** [July 27, 2021, 11:04pm UTC](https://forum.opennebula.io/t/how-to-limit-network-in-vm/9753 "2021-07-27T23:04:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nguyen\_tran](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/nguyen_tran/32/7061_2.png) [@nguyen\_tran](https://forum.opennebula.io/u/nguyen_tran)\
**Post date:** [July 27, 2021, 11:04pm UTC](https://forum.opennebula.io/t/how-to-limit-network-in-vm/9753/1 "2021-07-27T23:04:45Z")

</div>

how to limit network in virtual machine.??? i try qos in sunstone but not susseces

---

<div class="post-metadata">

**Author:** ![Harry\_Suryapambagya](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/harry_suryapambagya/32/5862_2.png) [@Harry\_Suryapambagya](https://forum.opennebula.io/u/Harry_Suryapambagya)\
**Post date:** [August 9, 2021, 2:31am UTC](https://forum.opennebula.io/t/how-to-limit-network-in-vm/9753/2 "2021-08-09T02:31:08Z")

</div>

Have you tried to implement this?  
[https://docs.opennebula.io/6.0/management\_and\_operations/references/vnet\_template.html?highlight=inbound\_avg\_bw#quality-of-service-attributes](https://docs.opennebula.io/6.0/management_and_operations/references/vnet_template.html?highlight=inbound_avg_bw#quality-of-service-attributes)

In my machine it’s running well. After VM reached **N** bitrate (PEAK\_BW), it will throttle to **N** AVG\_BW.
