Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Is my understandig of how QoS works correct?..

Hello everyone,

few hours today I've spent reading posts here on how to configure QoS and how it works.

Then I made some tuning at my Astaro box (software, the latest version).

If somebody more advanced than me will say if that is correct, I'll be very thank [[[:)]]].

So...

Astaro's LAN IP is 192.168.1.252.

There is a subdivision behind the cheap Edimax router, it has WAN IP of 192.168.1.237 (and LAN IP of 192.168.7.252). So people 192.168.7.0/24 behind this router are doble-NATed [[[:)]]].

They also have a PC with torrents and they like to download some BS (Bob, am I right? [[[:)]]] ) from the net and jam the bandwidtch.

I decided to give'em 384 kbit guarantee and up to 512 kbit max.

What I did is shown below.

First, I create two traffic selectors:

http://img25.imageshack.us/img25/4272/astaroshaper1.jpg

http://img27.imageshack.us/img27/6851/astaroshaper2.jpg

Then, I defined the bandwidtch pool as this:

http://img18.imageshack.us/img18/4089/astaroshaper3.jpg

I hope that all traffic from 1.252 to 1.237 and vice versa will be limited with 512 kbit and will have 384 kbit CIR.

Is that correct? Will these rules do what I want?

And is it correct to bind bandwidth pool to "internal (up)" interface?


This thread was automatically locked due to age.
Parents
  • I'm sure that did cause the slowness.  I wonder if you had the limitations in the right places.  I would have expected the bandwidth pools to be:

    External: 

    Guarantee: 10% of WAN upload bandwidth


    Limitation: from 20% to 80% of WAN upload bandwidth; start with 80% and decrease if you see problems


    Internal:

    Guarantee: 10% of WAN download bandwidth


    Limitation: 60% of WAN download bandwidth


    I think you can lock down the number of ports used by utorrent, and you could put harsher limits on that traffic instead of limiting all internet traffic.

    As an alternative, you could add a new bandwidth pool on the Internal interface at the top of the list for 'Any -> Web surfing -> Internal (Network)' to guarantee 90% to "good" traffic.  Since the ports for utorrent aren't in that list, the limiting bandwidth pool would be preempted by this new pool.

    Cheers - Bob
  • I'm sure that did cause the slowness.  I wonder if you had the limitations in the right places.  I would have expected the bandwidth pools to be:

    External: 

    Guarantee: 10% of WAN upload bandwidth


    Limitation: from 20% to 80% of WAN upload bandwidth; start with 80% and decrease if you see problems


    Internal:

    Guarantee: 10% of WAN download bandwidth


    Limitation: 60% of WAN download bandwidth


    I think you can lock down the number of ports used by utorrent, and you could put harsher limits on that traffic instead of limiting all internet traffic.

    As an alternative, you could add a new bandwidth pool on the Internal interface at the top of the list for 'Any -> Web surfing -> Internal (Network)' to guarantee 90% to "good" traffic.  Since the ports for utorrent aren't in that list, the limiting bandwidth pool would be preempted by this new pool.

    Cheers - Bob


    Bob, it looks like this specific installation of Astaro is very "stupid".

    Not the Astaro itself, but the hardware. It is old enough.

    Today admin asked me to switch off "this BS" and to put PfSense back [:)].

    Few hours all people in the office (not only those behind 1.237) were unable to use internet. Now Astaro is switched off in this place.

    However, I've send you a PM with access to the another Astaro, and it configured exactly the same way as this "buggy" one.

    So please check out this config (and regarding to the "Scan HTTPS" is not selected, which we're discussing in another thread).

    Thanks a lot!
Reply
  • I'm sure that did cause the slowness.  I wonder if you had the limitations in the right places.  I would have expected the bandwidth pools to be:

    External: 

    Guarantee: 10% of WAN upload bandwidth


    Limitation: from 20% to 80% of WAN upload bandwidth; start with 80% and decrease if you see problems


    Internal:

    Guarantee: 10% of WAN download bandwidth


    Limitation: 60% of WAN download bandwidth


    I think you can lock down the number of ports used by utorrent, and you could put harsher limits on that traffic instead of limiting all internet traffic.

    As an alternative, you could add a new bandwidth pool on the Internal interface at the top of the list for 'Any -> Web surfing -> Internal (Network)' to guarantee 90% to "good" traffic.  Since the ports for utorrent aren't in that list, the limiting bandwidth pool would be preempted by this new pool.

    Cheers - Bob


    Bob, it looks like this specific installation of Astaro is very "stupid".

    Not the Astaro itself, but the hardware. It is old enough.

    Today admin asked me to switch off "this BS" and to put PfSense back [:)].

    Few hours all people in the office (not only those behind 1.237) were unable to use internet. Now Astaro is switched off in this place.

    However, I've send you a PM with access to the another Astaro, and it configured exactly the same way as this "buggy" one.

    So please check out this config (and regarding to the "Scan HTTPS" is not selected, which we're discussing in another thread).

    Thanks a lot!
Children
No Data