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

throttling based on interfaces with QoS

Hi There, I'm trying to figure something out and would love some hints as I'm pretty new to QoS.

I rent two apartments and I have ASG8 installed on a box with 4 nics (1 internet, 1 for each apartment and 1 for me).

I see that you can guarantee bandwidth to certain kinds of traffic, but can you throttle network throughput based on the interface?

What I would like to accomplish is the following.  We have 15mbit down and 1Mbit up for internet.  If only 1 apartment is using internet, I'm fine with them using up all the bandwidth.  If everyone wants online, then I would like to equally divide the bandwidth 3 ways so we are all guaranteed 5 mbits in and 300kbits out.

Any idea if this is possible? If so, how?  I'm not even entirely sure if QoS is what I should be using for this application.
Thanks!


This thread was automatically locked due to age.
  • Hi, you can use the Network Definition for each LAN in a QOS selector for each.

    Guarantee each one 5mbps/300kbps and it should work.

    Barry
  • Thanks for the reply, I just noticed it now because I didn't realize this forum would only email me if I actually subscribed to a thread.

    So I just started setting it up as you suggest, but I noticed that it's actually a lot more complicated than I realized.  It seems to me this should work, but it doesn't:
    1. make an up and a down selector for each of the 3 apartments. (6 in total).
    2. Set my internet interface uplink and downlink speed. (15mbits down, 1 up)
    3. Bound to the internet interface I made an inbound pool set to 5000kbits, and an outbound pool set to 300kbits.

    This had no effect, so I set both pools to 300 and set an upper limit to 400 just to see if I could actually make a difference, but it didn't at all.  

    Now the only thing that did make a difference was to bind the pool to the apartment interface.  For example, I set my own went to the Apartment 3 interface and set a pool using the Apt 3 selectors and that made a difference, but my question here is that if I do that for everyone how do these bandwidth pools know what the total available bandwidth is if they are not bound to the internet interface?

    This all seems very elaborate, I hope I explained myself well enough.  If not, I'll try and clarify.
    Any help is greatly appreciated!
  • QoS rules are defined on a specific interface, and apply only to traffic leaving the interface.  On the Extrernal interface, do what Barry said - guarantee 300KB uplink to each subnet.  If you're using the HTTP/S Proxy, I'm not sure that that will be possible, but I think Astaro has made the changes necessary to allow it to work.

    The best you can do for the other direction is to enable the 'Download Optimizer' on the External interface.

    On the Internal interfaces, all you can do is restrict traffic for someone that abuses the connection.  In fact, to give equal access to all the subnets, the best approach would be to put all three on the same interface and use 'Upload Optimizer'.

    Cheers - Bob