VyOS configuration qos by ip

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…)

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

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

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

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.