Re: [LARTC] HTB traffic shaping odd effects

2006-01-08 Thread Oliver Hookins
Andy Furniss wrote: Oliver Hookins wrote: Hi, I'm trying to perform some (what I consider) basic traffic shaping on our network utilising HTB. I have mostly reused the example on the lartc.org site: tc qdisc add dev eth0 root handle 1: htb default 10 tc class add dev eth0 parent 1: classid

Re: [LARTC] HTB traffic shaping odd effects

2006-01-08 Thread Andy Furniss
Oliver Hookins wrote: Denis Ovsienko wrote: tc qdisc add dev eth0 root handle 1: htb default 10 tc class add dev eth0 parent 1: classid 1:1 htb rate 100mbit burst 24k Does the following help? tc qdisc add dev eth0 root handle 1: htb default 1 tc class add dev eth0 parent 1: classid 1:1 htb r

Re: [LARTC] HTB traffic shaping odd effects

2006-01-08 Thread Andy Furniss
Oliver Hookins wrote: Hi, I'm trying to perform some (what I consider) basic traffic shaping on our network utilising HTB. I have mostly reused the example on the lartc.org site: tc qdisc add dev eth0 root handle 1: htb default 10 tc class add dev eth0 parent 1: classid 1:1 htb rate 100mbit

Re: [LARTC] HTB traffic shaping odd effects

2006-01-08 Thread Oliver Hookins
Denis Ovsienko wrote: tc qdisc add dev eth0 root handle 1: htb default 10 tc class add dev eth0 parent 1: classid 1:1 htb rate 100mbit burst 24k Does the following help? tc qdisc add dev eth0 root handle 1: htb default 1 tc class add dev eth0 parent 1: classid 1:1 htb rate 81mbit burst 24k Th

Re: [LARTC] Wondershaper and DSCP

2006-01-08 Thread Andy Furniss
Keith Mitchell wrote: Did anyone ever answer this one? THIS is what I am trying to do: [LARTC] cbq+sfq and DSCP marking I haven't used dscp but it looks like you need to add cbq below dsmark and then filter with tcindex see http://lartc.org/howto/lartc.adv-qdisc.dsmark.html Andy. __

Re: [LARTC] unexpected drop

2006-01-08 Thread Andy Furniss
Roberto Belletti wrote: Hello everybody, I have a Linux router with an ethernet adapter and a ADSL device. My router has a GRE tunnel connected to a remote IP address. Using "tc" I have configured 3 different classes: 1. 290kbit rate (used for Voip Services) 2. 180kbit rate (used for GRE tunne

Re: [LARTC] Sharing a DSL between 40 subnets with htb

2006-01-08 Thread Andy Furniss
Flemming Frandsen wrote: I have a network with around 40 /24 subnets that shares a common DSL, this cries out for shaping so here I am trying to make it work as my first tc project. I have managed to cargocult some snippets from this list and tried to come up with a config, but there are a fe

Re: [LARTC] Sharing a DSL between 40 subnets with htb

2006-01-08 Thread Flemming Frandsen
gypsy wrote: I recommend that you look here. It may not be what you want, but it certainly is worth checking out even if it turns out not to be your answer: http://www.shurdix.org/ I'm not going to change the entire OS just to get the traffic shaping set up and the traffic shaper in shuredi

[LARTC] HTB - not borrowing, not exceeding rate

2006-01-08 Thread Kajetan Staszkiewicz
Hello! I have a quite complicated setup. In my network on each interface there is bandwidth limitation for each user. Booth outgoing (on interface itself) and incoming (attached IMQ) traffic. There is main HTB class which limits bandwidth for whole interface and HTB subclasses for each user. Fi