Page 1 of 1

interface bandwidth limit

Posted: Tue Sep 10, 2019 3:36 pm
by kingkk110
Hello

I am trying to limit bandwidth on link interface.
Because all solutions on the forum for limiting interface didn't work, I am using the following script:
/interface bridge settings
set use-ip-firewall=yes use-ip-firewall-for-pppoe=yes
/ip firewall mangle
add action=mark-packet chain=prerouting new-packet-mark=winbox passthrough=yes port=8291 protocol=tcp
/interface bridge filter
add action=mark-packet chain=forward in-interface=vlan20 mac-protocol=pppoe new-packet-mark=pppoe-download
add action=mark-packet chain=forward in-interface=ether1 mac-protocol=pppoe new-packet-mark=pppoe-upload
/queue simple
add max-limit=3M/3M name=winbox packet-marks=winbox target=0.0.0.0/0
add max-limit=4M/4M name=download packet-marks=pppoe-download target=0.0.0.0/0
add max-limit=4M/4M name=upload packet-marks=pppoe-upload target=0.0.0.0/0
the problem is that it is not working well sometimes I will see 6 Mbps on the wds and vlan interface while only the ethernet interface is applying the queue correctly. Here are the illustrations:

Can anyone help please because bandwidth is still using the wireless interface more than the queue limit