I’m doing the QOS using the PCQ but now I have two interfaces Local, a LAN (192.168.10.0/24) and another wireless Wlan (192.168.20.0/24).
for a single interface lan Applying this rule
queue tree add parent=Lan queue=pcq-download packet-mark=users
I want to know if I can have two parents for a single PCQ
and have this rule?
queue tree add parent=Lan queue=pcq-download packet-mark=users
queue tree add parent=Wlan queue=pcq-download packet-mark=users
Then i want to know if i have a mikrotik routerboard 433AH with a LAN=192.168.10.0/24 , and a WLAN=192.168.30.0/24
and WAN=41.223.X.X/30
this configuration for aqual bandwith with 2 local interface (local and wireless local) and one public interface (WAN)
/* MARK connexion and packet for interface lan /
ip firewall mangle add chain=forward src-address=192.168.10.0/24 action=mark-connection new-connection-mark=users-con
ip firewall mangle add connection-mark=users-con action=mark-packet new-packet-mark=users chain=forward
/ MARK connexion and packet for interface wlan /
ip firewall mangle add chain=forward src-address=192.168.30.0/24 action=mark-connection new-connection-mark=users-con
ip firewall mangle add connection-mark=users-con action=mark-packet new-packet-mark=users chain=forward
/ apply pcq-classifier for destination adress LAN and WLAN */
queue type add name=pcq-download kind=pcq pcq-classifier=dst-address
/* apply pcq-classifier for source adress LAN and WLAN /
queue type add name=pcq-upload kind=pcq pcq-classifier=src-address
/ create queue tree for LAN, WLAN and WAN */
queue tree add parent=Lan queue=pcq-download packet-mark=users
queue tree add parent=WLAN queue=pcq-download packet-mark=users
queue tree add parent=WAN queue=pcq-upload packet-mark=users
Queues can’t do that, though they will shape down equally between users when there are more users than bandwidth, it can’t exceed the specified rate when there is more bandwidth than the rate abilable.
First check the proper PCQ manual examples if its behavior doesn’t match what you’re trying to do, you are very unclear on explaining details of your scenario.