Hi, is there a document somewhere that I can read and understand about
the mechanism for Traffic Shaper? Or if someone can verify whether my
concept is right:
 
1. Before anything can be defined, we must first define a pair of Parent
Queues, one for download speed and one for upload speed. Multiple Parent
Queues can be defined on the system as well.
 
2. The we should define multiple traffic queues that belongs to a Parent
Queue. It only make sense to always create a pair of queues instead of
one. Correct?
 
3. Then, allocate bandwidth to the "Daughter" queues, either by
percentage of the Parent Queue's bandwidth, or an absolute figure (in
Kbps, Mbps & etc). If the absolute bandwidth is higher than the Parent's
bandwidth, the "Daughter" queue's will override the Parent Queue's.
Correct?
 
4. When defining the traffic queues, there is an option to check the box
"Default queue". If this box is checked, all unclassified traffic by the
rules will be put on this queue. Correct?
 
5. If I use the Wizard to create a set of rules and queues, I realized
that there was always a pair of rules defined for the same protocol,
LAN->WAN and WAN->LAN. I also realized that in each rule definition,
there is an option to specify the "Direction", "any", "in" and "out".
Isn't that Direction = "any" already take care of LAN->WAN and WAN->LAN,
why is there a need to create a pair of rules?
 
6. In a rule definition, suppose that the "In Interface" is LAN and "Out
Interface" is WAN, the Inbound Queue in "Target" holds the inbound
traffic to the LAN interface whereas the Outbound Queue holds the
outbound traffic from the WAN interface, provided that the rule is
matched. Correct? How does the "Direction" field affects of which queue
the traffic will be queued then?
 
7. While the Traffic Queues defined in "Queues" section (qlandef,
qwandef & etc) are logical queues that control the speed and priority,
the "Outbound Queue" and "Inbound Queue" in traffic shaper rule
definition refers to the physical "memory buffer" queue, correct?
 
8. For any pair of rule (LAN->WAN and WAN->LAN), if I change the "LAN"
to "PPTP" and leave everythings else as it is, I always receive errors.
Is there a reason why?
 
Thank you!

Reply via email to