Hi,
I am trying to limit both upload and download speeds for a specific host to 1Mbps. This is my configuration for rate-limiting using a firewall filter:
firewall {
family inet {
filter output-limit {
term 0 {
from {
source-address {
192.168.1.66/32;
}
}
then {
policer policer-1mb;
accept;
}
}
}
}
policer policer-1mb {
if-exceeding {
bandwidth-limit 1m;
burst-size-limit 625k;
}
then discard;
}
}
vlan {
unit 0 {
family inet {
filter {
input output-limit;
output output-limit;
}
address 192.168.1.1/24;
}
}
However, not only is the rate-limiting not working, it brings down the entire vlan.0. All the devices on the vlan loses connectivity, I can not even ping 192.168.1.1 anymore from any device on the vlan.
Can someone please tell me what I am doing wrong?
Thanks!