Community discussions

MikroTik App
 
atut
just joined
Topic Author
Posts: 17
Joined: Fri May 30, 2008 12:43 pm

[ASK] mangle and queue tree

Wed Aug 29, 2012 1:21 pm

Hi, I am now setting up bandwidth limiter / traffic shaping... I am now confused with parent in queue tree
I need explanation

I see many people using this:

/queue tree add name=down parent=local queue=default
local means local interface for clients
this queue is for downlink, why does parent is set to local? what does it mean?
what if I set parent to public?
it means downlink packet flow comes from public, but why set to local?

/queue tree add name=up parent=global-in queue=default
this queue is for uplink, why does parent is set to global-in? what does it mean?
what if I set parent to public?
it means uplink packet flow go to public, it is supposed to set to public, but why global-in? what does it mean?

many thanks...
 
atut
just joined
Topic Author
Posts: 17
Joined: Fri May 30, 2008 12:43 pm

Re: [ASK] mangle and queue tree

Thu Aug 30, 2012 9:52 am

I found this 2 tutorials using different parent on the same purpose (limiting bandwidth uplink & downlink)

Below this, downlink parent global-out, uplink parent public
Queue Tree Setup
And now, the queue tree setting. We need one rule for downlink and one rule for uplink. Be
careful when choosing the parent. for downlink traffic, we use parent “global-out”, because we
have two or more downloading interfaces. And for uplink, we are using parent “public”, we want
QoS uplink traffic. (I’m using pcq-up and download from manual) This example is for 2Mb/1Mb
And below this, downlink parent lan, uplink parent global-in
Queue Tree Setup
And now, the queue tree setting. We need one rule for downlink and one rule for uplink. Be
careful when choosing the parent. for downlink traffic, we use parent “lan”, the interface name
for local network. And for uplink, we are using parent “global-in”.
Which is right? When is the proper used of global-in/global-out, lan/public?