Quantcast
Channel: EdgeRouter topics
Viewing all articles
Browse latest Browse all 20028

QoS advanced queue

$
0
0

Hi,

 

I try to configure a advanced queue QoS on my ERL-3.

This is my current configuration :

 

 branch {
     queue 10 {
         bandwidth 10mbit
         description Download
         parent 1
     }
     queue 20 {
         bandwidth 1mbit
         description Upload
         parent 1
     }
 }
 filters {
     match 10 {
         attach-to 1
         description "WAN Download"
         ip {
             destination {
                 address 192.168.0.0/24
             }
         }
         target 10
     }
     match 20 {
         attach-to 1
         description "WAN Upload"
         ip {
             source {
                 address 192.168.0.0/24
             }
         }
         target 20
     }
     match 199 {
         attach-to 10
         target 199
     }
     match 201 {
         attach-to 10
         description Test
         ip {
             destination {
                 address 192.168.0.111/32
             }
         }
         target 201
     }
     match 299 {
         attach-to 20
         target 299
     }
 }
 leaf {
     queue 199 {
         bandwidth 10mbit
         parent 10
         queue-type FQCODEL_DOWN
     }
     queue 201 {
         bandwidth 1mbit
         description Test
         parent 10
         queue-type HFQ_DOWN
     }
     queue 299 {
         bandwidth 1mbit
         parent 20
         queue-type FQCODEL_UP
     }
 }
 queue-type {
     fq-codel FQCODEL_DOWN {
         ecn enable
     }
     fq-codel FQCODEL_UP {
         ecn enable
     }
     hfq HFQ_DOWN {
         host-identifier sip
         max-rate 1mbit
         subnet 192.168.0.0/24
     }
 }
 root {
     queue 1 {
         attach-to global
         bandwidth 11mbit
     }
 }

As you can see, I try to limit 192.168.0.111/32 to 1 Mb/s (in order to test my config) but I still can get 10 Mb/s.

 

I read everything I could find about advanced queues and I don't found anything ...

Thanks for your help !

 

 


Viewing all articles
Browse latest Browse all 20028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>