Displaying 20 results from an estimated 5000 matches similar to: "htb limiting trouble: no overlimit or dropped packets"
2004 Oct 21
2
how to read the stats
Hi
I have setup iproute2 and need a bit of help reading the stats from it
===== output
qdisc htb 1: r2q 10 default 20 direct_packets_stat 0 ver 3.17
 Sent 547326809 bytes 1342627 pkts (dropped 9303, overlimits 2817572
requeues 0) 
 backlog 46p 
qdisc sfq 10: limit 128p quantum 1514b flows 128/1024 perturb 10sec 
 Sent 41874343 bytes 730889 pkts (dropped 0, overlimits 0 requeues 0) 
qdisc sfq
2004 Aug 04
10
htb and fw problems
Dear All,
I''m using the kernel 2.6.6, iproute2-2.4.7.20020116, iptables v1.2.9, and gentoo.
I have a leased-line 64 kbps.
I can see the counter works in iptables, but in the htb, it doesn''t go to the right class (it always go to the default class).
Any help will be appreciated
here''s my htb conf
#!/bin/bash
tc qdisc del dev eth1 root
tc qdisc add dev eth1 root
2004 Jun 13
1
[Help] IMQ download traffic is duplicated !?
Hi,
I have a default class for my un-marked traffic (prio 5) and a prio 0 class for the important stuff,
but I do not understand why my download traffic is duplicated in both.
It work fine for my upload traffic (same setting except the red class but I have the same
result if I create an esfq instead).
Any comments/information will be appreciated.
Below my config :
tc commands from my scirpt :
2003 Jul 14
0
Why arent filteres working? (as I wanted)
Here goes the filter statements:
#Initializing traffic control...
tc qdisc add dev br0 root handle 1:0 htb
#Loading queue disciplines for plis230 network...
tc class add dev br0 parent 1:0 classid 1:1 htb rate 512kbit ceil 512kbit
#Loading queue disciplines for pmad048 network...
tc class add dev br0 parent 1:1 classid 1:20 htb rate 30kbit ceil 30kbit
#server queue
tc class add dev br0 parent
2004 Jul 28
3
Re: Re: HTB 3.13 please help
//Just to not forget eth0 is WAN and eth1 is LAN . The box is NATing my lan.
I configured tcng to shape both download and upload
and i got connection loss again.
Maybe it is my script fault or it is something bad with packets marking .
this is how i mark outgoing packets
iptables -t mangle -A MYSHAPER-OUT -p tcp -s 192.168.1.23 -j MARK --set-mark
$ip
and this part of my script which is intented
2002 Dec 04
3
HTB/IMQ troubles (probably)
Hello,
I use HTB with linux-2.4.20-ac1 and iptables-1.2.7a (pathced for IMQ).
I configured one HTB qdisc on an IMQ device. This qdisc has some classes
(about 5) and all of the classes has qdisc pfifo.
I sometimes got out from my linux (while I was working) and I found in
logs:
Dec  4 11:49:27 core kernel: HTB init, kernel part version 3.7
Dec  4 11:49:28 core kernel: HTB: quantum of class
2005 Apr 28
1
Packets Going to default class
Hi
I have tested with FC3 but iam not able get any good results on that.
in the list some one recomend me that  > 3.17 HTB should work
I saw latest FC4 test2 has the HTB 3.17 with iptables 1.3.0
i have install in my P4 box, and trying to test
when iam uploading its working perfect, but when iam downloading its going 
to default class
can some one experinced the same problem
below is the my
2005 Jan 27
3
negative tokens
I have this:
class htb 1:29 parent 1:1 prio 0 rate 3000bit ceil 100000bit burst
1599b cburst 1611b
 Sent 33233 bytes 772 pkts (dropped 0, overlimits 0)
 lended: 415 borrowed: 357 giants: 0
 tokens: -3756376 ctokens: 128779
or this:
class htb 1:21 parent 1:1 prio 0 rate 3000bit ceil 100000bit burst
1599b cburst 1611b
 Sent 57554 bytes 618 pkts (dropped 0, overlimits 0)
 lended: 193 borrowed: 425
2004 May 04
0
problem with wrong speeds
Hello everyone,
I just found very strange problem. I have a big class with 5500 KBit
bandwidth, and a lot of smaller for which this one is their parent.
Some of them are with rate 64 and ceil 1024 and other are with rate
256 and ceil pceil (5500). All filters are using mark from iptables.
The strange thing is that noone can get more of about 60% of its ceil
even if the parent class is almost
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
                       
2002 Oct 17
18
why dont packets go where i want?
Dear All!
I reach the point that I must ask you what I have to do. I am beginner at
traffic shaping and I''m very confused with it. :)
Here''s my script that doesn''t do what I want to do with it:
tc qdisc del dev eth1 root
tc qdisc add dev eth1 root handle 1 htb default 2 r2q 10
tc class add dev eth1 parent 1: classid 1:1 htb rate 300kbit
tc class add dev eth1 parent 1:
2007 Aug 29
11
tc not matching
Dear all,
I''m having real problems getting tc to do anything useful at all. I''m 
also under pressure to get this fixed before the students start arriving 
later this month (I work in a university).
In short, I want each IP address to be hard limited to 128kbit down, 
64kbit up, never to be allowed more bandwidth than this. It is also 
important that the latency remains
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
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:
2004 Apr 04
2
IMQ & NAT
Hi all, my IMQ device works OK (thanks to Andy Furniss), but now I''ve
problems to attach the traffic in the qdisc''s. This is my conf:
-----------------------------------------------------------------------
INET
 |
 |eth0  300Kbps
ROUTER (NAT)
 |eth1
 |
LAN
-----------------------------------------------------------------------
MAX=300
tc qdisc add dev imq0 root handle 1: htb
2005 Dec 27
9
2.6.14 - HTB/SFQ QoS broken?
Hello,
First of all, I already contacted Martin Devera, the developer of HTB, and
he told me to search for help on this mailinglist, thus I am describing
my problems here now...
I am kind of seriously annoyed by QoS as I have been trying for over 3 years
to get it working properly - first I did not understand how it works, then 
it seemed not to work, then it was working perfectly for half a
2006 Jan 06
6
HTB traffic shaping odd effects
Hi,
I''m trying to perform some (what I consider) basic traffic shaping on 
our network utilising HTB. I have mostly reused the example on the 
lartc.org site:
tc qdisc add dev eth0 root handle 1: htb default 10
tc class add dev eth0 parent 1: classid 1:1 htb rate 100mbit burst 24k
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 50mbit ceil
80mbit burst 19k
tc class add dev eth0
2003 Oct 27
4
Need help with HTB
Hello,
 1.
 I currently have a 128kbps cable link to the internet..and I''m sharing
 this connection with others.
 I''ve made the following script(for alocating bandwidth depending on the
 services used: browsing, squid, games like counter-strike, icmp, ssh),
 which unfortunately isn''t working very well  as the response times I''m
 getting upon pinging the server
2002 Aug 31
3
HTB shares equally when borrowing enabled :(
Hi,
I''m fighting seriously with a most simple HTB setup. I''d like to share 
the incoming 64kbps into 5 and 59 for two different machines under NAT. 
HTB seems to hold the required limits when ceil is not set  (no 
borrowing), but when borrowing enabled it seems to share equally rather 
then keeping the specified ratio.
My setup is below. A typical output of "tc -s -d qdisc
2006 Feb 28
10
Htb queueing problem
Hi everybody!
I''m using an edge bridge box with two ethernet cards to shape traffic in 
  a WAN link. I''m running Debian 3.1 stable with kernel 2.6.8 and 
iproute from packages. I recompiled the kernel with the following 
built-in options:
[*] 802.1d Ethernet Bridging
[*] QoS and/or fair queueing
<*>   HTB packet scheduler
<*>   SFQ queue
[*]   QoS support