Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
20.7 Legacy Series
»
Help with setting up pipes/queues to ensure min. bandwitdth but without limits
« previous
next »
Print
Pages: [
1
]
Author
Topic: Help with setting up pipes/queues to ensure min. bandwitdth but without limits (Read 2692 times)
andreaslink
Jr. Member
Posts: 58
Karma: 4
Help with setting up pipes/queues to ensure min. bandwitdth but without limits
«
on:
December 22, 2020, 11:54:30 am »
I'm planning on setting up traffic shaping with pipes and queues to limit bandwidth or prioritize traffic. I read through the documentation (
https://docs.opnsense.org/manual/shaping.html
) but I did not clearly unterstand if this always limits the bandwidth or only when the cable is under full load - if you understand what I mean?
For example, I have a 100 MBit internet connection and I want to prioritize bandwidth for a specific host (in a specific network) with always at least 40 MBit, which means, there are only 60 Mbit left for all other hosts, when all 100 Mbit are requested via WAN. Today I would assume there is an equal balance between all of them. But if no one is using the bandwidth I want everything - all 100 MBit - to be available for the specific host asking and do not want to limit it to 40 MBit only.
As I see it, I can setup a dedicated pipe according to (
https://docs.opnsense.org/manual/how-tos/shaper.html
) case 1 "Reserve dedicated bandwidth for a realtime traffic". Then it is reserved if all is requested, but will this host also get everything, if nothing else is used? This is not clear to me. There the setup seems to ensure, but also limit it, by creating upload and download pipes as it states "desired bandwidth" and not "minimum bandwidth" or likewise. I hope I can explain myself?
Or can/do I need to setup queues with pipes on top somehow? Such that I can kind of give a pipe a higher weight bevor it kicks in and if the weight is not requested, the pipe does not have any value?
What I would like to prevent is not to leave out available bandwidth just due to limiting down packets in relation to the corresponding pipe. If there is no traffic, I want to offer everything. How can I ensure this?
Logged
Running OPNsense on 4 core Intel Xeon E5506, 20GB RAM, 2x Broadcom NetXtreme II BCM5709, 4x Intel 82580
Ubench Single CPU: 307897 (0.39s)
Fright
Hero Member
Posts: 1777
Karma: 164
Re: Help with setting up pipes/queues to ensure min. bandwitdth but without limits
«
Reply #1 on:
December 22, 2020, 05:06:42 pm »
Hi
I think that
https://docs.opnsense.org/manual/how-tos/shaper_share_evenly.html#
guide is is closer to what you need.
2 pipes (1 UP, 1 DOWN) for all clients. and queues within this pipes (weight 40 for specific host, weight 60 for subnet). specific hosts rules with lower sequence numbers than subnet rules
«
Last Edit: December 22, 2020, 06:02:44 pm by Fright
»
Logged
Luc3k
Newbie
Posts: 16
Karma: 2
Re: Help with setting up pipes/queues to ensure min. bandwitdth but without limits
«
Reply #2 on:
February 06, 2021, 11:11:18 pm »
I have similar problem to solve. I have a 200/20 Mbit bandwidth. I have configured the bandwidth manager according to this manual:
https://docs.opnsense.org/manual/how-tos/shaper_share_evenly.html#
Everything works well.
However, I need to limit the bandwidth to 20/5 Mbit for several ip addresses.
For example:
The addresses 192.168.14.20 and 192.168.14.21 receive a bandwidth of 20/2 Mbit/s.
The rest of the addresses in the network get the full 200/20 bandwidth.
Is this configuration possible?
I currently have the latest version of OPNsense (21.1)
«
Last Edit: February 06, 2021, 11:13:04 pm by Luc3k
»
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
20.7 Legacy Series
»
Help with setting up pipes/queues to ensure min. bandwitdth but without limits