Bandwidth limiting per interface
Posted: Mon Apr 04, 2016 3:30 pm
Hi,
What are my options for limiting bandwidth per interface?
Scenario:
- RB2011UiAS, v.6.32.2
- ether1 & ether2 (links)
- bridge0 (ether3, ether4, ether5)
- DHCP relay on bridge0
- ports are not switched except those in bridge
I am able to limit egress traffic with a queue
But what about ingress?
My first try was:
This actually limits the client to 10MBps but a strange thing happens, it also limits all the ports on the same switch to 10MBps. This is very undesired.
I was also unable to set mangle rules for later processing on ether5 as it is slave of the bridge. I get the error: "in/out-interface matcher not possible when interface (ether5) is slave - use master instead (bridge0).
Any other ideas?
Thank you
What are my options for limiting bandwidth per interface?
Scenario:
- RB2011UiAS, v.6.32.2
- ether1 & ether2 (links)
- bridge0 (ether3, ether4, ether5)
- DHCP relay on bridge0
- ports are not switched except those in bridge
I am able to limit egress traffic with a queue
Code: Select all
/queue simple
add comment=Client limit-at=7680k/7680k max-limit=10240k/10240k name=queue1 priority=6/6 queue=default/default \
target=ether5 total-priority=6 total-queue=default
My first try was:
Code: Select all
/interface ethernet
set [ find default-name=ether5 ] bandwidth=unlimited/10M comment=Client
I was also unable to set mangle rules for later processing on ether5 as it is slave of the bridge. I get the error: "in/out-interface matcher not possible when interface (ether5) is slave - use master instead (bridge0).
Any other ideas?
Thank you