QOS and Packet Marking

I am marking all packets with a source or destination port of 3389(rdp)
Then I went into the queues and created a new queue that checks for the RDP packet. I see RDP connections but no traffic going through the RDP queue. I have 5 other types of packets I am marking and all of the other ones work. Do I have to restart or do anything before traffic should start showing up in that queue.

Here is the packet Mark

Chain = prerouting
Src Address = 192.168.0.0/16
Dst Address = 192.168.0.0/16
protocol 6(tcp)
Src Port = 3389
Action = mark packet
New Packet Mark = RDP

Chain = prerouting
Src Address = 192.168.0.0/16
Dst Address = 192.168.0.0/16
protocol 6(tcp)
DST Port = 3389
Action = mark packet
New Packet Mark = RDP

Queue General Tab
Name = RDP
Max Limit = 1200K for both download and upload

Queue Advanced Tab
Packet Marks = RDP
Interfaces = all

I belive there is an error in your marking config. If you specify Src Address = 192.168.0.0/16 and Dst Address = 192.168.0.0/16 then no packet will be marked, as packets with src AND dst address 192.168.0.0/16 won’t go thru router. They will communicate directly. Only if all conditions within one rule are TRUE the rule is applied. That’s how I understand it, please correct me if I’m wrong.

Regards,
Krzysztof

  1. you can use only one rule with any-port instead of two (src-port and dst-port)
  2. post the export of your queue config otherwise we cannot well understand

How do i do the export of the queue I am not a pro at these routers.

Open terminal then type

/queue export

and paste output there.

[admin@Lawrenceville] > /queue export

apr/06/1970 09:58:38 by RouterOS 3.15

software id = Y3E8-PTT

/queue type
set default kind=sfq name=default sfq-allot=1514 sfq-perturb=5
set ethernet-default kind=sfq name=ethernet-default sfq-allot=1514
sfq-perturb=5
set wireless-default kind=sfq name=wireless-default sfq-allot=1514
sfq-perturb=5
set synchronous-default kind=red name=synchronous-default red-avg-packet=1000
red-burst=20 red-limit=60 red-max-threshold=50 red-min-threshold=10
set hotspot-default kind=sfq name=hotspot-default sfq-allot=1514 sfq-perturb=
5
set default-small kind=sfq name=default-small sfq-allot=1514 sfq-perturb=5
/queue simple
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=""
direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=
0/0 max-limit=1500000/1500000 name=parent parent=none priority=8 queue=
default-small/default-small target-addresses=192.168.5.0/24 total-queue=
default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=""
direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=
1500000/1500000 max-limit=1500000/1500000 name=VoIP packet-marks=VoIP
parent=parent priority=1 queue=default/default total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=""
direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=
0/0 max-limit=1050000/1050000 name="Other Net" parent=parent priority=8
queue=default/default total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=""
direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=
0/0 max-limit=0/0 name=Web packet-marks=Web parent="Other Net" priority=5
queue=default/default total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=""
direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=
0/0 max-limit=0/0 name=SMB packet-marks=SMB parent="Other Net" priority=8
queue=default/default total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=""
direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=
0/0 max-limit=0/0 name=Mail packet-marks=email parent="Other Net"
priority=8 queue=default/default total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=""
direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=
0/0 max-limit=0/0 name="Other Net Traffic" packet-marks=
"Other Net Traffic" parent="Other Net" priority=8 queue=default/default
total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=""
direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=
0/0 max-limit=1200000/1200000 name=RDP packet-marks=RDP parent=parent
priority=5 queue=default/default total-queue=default-small
/queue interface
set ether1 queue=ethernet-default
set ether2 queue=ethernet-default
set ether3 queue=ethernet-default
set pptp-northbrook queue=default
set pptp-columbus queue=default
[admin@Lawrenceville] >

Basically I just want to prioritize RDP traffic these routers make that seem difficult maybe its because they dont work like any router i have configured.

any ideas?

Does counters in the queues statistics shows any traffic?