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

[v9]Help with QoS configuration

Hi All

I am trying to set up QoS for my network. I have an AP-10 with two SSID( Guest and trust users). I have therefore set up the following  configuration 
(v9.044-33) has qos broken but the config should work on previous versions

Zone 1 users are : vlan 10 192.168.2.x/24
Guest  users are : vlan 20 172.16.1.x/24

Internet interface (only Upload Optimizer checked)
Downlink kbit/sec:5000
Uplink kbit/sec:1000

Zone 1 interface (only Upload Optimizer,Limit uplink checked)
Downlink kbit/sec:1024000 
Uplink kbit/sec:1024000 

Zone 1 interface (only Upload Optimizer,Limit uplink checked)
Downlink kbit/sec:1024000 
Uplink kbit/sec:1024000 



Note – You can only assign up to 90 % of the entire available bandwidth to a bandwidth pool. The gateway always reserves 10 % of the bandwidth for so-called unshaped traffic. I therefore configured my qos as if the available BW is 4608kbit/sec

Traffic Selector
#######################################
Source: Internet 
Destination: zone 1

AF31 Application for Trusted Users  Standard mode proxy ,HTTP
example: DNS, VOIP,streaming protocols,

AF21 Application for Trusted Users   Standard mode proxy ,HTTP
example: HTTP, ftp,pop 

AF11 Application for Trusted Users  - Standard mode proxy ,HTTP
example: CIFS,AFP,apple update, bit torrent,torrent,windows update etc 

Guest network   -Transparent mode Proxy, HTTP
Source:Internet
Service:Any:
Destination: Guest network

Bandwidth Pool
#######################################
Bound to Interface Zone 1

Name: AF31 Guarantee Bandwidth Pool
position: 1
Bandwidth : 2073 kibts/sec (45% of bandwidth)
no upper BW limit set
Traffic selector: AF31 Application for Trusted Users

Name:AF21 Guarantee Bandwidth Pool
Priority: 2
Bandwidth: 1840 kibts/sec (40% of bandwidth)
no upper BW limit set
Traffic selector: AF21 Application for Trusted Users

Name: AF11 Guarantee Bandwidth Pool
position: 3
Bandwidth : 690 kibts/sec (25% of bandwidth)
Traffic selector: AF11 Application for Trusted Users

Bound to Interface Guest

Name: Throttle Guest Network Traffic
position: 1
Bandwidth : 1
upper limit: 1000kbi/sec
Traffic selector: Guest Network

Thanks


This thread was automatically locked due to age.
  • Hi, 

    1 & 2) Yes, bandwidth will be taken away from Guest as long as you didn't set a guaranteed min for Guest.

    Even guaranteed bandwidth is only counted when actually used, so other traffic can still use the full bandwidth if there are no guaranteed services active.

    3) Astaro won't change the TOS field.

    Barry
  • Thank barry that I would expect. How can I test though that my config is correct and that the correct DSCP field are being used?
  • I used to have a VOIP phone, so I'd make a call, and then start up some ftp file transfers and make sure it didn't interfere.

    Unfortunately, the way I understand it works is that any streams already active before the priority connection starts won't be throttled, so you may need to have a max bandwidth limit on FTP or other high-traffic services also.

    Barry
  • I 've just noticed that one of the users on the guest network is watching a movie and the QoS doesn't apply 

    According to the Qos Applied the bandwidth allocated to the guest network (172.16.1.x) should be max 250kbits which is not as per picture

    The QoS is applied to traffic leaving so as per my config I have applied QoS to Guest interface with rule

    Source: any
    Port: Any
    Destination: Guest network

    Am I missing something really obvious? What I am trying to achieve is to prioritize traffic as per classes defined and guarantee badwidth depending on the DSCP. This needs to be for the incoming traffic (ISP 4096kbit/s). I have therefore applied the Qos to the internal interfaces

    PS I am using HTTP/S proxy in standard mode
  • After reading more about astaro qos I've made the following changes based on

    1)Qos will not tag the traffic with the specified DSCP but rather it will use the existing DSCP (if any) and prioritise traffic based on the rules in place



    Hi All

    I am trying to set up QoS for my network. I have an AP-10 with two SSID( Guest and trust users). I have therefore set up the following  configuration

    Zone 1 users are : vlan 10 192.168.2.x/24
    Guest  users are : vlan 20 172.16.1.x/24

    External interface (uplink checked only)
    Downlink kbit/sec: 4096
    Uplink kbit/sec:448

    Traffic selector

    Any  → Bulk Class Applications  → Data Zone 1 (Network)  : Name:  AF11 Application 
    Any  → AF21 Applications  → Data Zone 1 (Network) : Name:  AF21 Application 
    Any  → AF31 Applications  → Data Zone 1 (Network)  : Name:  AF31 Application 
    Any  → Any                          → Guest Network (Network) : Name: Guest


    Bound to Interface: Internal

    [Guarantee 45% of Total Bandwidth to AF31 Applications]
    Guaranteed Bandwidth: 200 kbit/s
    Traffic Selectors: AF31 Application 

    [Guarantee 40% of Total Bandwidth to AF21 Applications]
    Guaranteed Bandwidth: *** kbit/s (max 260kbit/s)
    Traffic Selectors: AF21 Application 

    [Guarantee 15% of Total Bandwidth to AF11 Applications]
    Guaranteed Bandwidth: ***xkbit/s 
    Traffic Selectors: AF11 Application 

    Bound to Interface: Guest Network

    Guarantee xx of Total Bandwidth to Guest]
    Guaranteed Bandwidth: 1 kbit/s 


    What I would like to achieve is if the link is over utilised, to prioritise the traffic with AF31 (top priority) then AF21, AF11 and the Guest traffic. I would assume this would only work if the link is close to be over utilised as QoS will take effect only then(?)

    It seems not to work: I've checked the QoS by using speedtest (this is part of AF21 traffic selector as it's HTTP traffic) and the traffic went up to max and didn't stop on the upper limit as specified -260kbit/s)

    Thanks
  • I can't tell if you're measuring something that would indicate whether your rules are working.  How about pictures of your QoS rules where it's clear which interface they're on?

    Cheers - Bob
  • Bob I have updated my post with the config. Do you still want the pics [:)] ?
  • I've managed to fix the issue. I've used application selectors instead and it seems that the test (speedtest) actually worked-traffic limited to 260kb [:)]

    What I would like now to confirm is whether if the link is over utilised, the traffic will prioritised with AF31 (top priority) then AF21, AF11 and the Guest traffic (in theory it should work like this since the guaranteed bandwidth is greater on AF31 Class than on AF11 for example)


    Thanks
  • Hi All

    I am trying to set up QoS for my network. I have an AP-10 with two SSID( Guest and trust users). I have therefore set up the following configuration 
    (v9.044-33) has qos broken but the config should work on previous versions

    Zone 1 users are : vlan 10 192.168.2.x/24
    Guest users are : vlan 20 172.16.1.x/24

    Internet interface (only Upload Optimizer checked)
    Downlink kbit/sec:5000
    Uplink kbit/sec:1000

    Zone 1 interface (only Upload Optimizer,Limit uplink checked)
    Downlink kbit/sec:1024000 
    Uplink kbit/sec:1024000 

    Zone 1 interface (only Upload Optimizer,Limit uplink checked)
    Downlink kbit/sec:1024000 
    Uplink kbit/sec:1024000 



    Note – You can only assign up to 90 % of the entire available bandwidth to a bandwidth pool. The gateway always reserves 10 % of the bandwidth for so-called unshaped traffic. I therefore configured my qos as if the available BW is 4608kbit/sec

    Traffic Selector
    #######################################
    Source: Internet 
    Destination: zone 1
    AF31 Application for Trusted Users Standard mode proxy ,HTTP
    example: DNS, VOIP,streaming protocols,

    AF21 Application for Trusted Users Standard mode proxy ,HTTP
    example: HTTP, ftp,pop 

    AF11 Application for Trusted Users - Standard mode proxy ,HTTP
    example: CIFS,AFP,apple update, bit torrent,torrent,windows update etc 

    Guest network -Transparent mode Proxy, HTTP
    Source:Internet
    Service:Any:
    Destination: Guest network

    Bandwidth Pool
    #######################################
    Bound to Interface Zone 1

    Name: AF31 Guarantee Bandwidth Pool
    position: 1
    Bandwidth : 2073 kibts/sec (45% of bandwidth)
    no upper BW limit set
    Traffic selector: AF31 Application for Trusted Users

    Name:AF21 Guarantee Bandwidth Pool
    Priority: 2
    Bandwidth: 1840 kibts/sec (40% of bandwidth)
    no upper BW limit set
    Traffic selector: AF21 Application for Trusted Users

    Name: AF11 Guarantee Bandwidth Pool
    position: 3
    Bandwidth : 690 kibts/sec (25% of bandwidth)
    Traffic selector: AF11 Application for Trusted Users

    Bound to Interface Guest

    Name: Throttle Guest Network Traffic
    position: 1
    Bandwidth : 1
    upper limit: 1000kbi/sec
    Traffic selector: Guest Network

    Thanks


    Hi All

    I have updated the qos configuration on my first post

    What I would like to achieve is:
    1) If traffic matches "high priority class" (for example if the application is VOIP related) ,then there is a 2073 BW guaranteed. (that means that other traffic will be limited (for example torrent ) in order to get 2073 kbit/sec
    2)If no other traffic than torrent is being used (part of lower class), the torrent can use all bandwidth. However, if traffic from other class (for example HTTP) begins,then HTTP should get 1840kbits/sec and torrent traffic will be limited
    3) Zone 1 users get traffic prioritization over guest users (i think this should work as I don't have any "Guaranteed Bandwidth" set (is set to 1kbit/sec)

    Feedback
  • How about some pictures/screencaps? It's hard to absorb so much detail.

    Cheers - Bob