Mon Apr 11, 2016 10:25 pm
I've never "tried" this, but I can say that managing downstream bandwidth with a queue/queue tree is going to be very difficult to do well.
Upstream queueing for QoS purposes should be doable, because each WAN interface should have its own dedicated queue tree, and it will be easy to set the correct bandwidth on each tree, but downstream is going to be strange.
I would think that you would need to make a queue tree for downstream which has a parent of the HTB, with no bandwidth limit or else some number that's greater than the sum of both Internet links. Then you'll need a child queue for each ISP link you have. Then you'll need priority/non-priority child queues for each "isp queue" - it is the ISP queues that will need the correct bandwidth set for each provider's actual value.
When you set up packet marking, you'll need to do packet marks such as voip1, voip2, besteffort1, besteffort2, etc. And make the voip priority queue that is parented to isp1 queue match the voip1 packet marks.
As long as the two downstream amounts don't total more than the bandwidth of your actual LAN interface, then you should have no troubles.