Zviad O. Giorgadze wrote:
# Put flow to corresponding classes
tc filter add dev eth0 protocol ip parent 1: u32 match ip dst 192.168.0.1 flowid
1:21
tc filter add dev eth0 protocol ip parent 1: u32 match ip dst 192.168.0.2 flowid
1:22
tc filter add dev eth0 protocol ip parent 1: u32 match
Does different rate / ceil for the root class make sense?
No.
Same for the classes attached to the root qdisc. They can not share
bandwidth. So your basi setup should be:
root htb qdisc
htb class with ceil = rate = link bandwidth
other classes
So following script is reccomended?
tc
[EMAIL PROTECTED] wrote:
Your gues is right. To get HTB work correctly you must know rate
parameter
for your connection also known as CIR.
Coud you tell what minimum rate your clients have?
My worst HTB class has rateceil 778bps.
I guess the lower the rate, the less accurate the
Hello,
does anybody have suggestions for queue lenght guidelines?
Is there a paper somewhere or any thoughts that have to be reconsidered.
Suggestions and impulses welcome
Alexander
___
LARTC mailing list / [EMAIL PROTECTED]
Szymon Miotk wrote:
Hi!
I have some problems with htb performance.
THE SETUP:
I have a network with 3 ISP uplinks and 1 local network uplink.
There are about 1700 clients.
I was shaping their bandwidth with HTB using iptables mangling in a manner:
tc class add dev $DEV parent 1:10 classid
[EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
Your gues is right. To get HTB work correctly you must know rate
parameter
for your connection also known as CIR.
Coud you tell what minimum rate your clients have?
My worst HTB class has rateceil 778bps.
I guess the lower the rate, the less
Theory is.. You can only shape outbound traffic.
Inbound is via tcp windowshaping etc..
In theory yes, but it is shaping inbound transfers to my server.
iptables -t mangle -A MYSHAPER-OUT -p tcp --sport 65437 -j MARK --set-mark 20
iptables -t mangle -A MYSHAPER-OUT -p tcp --sport 5:51000
Hello good day to all ... this is my setup
1 Linux Wireless Access Point, connected are 4
wireless gateway in which i needed to apply shaping
...
ok here is the weird part... clients on each gateway
download files from the Acess Point ... a 500 mb file
through ftp
on gateway 1 which is up to 64
On Fri, 2004-10-08 at 06:15, [EMAIL PROTECTED] wrote:
Theory is.. You can only shape outbound traffic.
Inbound is via tcp windowshaping etc..
In Linux or LARTC IIRC, it's called ingress filtering. There's also
GRED/RED etc.. but based on what I've read, it's all about dropping
packets.
TCP