Page 1 of 1

queque trees..

Posted: Tue Oct 08, 2019 1:40 pm
by s0ll3kr4m
can you create 2 different global trees, for 2 different interfaces?
lets say the one tree has download and upload and it is for the WLAN the other tree has upload and download and it is for the ethe2.
is it possible?

Re: queque trees..

Posted: Wed Oct 09, 2019 11:56 am
by Steveocee
Yes.
It wouldn't be the "global" queue as such, you would just mark the packets in a different way ie in.interface=wlan1 etc.

Re: queque trees..

Posted: Wed Oct 09, 2019 12:48 pm
by pe1chl
queue trees have no download and upload, they have only upload. you only manage the speed at which packets go OUT the interface.
when you want to manage traffic for a single interface, you attach the queue tree to the outgoing interface, e.g. wlan1 or ether2.
that will manage the traffic towards those interfaces.
of course you can also have another queue tree towards the internet (WAN) interface, which manages the traffic in the other direction.
you could have different priorities for the traffic from different internal interfaces when you set the proper packet marks as Steveocee writes.

Using a "global" queue tree is only necessary when you want to manage the total traffic outbound to more than one interface.
E.g. you have 100 Mbps download from internet and you want to share that between wlan1 and ether2 without limiting either of them to a part of that total.
Then you can have a global tree that operates via marks set on traffic received from internet, and with a total limit at a bit less than 100 Mbit.