On Sun, 2011-11-20 at 13:10 -0600, Lloyd Standish wrote: > On Sun, 20 Nov 2011 12:44:46 -0600, Lloyd Standish <lloyd@xxxxxxxxxxxxx> wrote: > > > Hello All, > > > > While configuring a load-balancing router, I have run into trouble setting up traffic shaping (at least the load-balancing is working!) > > > > I am trying to: > > (1) limit total upload speed to somewhat below the interface bandwidth > > (2) do some traffic shaping, particularly avoid queuing of VOIP packets. > > > > To accomplish this I am trying to create a HTB qdisc on each outward-facing interface, each containing a PRIO qdisc with the default 3 classes. sfq qdiscs are created for each PRIO class. > > PS I should point out that in this case VOIP and DNS traffic should > always have priority, even at the expense of some bandwidth and/or > hurting other flows. In which case the prio qdisc is the right choice. > I will look for better ways to filter for VOIP traffic You might want to look at one of the traffic classifier projects such as opendpi or l7-filter. You could maybe set a mark value and match that using a tc filter with the "handle" parameter. Andy -- To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html