Welcome Guest, Not a member yet? Create Account  




VyOS configuration qos by ip

#1

I have a simple question, VyOS is a bit new to me.
I am trying to apply traffic shaper QOS.
this configuration works but I would have to repeat it 80 times (class  20, 21, 22, 23....)


Code:
    set traffic-policy shaper DOWNLOAD-POLICY class 20 bandwidth 35%
    set traffic-policy shaper DOWNLOAD-POLICY class 20 ceiling 95%
    set traffic-policy shaper DOWNLOAD-POLICY class 20 priority 2
    set traffic-policy shaper DOWNLOAD-POLICY class 20 match COMPUTERS ip destination address 192.168.1.20/32


How would I do something like this

   
Code:
set traffic-policy shaper DOWNLOAD-POLICY class 20 match COMPUTERS ip destination address 192.168.1.20-192.168.1.80
Reply

#2

Try to get the COMPUTERS group into a single subnet, so you can match on subnet. For example, assign the computers addresses in 192.168.1.64.....127 range, and use
set traffic-policy shaper DOWNLOAD-POLICY class 20 match COMPUTERS ip destination address 192.168.1.64/26
Reply





Users browsing this thread:
1 Guest(s)