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

Re: QOS

I have a problem with getting QOS to work properly.

Can somebody give me a simple guide to reserving quarter of my upload bandwidth for http?

I want to reserve quarter of my bandwidth for outgoing web requests, but I'm not sure where QOS is applied, and I'm running squid in transparent mode, so this might affect it. 

I would also like to reserve quarter of my bandwidth for the results of incoming http requests. i.e. Somebody requests a web page from my server and i would like to reserve quarter of my upload bandwidth to send them the web page i requested. 

I tried to define a service, with the source port as 80, but the service doesnt show up in QOS settings as a service.


I'm on cable, 256kbits up, 1024 kbits down.

The rules i have in QOS now are:

eth1

Class 1
Total link bandwidth.
Min. BW: 256Kbit
Max. BW: 256Kbit

Class 10
Reserved Bandwidth for unshaped traffic.
Min. BW: 192Kbit
Max. BW: 256Kbit

Class 11
Min. BW: 64Kbit
Max. BW: 64Kbit

Filter:
Protocol tcp
Source 192.168.2.0/255.255.255.0
Destination 81.101.128.0/255.255.255.0
Destination Port 80

What I want to change is the Max bandwidth for unshaped traffic so it never exceeds 192kbps.



  


This thread was automatically locked due to age.
  • Hi,
    it seems that you have got two streams. One from your internal LAN and one of your Webserver. If you want to give your Webserver one quarter of your bandwidth and the LAn three quarters reserved, define the rule like this:

                   Class 1
    Total link bandwidth.
    Min. BW: 256KBit
    Max. BW: 256KBit

    Class 10
    Reserved Bandwidth for unshaped traffic.
    Min. BW: 192KBit
    Max. BW: 2Mbit

    Class 11
    Min. BW: 64KBit
    Max. BW: 2Mbit

    Filter:
    Source /255.255.255.255

    So you have reserved 192KBit for your LAN and 64KBit for your Webserver. In the worst case of full bandwith your Webserver has 64KBit reservered and your unshaped traffic 192KBit.