[LARTC] HTB question, tokens.

2007-06-15 Thread mark
Hi, What exactly are the "tokens"? I thought each token allowed the sending of one byte, that tokens are stored in a bucket that can hold a max of "burst" tokens, and that this bucket is filled with tokens at "rate". But theory does not seem to explain the "tc -s .." output in the examples belo

[LARTC] HTB question

2006-09-13 Thread doudouyam
Hi,I try to configure 3 HTB class with a rate near to zero and the ceil equal to the max of the bandwith. And I put prio parameter for each class.In this configuration, HTB is equivalent with Weighted Round Robin algorithm. Is it more correct to put the good rate for each class or to play with the

[LARTC] HTB Question

2004-01-15 Thread hare ram
Hi all i have installed the FEDORA and i saw the fedora ships with latest IP and TC and HTB too when i add the with TC Script with HTB iam getting that HTB version. HTB init, kernel part version 3.12 and iam comparing with my old version which is installed and patched with TC 3.6 patch that is o

Re: [LARTC] HTB question

2003-06-28 Thread Stoilis Giannis
Lars Landmark wrote: I have a question regarding how HTB choose to send a package when the rate is almost reached. What I would like to know, is how HTB solve this; The class rate has not yet been reached. When htb now dequeue the next package, rate would be crossed. The next package is sma

[LARTC] HTB question

2003-06-28 Thread Lars Landmark
I have a question regarding how HTB choose to send a package when the rate is almost reached. What I would like to know, is how HTB solve this; The class rate has not yet been reached. When htb now dequeue the next package, rate would be crossed. The next package is smaller than the quantu

Re: [LARTC] HTB Question...

2003-06-05 Thread Stef Coene
I deleted some parts of your previous mail. > tc filter add dev eth1 parent 1:1 protocol ip handle 10 fw classid 1:10 > iptables -A FORWARD -i eth0 -t mangle -s 192.168.193.10 -j MARK --set- > Chain FORWARD (policy ACCEPT 109K packets, 79M bytes) > pkts bytes target prot opt in out s

[LARTC] HTB Question...

2003-06-05 Thread TeraHz
htb script: #!/bin/bash tc qdisc del dev eth1 root handle 1: tc qdisc add dev eth1 root handle 1: htb default 12 tc class add dev eth1 parent 1: classid 1:1 htb rate 48kbps ceil 48kbps tc class add dev eth1 parent 1:1 classid 1:10 htb rate 4kbps ceil 48kbps tc class add dev eth1 parent 1:1 classid

Re: [LARTC] HTB question (problem with tc filter + NAT)

2003-06-03 Thread Stef Coene
On Monday 02 June 2003 12:35, TeraHz wrote: > I wan to share internet to these 12 PCs. But my traffic control is not > working. I'm using IP Masquerading to route internet to the LAN > > eth0 - LAN interface > eth1 - Internet interface > > I thing that this is wright but no! > I've changed FORWAR

Re: [LARTC] HTB question (problem with tc filter + NAT)

2003-06-02 Thread Daniel Ortiz
On Mon, Jun 02, 2003 at 01:35:31PM +0300, TeraHz wrote: > I wan to share internet to these 12 PCs. But my traffic control is not > working. I'm using IP Masquerading to route internet to the LAN > > eth0 - LAN interface > eth1 - Internet interface > > this is my firs htb script: > #!/bin/bash >

[LARTC] HTB question (problem with tc filter + NAT)

2003-06-02 Thread TeraHz
I wan to share internet to these 12 PCs. But my traffic control is not working. I'm using IP Masquerading to route internet to the LAN eth0 - LAN interface eth1 - Internet interface this is my firs htb script: #!/bin/bash tc qdisc del dev eth1 root handle 1: tc qdisc add dev eth1 root handle 1:

[LARTC] HTB question

2002-05-13 Thread Pavlos Parissis
Hello all, I have a small problem with HTB which i would like to share with the list. I have send tha same mail to Martin Devera and he replied but i would like to post my problem here in order to have more information,because i am new in this area of administration. I have the simplest scenario

Re: [LARTC] HTB question

2002-04-07 Thread Stef Coene
On Sunday 07 April 2002 17:09, Omer suat wrote: > Hi, > > I am new to tc, please forgive me for simple question. > > I have linux 2.4 in my routers, I would like to use HTB. I have downloaded > binary code from http://luxik.cdi.cz/~devik/qos/htb/#source, (tc.gz), but I > could not open the file. I

Re: [LARTC] HTB question

2002-04-07 Thread Martin Devera
don;tknow other place. Try to download with wget or lynx - netscappe | IE tries to be too smart sometimes. What says "file tc.gz" about downloaded file ? What is the size of the file ? devik On Sun, 7 Apr 2002, Omer suat wrote: > > Hi, > > I am new to tc, please forgive me for simple question.

[LARTC] HTB question

2002-04-07 Thread Omer suat
Hi, I am new to tc, please forgive me for simple question. I have linux 2.4 in my routers, I would like to use HTB. I have downloaded binary code from http://luxik.cdi.cz/~devik/qos/htb/#source, (tc.gz), but I could not open the file. Is there any other place I can get binary code for HTB. Also if