Re: [LARTC] HTB: far unequal behaivor at a slight conf rate change [Solved]

2006-02-25 Thread Luciano Ruete
El Friday 24 February 2006 06:36, Andreas Klauer escribió: On Thu, Feb 23, 2006 at 11:42:16PM -0300, Luciano Ruete wrote: with vde_switch daemon listening in a tuntap device. I suppose that htb is device independet, i hope it does not matter. I don't have any experience with vde_switch and

Re: [LARTC] tc filter can target only leaf classes?

2006-02-25 Thread Andy Furniss
Andreas Hasenack wrote: (using htb) I'm trying to learn tc filter and it seems the flowid parameter can only point to leaf classes. Actually, it can point anywhere, but it doesn't seem to work unless it points to a leaf class. Is this correct? For example, I have this tree:

Re: [LARTC] why isn't 1:1 getting the traffic? [filter question]

2006-02-25 Thread Andy Furniss
Andreas Hasenack wrote: With the below script, whenever I ping 10.0.16.10 (which matches the only filter I have), traffic still get's sent to the default 1:2 class instead of 1:1 and I don't know why... Any hints? (kernel 2.6.12, iproute2-2.6.15) tc qdisc del dev eth0 root /dev/null 21 tc

Re: [LARTC] userlevel should not need to know about HZ?

2006-02-25 Thread Andy Furniss
Andreas Hasenack wrote: Em Qui 23 Fev 2006 19:47, Andreas Klauer escreveu: So, how do we reliably calculate the minimum value for buffer/burst/maxburts? Trial Error, not that I ever had much luck with TBF though... From my experiments, the minimum seems to be either MTU plus a few bytes

Re: [LARTC] Shaping by IP's

2006-02-25 Thread Andy Furniss
Laimis wrote: If in one time 3 IP adresses using internet. TC script: DEV=eth0 # LAN SERVER_IP=192.168.1.2 # eth0 ip address tc qdisc add dev $DEV root handle 1: htb default 255 tc class add dev $DEV parent 1: classid 1:1 htb rate 384Kbit quantum 1500 tc class add dev $DEV parent 1:1 classid

Re: [LARTC] Shared ADSL SHAPER

2006-02-25 Thread Andy Furniss
Rasmus Melgaard wrote: Hi, I'm trying to make a shaper / firewall to improve sharing of bandwidth on a ADSL (3mbit down / ½ mbit up) Since the ADSL is very asymmetric, down is unimportant, I make a ingress rate limit shaper to ensure, all shaping is at the Shaper, and not on the Router or

Re: [LARTC] QOS server droping packets 4% loss

2006-02-25 Thread Andy Furniss
Calin Ilis wrote: Hi all, I have a problem with htb and wonder if anybody has encountered this. On my LAN I have more than 1000 clients, and I am using htb to shape the incoming trafic. The problem is that I am experiencing packet loss (about 4%) in the qos server. The server is droping

Re: [LARTC] htb root don't reach ceil rate?

2006-02-25 Thread Andy Furniss
Markus Schulz wrote: Am Freitag, 10. Februar 2006 14:45 schrieb Markus Schulz: tc -s -d class show dev ppp0 class htb 1:1 root rate 576000bit ceil 576000bit burst 30Kb/8 mpu 0b overhead 0b cburst 1739b/8 mpu 0b overhead 14b level 7 Sent 1485575598 bytes 3140554 pkts (dropped 0, overlimits 0)

Re: [LARTC] htb root don't reach ceil rate?

2006-02-25 Thread Andy Furniss
ok, i've understand now. Differenz comes from gross versus net data rates due to overhead of ATM-SAR and pppoe-overhead. All statistic values are netto values. Yes - you can get patches to do egress overheads for dsl - if you know your exact type and are prepared to rebuild kernel or the

Re: [LARTC] invert u32 match selector

2006-02-25 Thread Andy Furniss
richard lucassen wrote: On Wed, 22 Feb 2006 11:43:40 +0200 Vaidas [EMAIL PROTECTED] wrote: With u32 you cannot negate, that's why it is lame... And why doesn't this work? (I send all port 80 to 1.2.3.4 to class 14 /before/ I send the rest to classid 13): $TC filter add dev ${DEV_IFB}

Re: [LARTC] Multiple providers routing

2006-02-25 Thread Martin A. Brown
Greetings Sameer, : I have a linux router connected to two separate internet : connection from an ISP. There is a third interface ( ip - : 192.168.1.1 ) in the router connected to the local network. : Configured the routing tables and added the rules and everything : seems to be working