this router has 2 internal connections, 1 for my main network (eth0 in this example) and 1 for a public wifi network (eth1). They both are on different subnets. What I would like to do is prioritize the main network over the wifi one, such that it gets precedence. But it sounds like this isn't something that the prio option of htb can do...
Optionally, I was thinking about setting a minimum rate to be very low on the wifi network, like this:
Code:
tc qdisc add dev eth1 root handle 1: htb default 1
tc class add dev eth1 parent 1: classid 1:1 htb rate 1mbit ceil 12.5mbit burst 5k
thinking that, if eth0 is saturating the download, eth1 will be reduced to 1mbit... but this doesn't work either. essentially I want these 2 interfaces to "draw" from the same HTB rate pool, if that makes any sense...