I wonder if there shoud be src-address like in documentation or dst-address like in Eugene examples. What the difference between this examples.
Which examples is more efficient and better.
In documentaction is:
“At first, mark all traffic, coming from local network 192.168.0.0/24 with a mark users:”
follow on documentaction I wil do that:
now on documentaction is:
“Now we will add 2 new PCQ types. The first, called pcq-download will group all traffic by destination address. As we will attach this queue type to the Local interface, it will create a dynamic queue for each destination address (user) which is downloading to the network 192.168.0.0/24. The second type, called pcq-upload will group the traffic by source address. We will attach this queue to the Public interface so it will make one dynamic queue for each user who is uploading to Internet from the local network 192.168.0.0/24.”
/queue type add name=pcq-download kind=pcq pcq-classifier=dst-address
/queue type add name=pcq-upload kind=pcq pcq-classifier=src-address
AND NOW I HAVE TWO LAN INTERFACE AND TWO WAN INTERFACE
and I dont know “attach this queue type to the Local interface” in this rule :
/queue tree add parent=Local queue=pcq-download packet-mark=users
what should I put in parent options “… parent=LAN1,LAN2…??” this is not work
Maybe there is a different way to do that.
Maybe someone help me, becouse I waste a lot of time.