OPNsense Forum

Archive => 18.7 Legacy Series => Topic started by: guest19228 on November 05, 2018, 12:48:21 am

Title: Traffic shaping with virtio
Post by: guest19228 on November 05, 2018, 12:48:21 am
I have a new question, I could not find a satisfying answer for.
Is traffic shaping supported with virtio drivers?
The goal is:
Title: Re: Traffic shaping with virtio
Post by: mimugmail on November 05, 2018, 06:15:45 am
FreeBSD shaper doesn't really support priority queueing .. you could do something similar with WFQ.
Create 2 PIPEs with WFQ and all your bandwitdh for up and down. Go to queues and create for up and down one queue for VoIP and give it weight of 40, then 2 queues (up/down) for specific source and weight 20, again for port weight 20, then 2 queues for the rest, weight 10 .. and here you have to set mask to source or destination (read the help text). Then go to rules and create the specific rules with correct order for all queues in the correct direction (only choose one interface, not both).

VirtIO has problem, you might want switch to E1000 ..