A quick little map how the “lab” is set up.
And the text over the clients is the goal, the red text are what is happening with the below config
I can get the “default policy” on OUTSIDE to get my upload to limit 100Mbit.
But I can’t get the CL10 to match the subnet…
interfaces {
ethernet eth0 {
address dhcp
description OUTSIDE
duplex auto
hw-id 52:54:00:ed:ee:f1
smp-affinity auto
speed auto
traffic-policy {
out EGRESS-LAB
}
}
ethernet eth1 {
address 172.25.1.1/24
description INSIDE
duplex auto
hw-id 52:54:00:cc:06:f7
smp-affinity auto
speed auto
}
loopback lo {
}
}
traffic-policy {
shaper EGRESS-LAB {
bandwidth 1gbit # Default bandwidth on the uplink
class 10 {
bandwidth 5mbit # A unique value to see of matched
burst 15kb
ceiling 2% # A unique value to see of matched
match CL10 {
ip {
source {
address 172.25.1.0/25 # Here I try to match the first subnet?
}
source {
}
}
}
queue-type fq-codel
}
default {
bandwidth 50mbit # A unique value just to see if I hit this default policy
burst 15kb
ceiling 10% # A unique value just to see if I hit this default policy
queue-type fq-codel
}
}
}
I know the bandwidth and ceiling values are wrong, but I used unique values just to see what I matched.
Any ideas what I am doing wrong
–
Regards Falk