Queue for target mac address

Hi Guys,
How can I set a queue for a target mac address?

i think is not possible, i wanted that too limiting queue in target mac… matbe some of mik user here has an idea if possible hehe :slight_smile:

Ok. can anyone tell me how to set queue for a target ip address?

heres my simple example a target ip

add burst-limit=1M/2M burst-threshold=256k/256k burst-time=15s/15s comment=“” direction=both
disabled=yes dst-address=0.0.0.0/0 interface=all limit-at=0/0 max-limit=256k/786k name=
“office queue” parent=none priority=8 queue=default-small/default-small target-addresses=
10.11.0.10 time=6h-18h,sun,mon,tue,wed,thu,fri,sat total-queue=default-small

:smiley:

In a mangle chain that happens before queues (prerouting?) mark the packets based on MAC address and fire the queue based on packet marks.

helo fewi i tried to mark the packets base on mac address but the packets doesn’t moving, where did i wrong this config?
actually this client mac address is under hotspot because his using portable router and the mac address is the WAN router mac.

2 ;;; mark rudnicki router
chain=prerouting action=mark-connection new-connection-mark=mark_rudnicki_router passthrough=yes
src-address-list=00:11:6B:19:BC:A9

3 chain=prerouting action=mark-packet new-packet-mark=mark_router_levelone passthrough=yes
connection-mark=mark_rudnicki_router

and for queue

name=“mark rudnicki router” dst-address=0.0.0.0/0 interface=all parent=none
packet-marks=mark_router_levelone direction=both priority=8 queue=default-small/default-small
limit-at=0/0 max-limit=128k/512k burst-limit=128k/1M burst-threshold=128k/256k burst-time=15s/15s
total-queue=default-small

thanks

You’re marking based on a non-existent IP address list named 00:11:6B:19:BC:A9. That makes no sense. Use ‘src-mac-address=00:11:6B:19:BC:A9’ instead of ‘src-address-list=00:11:6B:19:BC:A9’.

it works now

thanks