[LARTC] Need Clarification on TBF + (PRIO+SFQ)

2004-03-14 Thread Gerry Weaver
Hi All, I need help to understand the proper order to create qdiscs. I'm trying to do the following: 1. Use the TBF to slow a 100mb link to 3mb 2. Use PRIO to prioritize the traffic 3. Use SFQ to hand out bandwidth to each PRIO class fairly Here's my question. What order should the qdiscs be in?

[LARTC] PRIO qdisc class with PRIO qdisc child?

2004-03-14 Thread Gerry Weaver
Hello All, Can I have a PRIO qdisc as a child of a prio qdisc class? I need to prioritize on src ip and then by protocol within each class. Is this the way to accomplish this, or is there a better solution? Thanks in advance, Gerry --- Outgoing mail is certified Virus Free. Checked by AVG anti-vi

Re: [LARTC] Doubt on dsmark

2004-03-14 Thread Aravind babu
Hi,     Thanks for the reply. Aravind. Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more.

Re: [LARTC] Wondershaper breaks IPSec tunnels

2004-03-14 Thread Damion de Soto
Hi Jason, But isn't that where it would be if I did nothing to it? Only the really bad traffic gets put in 1:30, right? BTW, the middle class is 1:20, correct? Yeah, it is. I can't recall exactly why I did that, but it doesn't seem to make sense now. Oh, yes I can. I have other filters setup f

Re: [LARTC] Weird quirk with ingress policing

2004-03-14 Thread David McNab
Thanks for that Roy. I kind of gathered that there's no (sane) way to share bandwidth fairly amongst the connections matching an ingress policing filter, and your investigations have helped to confirm this. So what's working well for me, in the case of pyshaper, is to determine the number of c

RE: [LARTC] Setting up htb on 2.6.3

2004-03-14 Thread Kevin Withnall
DOH! Thanks for that, It was a cut-and-paste error I swear I read that thing 100 times and didn't see it... Thanks again. Regards Kevin -- Kevin Withnall - B Comp Sci, Master CNE, MCSE ILB Computing Pty. Ltd. Phone: +61 2 4227 Fax:+61 2 42270080 Email:[EMAIL PROTECTED] http://kevin

Re: [LARTC] Doubt on dsmark

2004-03-14 Thread Stef Coene
On Thursday 11 March 2004 14:40, Aravind babu wrote: > Hi all, > > Atlast i successfully marked IP packets with dsmark.I want to know > exactly in which place the dsmark will work? Suppose i have firewall on my > traffic control machine.I am curious to know whether marking is done before >

Re: [LARTC] Weird quirk with ingress policing

2004-03-14 Thread Roy
That is normal, policers do not share bandwich, they simply drop packets on match randomly. Probably you are already using index feature. I checked policer source code, and cant understand anything at all, probabaly everyhing is in other modules. >From that little what I could understand, seems th

[LARTC] Weird quirk with ingress policing

2004-03-14 Thread David McNab
Hi, I notice that if two or more existing connections match an ingress policing filter, the input bandwidth does not get evenly divided up between the n connections. Kinda like litters of baby animals, where the stronger babies get more access to the mothers teats and grow up bigger and faster

Re: [LARTC] Setting up htb on 2.6.3

2004-03-14 Thread Corey Hickey
Kevin Withnall wrote: > I think the kernel is fine. I received some patches and re-compiled > iproute2 on 2.4.20, moved the binaries to 2.6.3 and it works more.. > > Heres what happens now. > > #./qd > + tc qdisc del dev eth0 root > + tc qdisc del dev eth0 ingress > + tc qdisc add dev eth0 root h