To restate this, using the code below, my queue works great when my uplink is on port 1 and the targeted MAC is connected to bridge2, using a NAT'd 172.17.1.0/24 address. When I keep the uplink the same and connect to port 5 (bridge1) using an uplink IP address, queuing does not apply. What I want to do is limit the bandwidth of the particular Mac, which I plan to have connected to bridge 1 on port 5. I have attempted toggling the use-ip-firewall, for I am not certain how that affects mangle. It made no difference. The relevant code is:
Code: Select all
/queue simple
add dst=172.17.1.0/24 name="No Throttle Local" target=172.17.1.0/24
add max-limit=700k/200k name=test packet-marks=target_device_1_packet target=\
bridge1 total-max-limit=800k
/ip firewall mangle
add chain=prerouting action=mark-connection new-connection-mark=target_device_1 passthrough=yes src-mac-address=00:18:6B:10:B0:A0
add chain=prerouting action=mark-packet new-packet-mark=target_device_1_packet passthrough=yes connection-mark=target_device_1
/interface bridge
add l2mtu=1598 name=bridge1
add name=bridge2 protocol-mode=none
/interface bridge port
add bridge=bridge2 interface=eth2
add bridge=bridge2 interface=eth3
add bridge=bridge2 interface=eth4
add bridge=bridge2 interface=wlan1
add bridge=bridge1 interface=eth5
add bridge=bridge1 interface=eth1
/interface bridge settings
set allow-fast-path=no use-ip-firewall=yes