In my company I have about 100 GRE tunnels off my head office ccr1036, one going to each branch. All branch traffic goes through those. Then my web proxy also uses the same internet connection to get data off the internet.
I want to make the proxy traffic lower priority than the 100 gre tunnels, and inside each tunnel I want to make the app traffic above anything else in the tunnel.
Should I set up one queue for each GRE tunnel, plus a queue for the proxy traffic or is there a better way?
Probably just one set of mangle rules and 2 htb rules. First mark the GRE connections and packets. Then create a queue tree with priority 1 and the amount of traffic you want to allocate from you total to GRE data and applied to the marked packets. For the rest another with priority 8 and fix a smaller amount of bandwidth to it.
Sent from my Nexus 4 using Tapatalk
thanks for that.
But when I make a queue tree I have inner queue and leaf queue.
The leaf queue would have the inner queue as parent, but what parent interface do i use for the inner queue? Would it be global? is that what global is for?
So would it be like this?
inner queue (parent=global)
leaf queue (parent=inner queue)
I guess inner queue’s parent would be the internet interface.
Yes. The parent sets the max values of the tree. The child’s receive from the parent accordingly. Remember that queues are from the router out perspective. So you will have one from router to LAN for download and another from router to WAN for uploads.
Sent from my Nexus 4 using Tapatalk
Thanks I eventually worked that out. And then simple queues must make a bunch of queue trees whereever they need to, to implement the requirement you specify. Its unfortunate that you cannot see what they have done.
So why would you use the global queue? I have not realised what this is for yet.