Author Topic: [Solved]Bandwidth throttling  (Read 2008 times)

gamingutopia

  • Zen Apprentice
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
[Solved]Bandwidth throttling
« on: September 16, 2014, 12:03:07 pm »
https://wiki.zentyal.org/wiki/En/3.5/Quality_of_Service_%28QoS%29

Trying to limit each pc to 1.5mbs down .25mbs up I follow that to the best of my understanding and got this far.

Traffic shaping
Rules

Rules for external interfaces (upload)

Enable checked
filter type   based on firewall
interface    vlan 20
service any
source  any
destination any
priority 7
guaranteed rate  0
limited rate 300kbit/s

And it limites the upload to .25mbs

How do I do the download?  If you have this setup a picture would solve everything thanks!

« Last Edit: September 17, 2014, 08:30:48 pm by Escorpiom »

Escorpiom

  • Zen Hero
  • *****
  • Posts: 897
  • Karma: +25/-1
    • View Profile
Re: Bandwidth throttling
« Reply #1 on: September 16, 2014, 09:53:29 pm »
Hi,

Define another rule but on the internal interface. That will limit the download.

Cheers.
Marcus' Rule:
Blanks & capitals = avoid it and you'll avoid problems...

gamingutopia

  • Zen Apprentice
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Re: Bandwidth throttling
« Reply #2 on: September 17, 2014, 05:18:51 am »
I tried that and ran a speed test but, it still hit 10mb/s

Escorpiom

  • Zen Hero
  • *****
  • Posts: 897
  • Karma: +25/-1
    • View Profile
Re: Bandwidth throttling
« Reply #3 on: September 17, 2014, 06:41:48 am »
vlan20 in this case is the internal interface.
For upload you should choose the external interface, source object or IP, destination any. 
For download choose internal interface (vlan20), source any, destination object or IP.

cheers.
Marcus' Rule:
Blanks & capitals = avoid it and you'll avoid problems...

gamingutopia

  • Zen Apprentice
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Re: Bandwidth throttling
« Reply #4 on: September 17, 2014, 11:09:01 am »
Thats the thing I got the upload done but I for some reason with the object cannot get the download to cap

gamingutopia

  • Zen Apprentice
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Re: Bandwidth throttling
« Reply #5 on: September 17, 2014, 11:09:34 am »
That's why im asking for help cause I think i'm doing something wrong in just the download but, following my knowledge it should work but its not

gamingutopia

  • Zen Apprentice
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Re: Bandwidth throttling
« Reply #6 on: September 17, 2014, 11:16:20 am »
One thing to note is on interface I tried eth0 as eth1 is a trunk line and doesn't show. So I have options eth0 and all I cannot select all as it says changing rule for this interface is not supported.

gamingutopia

  • Zen Apprentice
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Re: Bandwidth throttling
« Reply #7 on: September 17, 2014, 11:18:30 am »
I'm tired i reread what u posted it said destination for download so I changed that it worked Thank you!

Escorpiom

  • Zen Hero
  • *****
  • Posts: 897
  • Karma: +25/-1
    • View Profile
Re: Bandwidth throttling
« Reply #8 on: September 17, 2014, 08:29:20 pm »
Sure it works, I have traffic shaping set up on my own Zentyal server, no problems.
Glad you got it solved, I'll mark the post as solved.

Cheers.
Marcus' Rule:
Blanks & capitals = avoid it and you'll avoid problems...