Where do I set up QoS in my 3011?

I’ve searched here and Google and can’t seem to find any instructions on how to give one IP on my network priority to the WAN uplink.

Is there a simple way through the GUI to do this?

Sent from my XT1650 using Tapatalk

Have you looked at simple queues? It doesn’t get any simpler.

Regards,

Sent from my phone through Tapatalk. Sorry for the errors and the short responses.

You can try this script. It will setup QoS based on DSCP, honoring applications preferred DSCP packet marking.

#Set interface here
:local outboundInterface "wan0"

#Set bandwidth of the interface (remember, this is for OUTGOING)
:local interfaceBandwidth 4M

#Set where in the chain the packets should be mangled
:local mangleChain postrouting

#Don't mess with these. They set the parameters for what is to follow
:local queueName ("QoS_" . $outboundInterface)
:local qosClasses [:toarray "Network Control,Internetwork Control,Critical,Flash Override,Flash,Immedate,Priority,Routine"]

/ip firewall mangle add action=set-priority \
   chain=postrouting new-priority=from-dscp-high-3-bits \
   passthrough=yes comment="Respect DSCP tagging"
/ip firewall mangle add action=set-priority \
   chain=postrouting new-priority=2 packet-size=0-123 \
   passthrough=yes protocol=tcp tcp-flags=ack comment="Prioritize ACKs"
/ip firewall mangle add action=set-priority \
   chain=postrouting priority=0 dscp=0 new-priority=8  \
   passthrough=yes comment="Set Pri 8 on packets with no tag at all"


:for indexA from 0 to 7 do={
    /ip firewall mangle add action=mark-packet chain=$mangleChain comment=("pri_" . $indexA+1) \
         disabled=no priority=($indexA+1) new-packet-mark=("priority_" . $indexA+1) passthrough=no
}

/queue tree add max-limit=$interfaceBandwidth name=$queueName parent=$outboundInterface priority=1
:for indexA from=0 to=7 do={
   :local subClass ([:pick $qosClasses $indexA] )
   /queue tree add \ 
      name=($indexA+1 . ". " . $subClass . " - " . $outboundInterface ) \
      parent=$queueName \
      priority=($indexA+1) \
      queue=ethernet-default \
      packet-mark=("priority_" . $indexA+1) \
      comment=("Priority " . $indexA+1 . " traffic")
}

Is that what Mikrotik calls it? Didn’t know that. All routers I’ve delt with in the past called it QoS.

I’ll see if I can figure it out.

Sent from my XT1650 using Tapatalk

MikroTik more or less gives you 100% control over everything. So you have to implement QoS using a Queue Tree and Mangle Rules. Simple queues can work, but a Queue Tree/Mangle Rules will do the big work for you. With the RB3011, you have more then enough power to implement full DSCP. with the lower end routers, simple queues will keep the CPU load down.

Side note - Just noticed your username. KD6 is Southern California. I’m in Rancho Cucamonga - Scheduled to take the Technician test next month, then the General test this winter.

Very nice! I’m currently located in Ventura but will be relocating next month to Lake Elsinore. Got my Novice when I was a freshman in high school and my “Tech Plus” shortly after. Passed the 13 WPM Morse code test a year later but couldn’t master the General written. So I’m still a grandfathered tech plus.

Anyway, I’m going to the OC this afternoon for the weekend and will see if I can figure this out when I get home Sunday. I only have 12 Mbps upload and I recently installed a QNAP TS-1635 NAS. I also run a Plex server and want the Plex packets to have number one priority. If my buddy wants a file from the NAS he will take the entire 12 Meg and will wipe out any Plex streams. I don’t want that to happen.

Sent from my XT1650 using Tapatalk

Using that script will get you the framework that you need. Once you have that, you can add a few simple Mangle rules to mark the Plex video as a higher priority than the NAS file transfer. You will also want to keep the ACKs at a higher priority than the rest of the traffic.

I’ve never used scripts to do anything in these boxes. I assume I’ll used Putty or some other program to Telnet or SSH into the command interface. Beyond that I’m a complete amateur about this stuff.

Sent from my XT1650 using Tapatalk

You can use WinBox. Open System->Scripts, then create a new one. Paste the above script into the editor.