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

QoS CLASS with multiple IP or MAC addresses

$
0
0

I took the following example from a Ubiquiti help site. https://help.ubnt.com/hc/en-us/articles/216787288-EdgeMAX-Quality-of-Service-QoS-

The site states to make two classes like so to limit them to 20mbit each as in Example 1. 

Could one not just add both source addresses to match in the same class. I am looking to group devices into a specified class instead of creating a class for each device.

 

 

Example 1

set traffic­policy shaper shaper1 bandwidth 100mbitset traffic­policy shaper shaper1 default bandwidth 60mbitset traffic­policy shaper shaper1 class 2 bandwidth 20mbitset traffic­policy shaper shaper1 class 2 match client2 ip source address 10.0.1.2/32
set traffic­policy shaper shaper1 class 3 bandwidth 20mbitset traffic­policy shaper shaper1 class 3 match client3 ip source address 10.0.1.3/32set interfaces ethernet eth0 traffic­policy out shaper1
commit

 My modified example

set traffic­policy shaper shaper1 bandwidth 100mbitset traffic­policy shaper shaper1 default bandwidth 60mbitset traffic­policy shaper shaper1 class 2 bandwidth 20mbitset traffic­policy shaper shaper1 class 2 match client2 ip source address 10.0.1.2/32
set traffic­policy shaper shaper1 class 2 match client3 ip source address 10.0.1.3/32set interfaces ethernet eth0 traffic­policy out shaper1 commit

 


Viewing all articles
Browse latest Browse all 20028

Trending Articles



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