Displaying 20 results from an estimated 10000 matches similar to: "HTB as a child of another HTB - doesn''t work"
2002 Oct 08
1
how can i choose HTB''s prio
HTB and imq was used to control traffic.
AC="tc class add dev eth0 parent"
$AC 1: classid 1:1 htb rate 100kbps burst 2k
$AC 1:2 classid 1:10 htb rate 50kbps ceil 100kbps
burst 2k prio 1
$AC 1:2 classid 1:11 htb rate 50kbps ceil 100kbps
burst 2k prio 2
$AC 1:2 classid 1:12 htb rate 50kbps ceil 100kbps
burst 2k
please tell me if i do not set prio, what is the
default prio? low delay class
2002 Sep 17
8
the range of HTB''s prio
HTB and imq was used to control traffic.
AC="tc class add dev eth0 parent"
$AC 1: classid 1:1 htb rate 100kbps burst 2k
$AC 1:2 classid 1:10 htb rate 50kbps ceil 100kbps
burst 2k prio 1
$AC 1:2 classid 1:11 htb rate 50kbps ceil 100kbps
burst 2k prio 1
please tell me the range of "prio"
_________________________________________________________
Do You Yahoo!?
新鲜到底,娱乐到家 -
2005 May 05
5
packet shaping bridge
Hi all,
I''m new to using iproute2 for traffic shaping but not new to Linux.
Essentially I have a WAN between two cities that I stream audio over for
rebroadcast. Since it''s all done live stability and prioritization is
critical in staying on air for our radio broadcasts.
My WAN is 1.5Mbit PVC within my provider''s infrastructure so I have an
unencrypted direct
2005 Jul 30
2
Qos wiht HTB for ADSL/Home
Hi,
My home setup is as following:
- 1024/128 kbit ADSL
- FC3
I set up HTB to prioritize traffic. I am not very pleased with the
obtained results.
The scope of my setup is to have some ssh sessions with remote servers
while browsing websites and running aMule Nothing complicated (I
think... ;).
The very high priority traffic (ssh), gets stuck when I start aMule and
make an FTP download.
2006 Sep 10
1
HTB and tc filter
Help me ...
I try use the tc filter, but seems he doesn''t work, I already
reconfigured my kernel ( 2.4.32 ) with all options related a QOS
enabled ( like modules ) and nothing happens. I get the tc tool from
HTB source package, well this is my set :
eth0 is my internal NIC.
tc qdisc add dev eth0 root handle 1: htb default 12
tc class add dev eth0 parent 1: classid 1:1 htb rate
2006 Sep 10
1
help with HTB and tc
Help me ...
I try use the tc filter, but seems he doesn''t work, I already
reconfigured my kernel ( 2.4.32 ) with all options related a QOS
enabled ( like modules ) and nothing happens. I get the tc tool from
HTB source package, well this is my set :
eth0 is my internal NIC.
tc qdisc add dev eth0 root handle 1: htb default 12
tc class add dev eth0 parent 1: classid 1:1 htb rate
2002 Jun 06
1
parameter of htb
tc qdisc add dev eth0 root handle 1: htb default 12
tc class add dev eth0 parent 1: classid 1:10 rate
30kbps ceil 100kbps burst 2k
tc class add dev eth0 parent 1: classid 1:11 rate
10kbps ceil 100kbps burst 2k
tc class add dev eth0 parent 1: classid 1:12 rate
60kbps ceil 100kbps burst 2k
tc filter add dev eth0 protocol ip parent 1:0 prio 1
u32 match ip src 172.16.11.2 flowid 1:10
i login
2007 Dec 04
2
Simple Example isnt working (ssh/bulk traffic)
Hi,
the script below should allow to get ssh connections running well while
downloading, but even the 100kbps (100kbyte/s?) doesnt work - can still
download with 500+kb/s. Whats wrong?
INTERFACE=eth0
#clear all on $INTERFACE
tc qdisc del dev $INTERFACE root
tc qdisc add dev $INTERFACE root handle 1:0 htb default 15
#root qdics, allows borrowing for its children
tc class add dev
2006 Feb 24
4
why isn''t 1:1 getting the traffic? [filter question]
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 2>&1
tc qdisc add dev eth0 handle 1: root htb default 2
tc class add dev eth0 classid 1:1 parent 1: htb rate
2005 Jun 18
6
htb child classes don''t borrow form "parent''s parent class" :(
Dear list,
I have the problem that child classes don''t seem to issue the parent
class to borrow from their parent.
This is a simplified version of my script:
tc qdisc del dev $DEV root
tc qdisc add dev $DEV root handle 1: htb default 10
tc class add dev $DEV parent 1: classid 1:1 htb rate 10mbit
tc class add dev $DEV parent 1:1 classid 1:10 htb rate 1kbit ceil
512kbit
#groups
tc
2006 Jun 26
4
Can i attach another qdisc under classes or root qdisc?
now, i''m learning and try to read a lot of article about tc command in linux for setting traffic shaper.
but i''m doubt about
In the theory about tc command ... In general, we define class under root qdisc
but Is it can be possible ???? If we define another qdisc under root qdisc, Can i do it?
because i have just read tc command syntax and i found this point ...
syntax: tc qdisc
2004 Jan 14
1
question about major:minor numbers
Hi,
the documentation says "[the major number of a class] must be unique
within a egress or ingress setup. The minor number must be unique within
a qdisc and his classes."
What is meant by "setup"? Does that include all qdiscs attached to any
network device? Ie, if I have a qdisc attached to eth0 and another
attached to eth1, do the major numbers I use have to be different at
2004 Nov 19
3
mixing u32 and fwmark
Hi!
There is one thing I can''t do. In my country we have to pay for
"foreign" internet. Local internet is cheap and fast, but foreign is
slow and expensive. So I want do following:
mark every packet with iptables, where --set-mark 1 for foreign
internet, but --set-mark 2 for local internet
next when I got all traffic marking, I need to assign traffic to users
so I make
2004 Nov 15
5
Packet loss with htb+sfq+l7filter
Hi all!
I''m trying to shape traffic in a dorm''s network (4 mbit symmetrical
internet link, about 200 computers, heavy p2p usage). The router is a
p4xeon running linux 2.6.9 with the qnet patches
(http://kem.p.lodz.pl/~peter/qnet/). When I activate ip_forward I get
>20% packet loss and a lot of duplicates. Any ideas? I attach my shaping
script.
Thank you very much in advance,
2003 Apr 09
1
HTB Question
Hi Stef,
Sorry to write to you directly but my list membership is not working, I
receive the archive but cant send to the list, cant delete myself because I
don''t exist and can''t rejoin as they say I do exist, anyway hope you don''t
mind
Can you tell me what the difference between these two scripts is please.
What I want to achieve is a high speed channel 1000kbit from
2007 Mar 15
1
Problem attaching htb class to a htb qdisc
I''m trying to build a QoS system that would divide the outgoing traffic
into four categories, each one also subdivided into two more categories.
For that I chose a htb root qdisc subdivided into four classes, each of
these classes contains also a htb qdisc. Until these point everything
goes well, but when I try to attach a new class to the leaf htb qdisc a
problem with the sintaxis
2003 Apr 28
2
cascaded HTB urgent question
Hi there,
I have a question with regards to cascading multiple HTB qdiscs. Assume
that I want to build the following hierarchy:
(qdisc htb 1:0) -> (class htb 1:1) -> (qdisc htb 2:0) -> (class htb 2:1)
-> (class htb 2:2)
I want to attache aggregate u32 filters at 1:0 for supernets, then at
2:0 (and 3:0, 4:0, etc), I attach the more specific u32 filters for say
HTTP and
2002 Aug 01
1
htb qdisc on top of htb
Hi
I tryed to use a htb qdisc/class on top of another htb qdisc/class as you
can see bellow:
#!/bin/bash
tc="/sbin/tc"
$tc qdisc del dev eth0 root
$tc qdisc add dev eth0 root handle 1: htb default 40
$tc class add dev eth0 parent 1: classid 1:1 htb rate 100Mbit burst 15k
$tc class add dev eth0 parent 1:1 classid 1:10 htb rate 50Mbit burst 15k
$tc class add dev eth0 parent 1:1 classid
2004 May 03
1
htb bandwith
Hi,
tc qdisc add dev eth0 root handle 1: htb
tc class add dev eth0 parent 1:0 classid 1:1 htb rate 2000Kbit ceil 2000kbit
tc class add dev eth0 parent 1:1 classid 1:2 htb rate 1200Kbit ceil 2000kbit
tc class add dev eth0parent 1:1 classid 1:3 htb rate 800Kbit ceil 2000kbit
tc class add dev eth0 parent 1:2 classid 1:21 htb rate 600Kbit ceil 2000kbit
tc class add dev eth0 parent 1:2
2004 Jan 11
1
HTB rates aren''t enforced correctly
Hi!
I recently changed my qdisc from CBQ and PRIO to only HTB, and I can''t
really seem to get the rates to work as I want them to. I have eight
classes, which I set up as follows:
tc qdisc add dev eth1 root handle 1: htb default 122
tc class add dev eth1 parent 1: classid 1:1 htb rate 1000kbit ceil 1000kbit cburst 1500 burst 50kb
tc class add dev eth1 parent 1:1 classid 1:11 htb prio 0