Displaying 20 results from an estimated 11000 matches similar to: "How to set HTB correct ?"
2007 Aug 19
0
HTB qdisc within HTB root qdisc
Hello...
Im trying to setup HTB to allow me to shape traffic from two upstreams
that meets on single lan0 interface. I prefer to use HTB qdisc
within HTB root qdisc for cleaner rules design.
Seems that it doesnt work at all. tc -s class show doesnt
show any traffic on other classes attached to HTB qdisc.
Linux 2.6.20.7
iproute-2.6.20-070313
Weird thing is that tc -s class show that 1: and 2:
2005 Oct 06
1
HTB problem running on VLAN, not working
Hello.
I''m running linux box with Slackware 9.1 and compiled kernel 2.4.31 with "yes" to VLANs and "yes" to all QoS.
On this box i have more ethernet interfaces:
eth0
eth1
eth2
and so as more vlan interfaces:
eth0.100
eth1.3
eth1.4
This is entrace(uplink) router to our whole network and my goal is to shape users on this machine.
I want for this purpose use HTB so
2007 Apr 26
1
HTB+SFQ
Hi folks,
I`ve a problem to use HTB and SFQ.
The first script, below, to show a simple configuration, does work
fine...!!!
But, in the second example, does not work, becouse i put more code to
clasify the traffic by protocol, http and ftp in this case.
Somebody can tell me the errors?
Thx, in advance.-
NOTICE: IMQ device is to asociate with ETH1 my external iface.
SCRIPT que funciona:
2005 May 12
0
HTB and IPv6
Hi,
I''m trying to use HTB for IPv6 packets. In the LARTC archive I found a
thread on this issue where a solution was described. The idea is to mark
a user-defined chain then use the fwmark for filtering. However my
attempt wasn''t successful. I''m thinking of trying my luck with the u32
filter. This is what I did, any comment is greatly appreciated. Thank
you all.
tc
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
2005 Jul 08
5
HTB Rate and Prio
Hi,
I wanted to implement some QOS on my Linux Box with HTB, but after some time
spend
on the configuration and tests, I still don''t manage to have some correct
results. Here are the details :
-ROOT 2000 kbits
-HIGHPRIO SUBCLASS 50 kbits prio 0
-SUBCLASS1 750 kbits prio 1
-SERVICE1 250 kbits prio 1
2003 Jun 12
11
htb problem
Hi,
I have some interesting problem with htb , I set up root class and
sub-classess:
$TC qdisc add dev eth0 root handle 1: htb
$TC class add dev eth0 parent 1: classid 1:1 htb rate 1990kbit ceil 2000kbit
$TC class add dev eth0 parent 1:1 classid 1:10 htb rate 190kbit ceil 200kbit
$TC class add dev eth0 parent 1:1 classid 1:11 htb rate 1400kbit ceil
1600kbit
$TC class add dev eth0 parent 1:1
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
2005 May 08
1
tc/htb QoS script
hello folks,
this is my first post to that list. so I hope I am not completely OT
here :-)
reading the (excellent!) lartc and then writing my own qos-script I have
still some open questions which I will try to formulate now:
- "Now we can optionally attach queuing disciplines to the leaf classes.
If none is specified the default is pfifo." - I can''t find info about
Pfifo.
2004 Oct 12
0
ssh and cs LAG
I have htb on 486 sx with 16mb ram. Slackware 9.1. Connection : dsl 1Mbit.
486 works as router and trafic shaper for network made of 12 pc''s. it
does the job quite well, but when i play Counter-Strike or connect to my
486 via ssh (on lan), i get huge lag every 11-20 sec. when i connect to
486 via ssh and run iptraf program i see all the trafic, and after a
while when lag comes the
2004 Jul 09
3
tc filter + bridging + htb -- works only if ip_forward = 0
I thought that the below email would be of interest to LARTC readers. I
wasted quite a bit of time tracking down this "feature" (bug?). Any
comments that shed light on this would be appreciated. In short, "tc
filter" + htb + bridging works only with ip_forward off.
Andrew Athan
-----------------------------------------------------------------------
All:
It seems that
2006 Apr 11
0
Htb queueing problem
A note to confirm that "-m physdev --physdev-is-bridged" in the iptables
command does enable iptables to work in a bridged environment. I was
fighting the same problem and this indeed solved it.
Below is my test script running on a two NIC Debian 3.1 266MHz bridge.
Before adding the physdev flag, only the "tc filter" commands worked but
now the iptables commands also
2002 Dec 09
3
HTB problems
Hello,
I have HTB on IMQ device. My rate does not work as I configured. I
configured 1920kbit/s and I can download only about 290kbit/s (while it
should be the whole bandwidth).
My script:
/sbin/modprobe imq numdevs=1
/usr/local/sbin/tc qdisc del dev imq0 root 2> /dev/null > /dev/null
/usr/local/sbin/tc qdisc del dev imq0 ingress 2> /dev/null > /dev/null
/sbin/ifconfig imq0 down
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
2004 Oct 06
5
What is the reccomended minimum rate for leaf htb class for accurate operation?
Hi,
I''m trying to setup QoS in my TSL box. Following to mailing list reccomendations I changed PSCHED_CPU but can''t get accurate shaping with HTB. I have disabled HYSTERESIS also (by setting it to 0).
I have Intel Celeron 1.8Mhz (TSC supported I think).
******** My script ******
tc qdisc add dev eth0 root handle 1: htb default 22 r2q 10
# Class corresponding interface
2006 Jan 13
0
HTB not shaping correctly ? (or bad scripts...)
Hello to everybody,
We have an ADSL link with uplink speed of 530kbit, the goal is to divide the
traffic into three classes,
let say A, B and C.
A data rate of 240kbps must be guaratee to class A.
The remaing rate must be assigned: at least 180kbit to class B and at least
80kbit to class C.
The unused band of class A must be given to class B and C (if needed)
The unused band of class B must be
2007 Apr 28
2
Re: LARTC Digest, Vol 26, Issue 24
Alejandro,
So, i did try the script that you give to me, and the problems its
continues.-
Maybe the problem was in the IPTABLES rules, i attach the complete script
below:
#####################
ifconfig imq0 up
tc qdisc add dev imq0 handle 1: root htb default 30
tc class add dev imq0 parent 1: classid 1:1 htb rate 500kbit ceil 2000kbit
tc class add dev imq0 parent 1:1 classid 1:10 htb rate
2005 Apr 26
8
HTB Weird Shaping Question(Bug?). Please Help!
Hi all,
I have a script that allocates an ADSL(1500K/256K) bandwidth to three
users.
My idea is to allow each user having a guarentee rate, while each one is
allowed to burst to the max rate while no one is using the bandwidth.
I use imq0 for uplink (for some mobility reason) and imq1 for downlink.
Everything works smoothly except for VoIP traffic.
There are three VoIP phones attached to a
2007 May 07
0
Strange problem with HTB
Hi list,
I''ve got quite a strange problem with htb. I have following
configuration: dual core athlon, two intel e1000 nics - eth1 is
connected to lan and has private ip, eth0 is connected to our isp and
has public ip (so there''s nat on eth0). There is practically same htb
configuration on both interfaces, only the filters are different. On
eth1, packets are classified by their